I would like to change a script so that it allows me to enter 0 (zero) as a minimum value and 2000 as a maximum value.
The script in its original form only allows me to enter values from 1 to 500.
I thought of manually editing the values in the .scm file, changing the values 1 to zero and 500 to 2000 respectively, but when in doubt I decided to ask for help.
Below the .scm
Code:
; Luigi Chiesa 2008. No copyright. Public Domain.
; Add a grid of guides
; 2012 R. Antonishen - modified to allow creating a grid of guides based of the active layer rather than the image canvas
How do you get GIMP to make one large image out of about 6,800 small (256x256 pixel) images? It's like you had one large picture and you cut it up into 6,800 little squares. I only have the little squares, not the original, and I want to put them together without any seams showing to make the large original image. They're numbered in sequence, they must stay in the exact sequence, and I already know exactly how many rows and columns the composite needs to have. If it's easier in some other program than GIMP that's fine too.
Anyway, I thought it would be useful if I could tell GIMP to use current selection as area for setting guides.
There is an option called New guide from selection (Images -> Guides -> New guide from selection), but this just
puts 2 horizontal and 2 vertical guides along sides of selection.
What I had in mind was to use current rectangular selection (or bounding box of it) and then "divide" it into equal parts by
setting guides (number settable by user), either horizontally, vertically, or both.
So for example, let's say I have some kind of object on my canvas, and it's already placed on the right spot.
And maybe I want to do some work on the middle third.
I could use measure tool, but this won't work without calculator.
Another option would be using rectangular selection and then setting Rule of thirds under tool options.
But choosing any tool after that results in "guides" vanishing inside of the selection, so you have to put guides
manually right after making that selection, if you don't want to loose them.
Also, if you need any number of divisions that's not already predefined (center, thirds, fifths...) this technique will not really work.
It can be done, but it will definitely take lots of repetitive steps.
So I wrote a small plugin that does exactly what I had in mind.
It's not finished yet, but it works.
So how do you use it? After placing it in plugin directory, it registers itself under Image -> Guides -> Divide selection using guides
First you make a selection. It doesn't have to be rectangular, and if it's not it will use the bounding box of the selection
for calculation. After making a selection, choose Divide selection using guides (under Image -> Guides).
Enter the number of divisions you need, and that's it.
Now, maybe I'm re-discovering here something that's common knowledge among gimpers,
but even if that's the case, this was a good learning experience. The only problem is I'm
getting lots of GEGL related errors (GIMP 2.10.32), but from what I could read here, it's not my plugin's fault.
I had 64-bit 2.10.32 but started the update for 2.10.34.
I've tried several times, but each time when I get to the very end when the bar is full and it has installed or is installing twain.exe, it quits with the message "access denied" and then "setup is not complete. Please correct the problem and run Setup again."It doesn't tell me what the problem is, though.
The result of this is that the installer removed the old version of Gimp and now I don't have Gimp at all. I've never had this problem before.
I disabled my virus protection temporarily in case that interfered, but it didn't help. I tried re-installing the version I had before and I get the same error message.
How do you install the offline help in 2.8.0? I've spent to hours digging online and can't find any trace of instructions. The GIMP help pages just keep repeating over and over "Install the help file" and that's it. I downloaded it frolm
When I try to fill the selection with the color of PP, the selection is colored gray. As you can see, the PP color is cyan, but the elliptical selection is colored in gray
How to edit the background image of gimp with red mark as per attached image. The border line between text to be adjusted . How to di this. Please help me. Thank you
I recently switched from Linux Mint 19 to version 21. This (unfortunately) also meant saying goodbye to gimp 2.8. The new themes ("Dark","Gray","Light","System") from Gimp 2.10 are an impertinence. In addition, the font size in the Gimp menus is unacceptable. I work on two 4K monitors (34" and 32"), and gimp has always looked good after various updates over the last few years. How do you get acceptable settings that align with Gimp 2.8? I know there are some tweaks possible. One is
I have a set of pictures (a few hundred) of a wild life camera where I got some artefacts when the sun was too strong. Is there any way I can batch process my pictures and get rid of those artefacts?
Attached some samples of how the artefacts look
Thanks for your help in advance!
I've coded a conversion of RGB to LCH & tried to use Gimp to verify my numbers. However, there are discrepencies which I don't understand.
e.g.
#0009be RGB(0,9,190): Gimp LCH (21.3, 102.9, 300.7) My LCH (23.4, 105.1, 305.7)
The ColorMath Online Colour converter & Converting Colours Converter agree with me, give or take some minor rounding errors.
Is Gimp doing some sort of Out of Gamut compensation? (I'm guessing at this because I'm a beginner in this area).