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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 4,962
» Latest member: Tigrelap
» Forum threads: 7,714
» Forum posts: 41,947

Full Statistics

Latest Threads
Gimp 3 path tool auto con...
Forum: General questions
Last Post: MrsP-from-C
10 hours ago
» Replies: 7
» Views: 429
plugin-py3-export-all
Forum: Extending the GIMP
Last Post: CowboyJoe
Today, 06:38 AM
» Replies: 0
» Views: 75
Numerous issues with 3.0+...
Forum: General questions
Last Post: rich2005
Yesterday, 09:51 PM
» Replies: 2
» Views: 135
How to transform a layer ...
Forum: General questions
Last Post: stacash
Yesterday, 08:47 PM
» Replies: 10
» Views: 642
How to make contours in G...
Forum: General questions
Last Post: denzjos
11-23-2025, 07:10 PM
» Replies: 2
» Views: 188
Has anyone tried getting ...
Forum: Extending the GIMP
Last Post: vitforlinux
11-22-2025, 04:32 PM
» Replies: 2
» Views: 302
What exactly tutorials ar...
Forum: General questions
Last Post: sallyanne
11-22-2025, 06:44 AM
» Replies: 6
» Views: 646
Gimp 3.0.6 Python plug-in...
Forum: Scripting questions
Last Post: Scallact
11-21-2025, 09:15 PM
» Replies: 8
» Views: 404
Beginner question on Laye...
Forum: General questions
Last Post: sallyanne
11-21-2025, 01:42 AM
» Replies: 2
» Views: 302
Issue with Gradient Flare...
Forum: General questions
Last Post: ldd2
11-19-2025, 10:24 PM
» Replies: 5
» Views: 431

 
  Is This Possible with GIMP?
Posted by: Connolly Music Creations - 09-16-2024, 08:34 PM - Forum: General questions - Replies (3)

Are these types of 'animated images' possible to do with GIMP?  If not, what does it take to make one and is it a specific style?  Thanks

https://www.youtube.com/watch?v=hjXNVtj5ocY

Print this item

  Faking an undo step for functions that aren't undoable in Gimp
Posted by: inkdolls - 09-15-2024, 08:40 PM - Forum: Scripting questions - Replies (2)

I intended to make this a question, but I figured out a few ways to do it, so I'm posting in case someone ever comes across this and only finds some very old unanswered questions online.

Some low level Python methods for Gimp, like get_pixel_rgn() are not undoable. For exampe, if I create a small 24 bit image, I can make the first row red, by typing this in the Python console, but then it  can't be undone:

Code:
GIMP 2.6.12 Python Console
Python 2.7.18 (default, Jan 31 2024, 16:23:13)
[GCC 9.4.0]
➤> layer = gimp.image_list()[0].layers[0] # Newly created image.
➤> r = layer.get_pixel_rgn(0, layer.width, 0, 1) # First row.
➤> r[0:layer.width,0] = '\xff\x00\x00'*layer.width # Fill with red.
➤> layer.update(0, 0, layer.width, 1)
➤>
I wrote a plugin that is notably faster using this (obsolete) function, but I want to publish it and it's embarrassing that it can't be undone. So I need to simulate that an undo step was pushed into the stack:
Code:
image.undo_group_start() #Make the plugin's name appear in the undo history dialog.
pdb.gimp_brightness_contrast(drawable, 0, 0) # This does nothing, but a full image is stored.
image.undo_group_end() # Doesn't matter if the plugin has even started.


Some other things I've tried:


Creating a selection and deselecting it. Adds an undo state, but doesn't modify the image at all, so the changes to the image remain when trying to undo.

Copying and pasting the whole layer into itself. It works, but a very discocerting pop up of  "Copied pixels to the clipboard" could appear if there is not an error console open.

Duplicating the layer and merging it down. This always adds an alpha channel, the original layer might not have one.

I guess I'll use the dummy "brightness" tool or something similar unless someone already has or can come up with  a more elegant answer.

Print this item

  Batch Numbering Images
Posted by: gmpuser - 09-15-2024, 07:55 PM - Forum: General questions - Replies (7)

Is there a way to add text/watermark to a batch of images? I want to use a kind of counter tool to add text starting from 1 and counting upwards:

1
2
3
...
10
11
...
99
100
101

I would also need to adjust the font including size and style.

Thank you for any help that can be provided.

Print this item

  Image Analyzer
Posted by: denzjos - 09-10-2024, 12:31 PM - Forum: Other graphics software - No Replies

Old graphic freeware with simple graphic manipulation tools but some are interesting to use. The program is presented as follows : Image Analyzer is a simple but surprisingly effective utility for the advanced analysis, editing, and optimization of images.
Download link :
https://meesoft.com/Analyzer/
Detailed explanation : 
https://meesoft.com/Analyzer/help.htm
Some interesting filters :
Operations / Filters / Warp (deformation correction with 4 clicks)
Operations / Color Correction / Color tone adjustment (many color ajustment options)
Operations / Color Correction / CLAHE (HDR)
Operations / Color Correction / Laplacian pyramid filter (many adjustment options)
Operations / Color Correction / Color mapper (Presets ' Zero point' / use slider)

Print this item

  PNG data without saving to file?
Posted by: nchen - 09-09-2024, 08:44 PM - Forum: General questions - Replies (3)

Hello,

Is there a way to convert a layer to PNG data, and convert PNG data to a layer, without exporting to a file?
I am trying to send a layer to a local server that accepts base64 encoded PNG data, receive base64 encoded PNG data, then convert that data back into a layer.

My current process is as follows:
> Save layer as PNG (pdb.gimp_file_save) 
> Read the PNG file data
> Convert PNG data to base64 data
> Send base64 data using websocket 
> Receive base64 data
> Write the received data to the previously saved PNG file 
> Load the PNG file as layer (pdb.gimp_file_load_layer)
> Delete PNG file

The closest solution that I have found is to use PIL/Pillow. I have tried installing PIL6.2.2 and earlier versions with GIMP's python but receive the error:
"The headers or library files could not be found for zlib, a required dependency when compiling Pillow from source."


If there is a solution within GIMP, or someone might be able to help me get Pillow to work, I would greatly appreciate it!
I am on Windows 10, using GIMP 2.10.38, and GIMP's Python 2.7.18. Please let me know if there is additional information I should provide.
Thank you for your time!

Print this item

  BIMP cannot find script
Posted by: george.wonder - 09-08-2024, 03:27 PM - Forum: Extending the GIMP - Replies (1)

I want to combine BIMP with this script:

https://sourceforge.net/projects/gimp-to...p/download

The plugin, as a standalone plugin, works perfectly for me (once installed it shows in the Layers menu). But I cannot find it anywhere inside BIMP, even under "Other GIMP procedures".

Any idea?

Print this item

  AI artificial or intelligent
Posted by: denzjos - 09-07-2024, 04:11 PM - Forum: Watercooler - Replies (4)

Found this in a Dutch Newspaper: https://www.demorgen.be/nieuws/van-korte...~b7c07557/
   
Don't always believe what's in the newspapers, but after AI sharpening the photo looks perfect on the right. But how original is it? I searched the original photo and who can find the most incorrect conversions?
   

Print this item

  Nodes (Point) of Free Selection vanishes after saving to a chanel
Posted by: shahriyar.sabit - 09-07-2024, 10:47 AM - Forum: Extending the GIMP - Replies (2)

When I select an area with Free Select tool by inserting multiple nodes (point), then it is possible to modify the selection area by dragging those nodes after completion the selection process.
But if I save the selection in a chanel, then all nodes become vanished when I reuse the selection from saved chanel. So that it cannot be possible anymore to modify the selection area by dragging nodes.

Though in this situation it is possible to modify the selection area with Quick Mask. But modifying the selection area by dragging nodes is more convenient and perfect.

So please, I request to fix this problem.

   

Print this item

  What have I forgotten?
Posted by: sallyanne - 09-06-2024, 11:20 AM - Forum: General questions - Replies (2)

   

I am so used to doing gradients, but of late they are just not 'behaving like they should'
One a 'horizon to sky' I just tried and I got just the first color, Same happens with other gradients. Fixed color is white.
Could I have changed something in preferences. I restored tool presets on my gradient tool option dialog

Just tried another one and after a couple tries it turned to custom?

Print this item

  G'Mic-Qt Target Color Spot
Posted by: denzjos - 09-05-2024, 03:56 PM - Forum: Tutorials and tips - No Replies

I jus discovered G'Mic-Qt Target Color Spot. Nice to play with colours.

   

Print this item