Just a little demo of this Gimp 2.99 feature. I can not see much in the way of documentation ( https://testing.docs.gimp.org/2.99/en/ ) so an introduction.
Find it in the View menu and toggle the item Snap to Equidistance.
Set two layers at the required distance apart
Drag other layers and the same offset is shown.
I'm trying to find a solution to the following problem:
I want to use the *Al-Aser.ttf font, however, both GIMP and Inkscape do not display the font as intended.
Only Libre Office seems to display this font correctly.
However, in Inkscape, when the font is viewed in the Text and Font window, it displays correctly, although it continues to be written on the page in an undesirable way.
I remember having seen this type of problem before and if I remember correctly, the solution was found at the time. However, I can't remember where this issue was discussed and solved before, much less what the solution was at the time.
Does anyone know how to unravel this situation and guide me on how to make the font type as expected?
Busy with programingforschildren with Python i need some pictures in GIMP with guides, OK, available , but
arakne_guide_lab is (wAS)in my opinion much more comfortabel ;-)
Now on a new pC with W11 and a GIMP installed this years version , I am not able to install it afredh.
On an older PC here the Gimp there can activate th guide_lab , used years ago
Found back an arakne_guide_lab_zip with (if rember correctly) contains all *.py files needed.
Tansferring them in the new local plugin directory of my now used PC ,: no success.
have a screenshot of tje guid-lab on my Iphone
how to send this screenshot to interested readers? or here into this thread??
Oh sorry, see:ing now : Add Attachmeent ( have tirst to copy the screenshot ot my pC)
Greets an have a nice day
sorry too thick, trying now to reduce sice ... will com back later
Peter
Screen shot was aroun 2MB, too big to post, trying to reduce it
picture smaller mad e (with GIMP) ...
Hello, I made a design for a 4" x 9" rack card that I made using gimp and a lot of ms paint because I don't know how to use gimp very well. I printed it on my color laser and some of the dark blues look purple.
Namely:
Really purple is the text in the blue box with the green border
And the background square behind "compassionate carnivore"
? Is this just my printer?
? Would it be fine at a professional printer?
? Does gimp have an easy way to deal with this?
I think I'll go purchase a couple of flyers using these images at a local printer.
And if anyone has any suggestions to make this rack card better. I would appreciate them. I just noticed I spelled theater wrong.
I had saved a number of links for GIMP tutorials located on the site tankedup-imaging.com, but that site is no longer active. Does anyone know if these tutorials were saved and moved to another location?
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.
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)
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!