Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 4,782
» Latest member: MichaelDak
» Forum threads: 7,595
» Forum posts: 41,398

Full Statistics

Latest Threads
Is there any version wher...
Forum: Older Gimp versions (2.8, 2.6....)
Last Post: rich2005
59 minutes ago
» Replies: 1
» Views: 199
How do I uninstall GIMP 3...
Forum: Linux and other Unixen
Last Post: Ofnuts
1 hour ago
» Replies: 1
» Views: 50
AI Gimp Plugins
Forum: Watercooler
Last Post: merlilderman
Yesterday, 04:16 PM
» Replies: 21
» Views: 68,163
How to make a watermark o...
Forum: General questions
Last Post: kyolim
09-13-2025, 10:05 PM
» Replies: 5
» Views: 14,162
Linux command that does e...
Forum: Other graphics software
Last Post: rich2005
09-13-2025, 06:06 PM
» Replies: 1
» Views: 469
reliable Gimp 2.10.38 dow...
Forum: Older Gimp versions (2.8, 2.6....)
Last Post: denzjos
09-13-2025, 05:20 PM
» Replies: 2
» Views: 372
Batch Color Saturation
Forum: Extending the GIMP
Last Post: rich2005
09-13-2025, 07:53 AM
» Replies: 15
» Views: 12,053
Photo play-time
Forum: Gallery
Last Post: Ofnuts
09-13-2025, 07:32 AM
» Replies: 24
» Views: 21,889
BIMP plugin for GIMP 3.10
Forum: Extending the GIMP
Last Post: firefly
09-12-2025, 11:53 PM
» Replies: 2
» Views: 723
pl_stroke_arrows GIMP 3.0...
Forum: Extending the GIMP
Last Post: Scallact
09-12-2025, 04:03 PM
» Replies: 0
» Views: 373

 
  Merging images, applying color saving in color and in black & white?
Posted by: tudvari - 03-30-2021, 05:12 AM - Forum: Scripting questions - Replies (6)

I'm making achievements for my game, and I would like to make an automated process to save a lot of time instead of doing it manually.

So I'd like to make a GIMP script doing this for me Big Grin But I'm complete noobie with it. Could you help me please?

The inputs of this process would be

  • one rectangular opaque background image (i.e. 200x200 PNG)
  • Color A, (i.e. in hex)
  • Color B, (i.e. in hex)
  • and multiple same sized, rectangular, transparent foreground images. (i.e. 200x200 PNG)

And the process would do this for every foreground image:
  1.  Start with the background image.
  2.  Merge the foreground image with Color A filter applied, and also with an offset from the middle.
  3.  Merge the foreground image with Color B filter applied, in the middle.
  4.  Save the result in a file.
  5.  Apply a black & white filter and save the result in a file.
So the output would be for example multiple 200x200 PNG images, each of it having a colored and a black & white version

Could you help me please? Smile

Print this item

  Help unable To open Xcf pdf png jpg or save any files to disk???
Posted by: andrew2068 - 03-30-2021, 12:44 AM - Forum: General questions - Replies (1)

I tried printing something i was working on when gimp print window stopped responding.  I restarted gimp and now I cant open any file in gimp  including xcf files. 
 this is what it says when i try to open  any xcf file. 

 Opening 'C:\Users\leeho\OneDrive\Pictures\CATOLOG CONES PAGE.xcf' failed:

GIMP XCF image plug-in could not open image

 jpgs. :
Opening 'C:\Users\leeho\OneDrive\Pictures\catolog vents page.jpg' failed:

JPEG image plug-in could not open image

pdf: 
Opening 'C:\Users\leeho\OneDrive\Pictures\CATOLOG vents PAGE.pdf' failed:

Could not load 'C:\Users\leeho\OneDrive\Pictures\CATOLOG vents PAGE.pdf': PDF document is damaged


it seems every file I worked on  with gimp no mater the format it was saved in will no longer open.  I tried sending to a flash drive so i could open it on another computer  but  I keep getting an error  " cloud file provider not running"     I even tried opening older files built using gimp on a different machine and transferred to this one via flash drive this is the notice  i receive:
Hmmm… can't reach this page
It looks like the webpage at file:///C:/Users/leeho/OneDrive/Pictures/CATOLOG%20CONES%20PAGE.pdf might be having issues, or it may have moved permanently to a new web address.
ERR_FAILED

I tried Updating,  uninstalling and reinstalling  ect.  nothing!   please help

Print this item

  Exif, XMP, IPTC
Posted by: meetdilip - 03-27-2021, 05:24 PM - Forum: General questions - Replies (3)

Exif, XMP, IPTC

What are these values which prompt to get added to when exporting a file as PNG ? Is it safe to keep them ticked ? Any private info will be added ? Thanks.

Print this item

  Automatically converting new tiff to jpg
Posted by: schuttp - 03-27-2021, 04:25 PM - Forum: Extending the GIMP - Replies (1)

Hi Everyone!

I work for a museum, Sharlot Hall Museum, which has a large archive of historical photos stored in tiff format and we want to be able to convert them "on the fly" to .jpg format while at the same time adding a watermark that protects our copyright on the images.  Is it possible to create a script on our Windows Domain Server, or could be on a dedicated PC as well, that would automatically convert a any new new tiff files to a jpg and save it in another folder?  

Thanks for your assistance!

Patrick

Print this item

  Reproduce a cover page
Posted by: Missidi971 - 03-27-2021, 04:20 PM - Forum: General questions - Replies (4)

Hello !
 
I am trying to reproduce a cover page, in order to have a clean and crisp effect and replace the one I tore. When printing the copy I own, the image is quite faint with no glow.

Is this feasible or impossible for a beginner?
 
I tried GIMP, but it's quite complicated to understand.
I put you a piece of the cover page in picture, in order to have an idea

Thanks
 
[Image: CKwtDQuWcAAOrWc?format=jpg&name=small]

Print this item

  vector issue
Posted by: loolaeel - 03-27-2021, 01:50 PM - Forum: General questions - Replies (1)

hi everyone, hope you are well. Im importing a vector on path onto a layer that is 3000 by 800. Howeever the vector seems stretched and lying flat. I tried using 3d transform and perspective but Im messing the shape up. Is there a better way to resize the shape better? Thank you



Attached Files Thumbnail(s)
   
Print this item

  Set layer color based on other layers
Posted by: Hellcolik - 03-27-2021, 12:04 PM - Forum: General questions - Replies (3)

Hello, this is my first post here ; I'm wondering what are the limits of Gimp without using external python scripts.

I have two layers in a project:

  • the back layer is a picture on which I applied a Gaussian blur filter ;
  • the front layer in only a text.
I would like the text layer to change depending on where it is above the back layer. For instance, I would like to order it : "to set the color of this pixel of yours, look at the color of the pixels on the layer behind you, centered at the same location, take the negative of that color and apply it to yourself".

What are the tools/menus I need to be familiar with in order to perform such a task? I would be able to do this with a python script however, I only want to use Gimp.

Thanks in advance, I'm looking forward to reading your answers.

Print this item

  How to prevent GIMP from rearranging colour map?
Posted by: Malvineous - 03-26-2021, 11:12 AM - Forum: General questions - Replies (2)

Hi all,

I have a 256-colour indexed image I generated with a program I am working on.  I want to load it in GIMP, modify a few pixels, and then save it again.

However when I do this, GIMP rearranges the colour map, swapping entries 0 and 1.  When I read the image back with my program, these two colours appear wrong as they are supposed to match an existing external palette.

If I use the "Colors | Map | Rearrange Colormap" option to swap entries 0 and 1 to put them back in their original order, when I save the file and reload it I find that GIMP has put them back the wrong way around.

If I load and save the file with the colours the wrong way around GIMP leaves them alone!

I cannot work out how to get GIMP to save the file without rearranging the palette.

Am I doing something wrong?  I'm using GIMP 2.10.22 and this is the file I am trying to edit.  Entry 0 is meant to be black and entry 1 is meant to be dark blue, which is shown when the image is first loaded, but it seems impossible to save the image like this, with black as 0 and blue as 1.

Any suggestions would be appreciated!

Print this item

  Warping a path
Posted by: Ottia Tuota - 03-25-2021, 08:02 AM - Forum: Extending the GIMP - Replies (6)

I got the idea to try to implement warping of paths, similar to Gimp's tool Warp Transform on images. I show now what I managed to make. Not quite similar but close.

See the picture below. The grid is actually the path that I warp. I use this path in this example since it shows the effects best. The warping is done inside a given circle, so that it is a local operation. The plugin has three modes of action: Grow, Shrink, and Swirl (counter-clockwise or clockwise). The picture shows an example of each, applied to the grid path:

   

The blue circles do not belong to the transformed path; they are here just to show the circles of action. The circle is input by the user as a 2-anchors path (meaning either a diameter or the center and one point on the circle).

The plugin has two parameters: Smoothing and Strength. Smoothing controls what happens at the edge of the circle. If Smoothing = 0, there will be sharp bends like in the picture above. When Smoothing > 0, the bends are rounded. The rounding happens inside the circle. The other parameter, Strength, controls the amount of the warping effect.

In the above picture Smoothing=0 and and Strength=1 (the defaults).

Here are the same examples as above but with Smoothing = 5 and Strength = 0.8 (recall that the blue circles do not belong to the path):

   

Good values for Smoothing are 0..10 but you can go higher. Strength accepts values 0..1.

Strength seems to work similarly to the Strength parameter in Gimp's Warp Transform tool. But Smoothing is nothing like the Hardness parameter in Warp Transfrom. And the figure on the left in the first picture (Grow) is something that the Warp Transform cannot produce. The effects of Grow in my plugin and in Warp Transform are very different even though with some parameter values they come rather close. But of course I have no idea what the formulas behind the Warp Transform are.

It appeared that while the warpings on the grid are quite pretty (to my eye at least), trying something more practical needs some care to get acceptable results. Here I tried a text. Left to right: Grow, Shrink, Swirl(cw), all with some smoothing (and now without the blue circles):

   

Another one. These three houses were made from the same straight-edged figure with Copy, Scale, and Warp:


   

The plugin has one serious drawback: It is based on my own rickety approximation algorithm that I have used before. I really wish I had something better. If you want fast work, you get either a lousy result or a vast number of control points. If you want good work with few control points, you have to wait with patience. This cannot be helped for the time being.

To get the plugin, go to

http://kmarkku.arkku.net/Path_warp_files...aster.html

scroll to the bottom, and click the download button. You get a zip file. Unzip it and place the one file it contains (warp_path.py) in your user's plug-ins folder. Then (re)start Gimp.

To invoke the plugins, go to the Paths tab, right-click some path and follow the links
Tools > Warping > ...

If you find strange behaviour by the plugin, please tell me.

Print this item

  gimpfu view-display-filters?
Posted by: Anonymous - 03-24-2021, 05:53 PM - Forum: Scripting questions - Replies (1)

Hello, I'm trying to automate the addition of a contrast filter in GIMP, but I'm stuck.

Today I learned to make a GIMP plugin following a Youtube tutorial, and I started to modify it to do my task. The problem is that the only gimpfu function with "contrast" anywhere is pdb.gimp_drawable_brightness_contrast(drawable, brightness, contrast), which does not produce the same effect, but rather something like a photo filter.

I searched the python procedure examiner (i don't know if I translated that properly), and there's not a single function with "filter" in its name. The deepest function-like name I found was the one in the title, through testing in the shortcut configuration panel.

Can anybody help me? Thank you

Print this item