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!
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".
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?
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.
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?
But it is not exactly what I want, because I just need the coordinates already created by the mosaic tool, I don't have them created by hand.
So I would like it somehow if the mosaic tool could output the coordinates of the resulting polygons' corner coordinates and rgb values belonging to them, is there a way to get such list out of gimp?
Hello! I wish to find a function in GIMP that takes an image, and cuts it into horizontal lines, and then places those end to end, so, Example: Apply to a 10x10 image: You would get a 100x1 image out, made of each line of the image rearranged.
I wish to use this to make a realistic analog video effect by converting an image into a virtual analog signal in GIMP, but I need to be able to split the image into 'scanlines,' by scanning it one line at a time, chopping it up into horizontal lines.
Is there any way to do this easily???
Attachment: This is an example, done manually. It takes FOREVER, even for a 16x12 image.
Thanks!!!
Also, if anyone wants to know some tips on accurately simulating analog video signals... PM me. I know some tricks and some electronics.
Recently, the pyAstro menu disappeared from the menu bar.
The GIMP version is 2.10.36 on my desktop. I installed it with sudo apt install gimp. On one of my laptop, the version is 2.10.30, with the same issue.
Plug-ins are setup into /home/robert/.config/GIMP/2.10/plug-ins.