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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 4,578
» Latest member: ДианаJak
» Forum threads: 7,452
» Forum posts: 40,729

Full Statistics

Latest Threads
Macroglossum stellatarum
Forum: Watercooler
Last Post: Tas_mania
8 hours ago
» Replies: 1
» Views: 62
Missing script-fu "refres...
Forum: Gimp 2.99 & Gimp 3.0
Last Post: rich2005
11 hours ago
» Replies: 10
» Views: 320
processes in Whitelist
Forum: OSX
Last Post: rich2005
Yesterday, 09:45 AM
» Replies: 5
» Views: 184
Digikam: photo management...
Forum: Other graphics software
Last Post: denzjos
Yesterday, 06:53 AM
» Replies: 7
» Views: 4,590
GIMP 3.04 opens with wind...
Forum: Windows
Last Post: SteveH
07-01-2025, 11:47 PM
» Replies: 0
» Views: 79
AIGoR - Artificial Image ...
Forum: Other graphics software
Last Post: rich2005
07-01-2025, 12:12 PM
» Replies: 10
» Views: 3,124
Can't see GIMP windows
Forum: Gimp 2.99 & Gimp 3.0
Last Post: Tankred
07-01-2025, 11:48 AM
» Replies: 3
» Views: 258
Windows save
Forum: General questions
Last Post: sallyanne
07-01-2025, 06:27 AM
» Replies: 3
» Views: 344
Trying to append part of ...
Forum: General questions
Last Post: Denarius
06-30-2025, 12:26 PM
» Replies: 5
» Views: 359
clone tool
Forum: General questions
Last Post: sallyanne
06-30-2025, 12:38 AM
» Replies: 6
» Views: 415

 
  Hexagonal grid plugin for GIMP 3.0
Posted by: Scallact - 06-15-2025, 03:21 PM - Forum: Extending the GIMP - Replies (8)

Hi, this is the initial release of my python hexagonal grid plugin converted to the GIMP 3.0 API. The functionalities where also expanded, most notably with the sample sheet output, and a few bugs and calculations corrected.

By default, it creates an hexagonal grid, using a search algorithm for optimal rasterization. It can also output a sheet with multiple hexagonal grid samples, selected by quality, in a nice tabular format.

Requirements:
GIMP 3.0 (and probably later)

Intallation:
Extract the .zip file and place the pl_hexgrid folder inside your user profile's Plug-ins folder.
You can find the plugin at Filters > Render > Pattern

Excerpt from the readme:


Quote:This GIMP plugin aims to draw regular hexagonal grids that fit the pixel grid as perfectly as possible, avoiding some common artefact like blurred vertical or horizontal lines. This optimisation also ensures that each hexagon is exactly the same and symmetrical.

As no perfect fit exists between a square grid (pixels) and an hexagonal one, hexagons' proportions are slightly stretched. The amount of deformation depends on their size. The working size factor of the plugin is the apothem, i.e. the distance between the center and the middle of a face. The user interface presents a more understandable "width" parameter, a measure of the distance between two faces.

Hope it is useful for someone. The included help is very basic and a bit technical for now, don't hesitate if you have some questions.

Cheers!
Pascal



Attached Files
.zip   pl_hexgrid_014.zip (Size: 10.51 KB / Downloads: 54)
Print this item

  theme font color
Posted by: rtalb7 - 06-14-2025, 01:45 PM - Forum: General questions - Replies (4)

The font color for "File, Edit, View, etc." changes from white to black and I don't know how to change it back?

Print this item

  Modifying DivideScannedImages Batch-Mode
Posted by: waver - 06-14-2025, 06:09 AM - Forum: Scripting questions - Replies (2)

Hello,

since a while I've been using the (I think very good) script "https://github.com/FrancoisMalan/DivideScannedImages"

But one thing isn't optimal for me in Batch-Mode: all the picture that were processed get the name "Crop..." with a number.
It would be more useful to have (also) the original file name in the output name.

In Batchmode there already exists the variable "filename", but when I put it in in the line with the output


Code:
(set! newFileName (string-append targetDir pathchar filename inFileName 

then I get "Error: eval: unbound variable: filename "


I supposed the problem is that the variable is not declared, so I put it in the line for the batch-part:


Code:
(define (script_fu_BatchDivideScannedImages inSourceDir inLoadType inSquareCrop inPadding inLimit inDeskew inAutoClose inThreshold inSize inDefBg inBgCol inCorner inX inY inSaveInSourceDir inDestDir inSaveType inJpgQual inFileName inFileNumber filename)

But than I get "Error: not enough arguments"

What I'm doing wrong? 

PS.: I'm using Gimp 2.10.36 under Linux Mint 64bit

Print this item

  Image load times in other applications AFTER editing in GIMP
Posted by: kdaunt - 06-13-2025, 11:29 PM - Forum: General questions - Replies (2)

Here's the situation: 

1. I edit a jpg image from my camera, add a layer or two and complete other edits, then export as another jpg. 
2. When I open the jpg, either to preview it in windows or load it into Gimp, it takes noticably longer to load and render.
3. The image initally shows but is out of focus, then seems to load the second layer and appear sharp.


Does the jpg format maintain the two layers?

How can I fix this?

Thanks in advance.

Print this item

  how to measure in gimp?
Posted by: rosskane - 06-13-2025, 06:11 PM - Forum: General questions - Replies (2)

i have wide feet, the only wide that fits me is new balance extra wide. but recently, i have noticed new balance extra wide doesn't fit me. what i am trying to figure out is if they made their shoes more narrow, or if i have some kind of a medical condition causing my feet to get bigger. in the picture below, I am trying to compare the width of the new shoes with the old ones. but i dont know how to do it in gimp. i know the measure tool exists, but i dont know how to point it in the right spot, and i dont know if i am drawing a straight line. 
[Image: PhDGQ7I.jpeg]

Print this item

  Layout for photographers
Posted by: lori - 06-13-2025, 06:48 AM - Forum: General questions - Replies (1)

I transition from PS to GIMP. Is there a pre-set layout for Photographers, or is there a course for a basic beginners layout?

Print this item

  Crop Layer To Selection
Posted by: amusicfamily - 06-12-2025, 01:32 PM - Forum: Gimp 2.99 & Gimp 3.0 - Replies (2)

So - in Gimp 3.0 version 1, I see that it is no longer available to crop a layer to the selection. Instead we are forced to crop all layers to content. That is unacceptable - how do I restore the ability to simply crop a layer to selection?

Print this item

  Missing icons in GIMP 2.10 custom compilation
Posted by: Sadakokiri - 06-11-2025, 08:53 PM - Forum: Linux and other Unixen - Replies (5)

Hi, I just compiled GIMP 2.10.38 (under an up-to-date Archlinux) from the sources in download.gimp.org, after a couple of tiny fix to get rid of some errors, and now I am trying to execute it without installation.

It seems to work well from the source directory when I run the command "GIMP2_DATADIR=$(pwd) app/gimp-2.10", but (most of) the UI icons are replaced by papers with gray warning signs: See my attachment "no-icons_warn.png".

I suspected the icon management to be an XDG stuff, and since I noticed the icons are present in the "icon" sub-folder of the current directory, I prepended the command line with "XDG_DATA_DIRS=$(pwd)", which changed the icons but not in a way that pleased me: See my attachment "no-icons_cross.png".

I am far from being an expert about Gimp/GTK and FreeDesktop icon management, does somebody know why the icons are missing? Should I tell GIMP where to find them? How?

*** Note ***
The edition I made on the sources are unrelated, they are :

1. Replaced the line 1372 of the file "plug-ins/file-tiff/file-tiff-load.c" by something like
gdouble xfix, yfix; gimp_image_get_resolution(*image, &xfix, &yfix); xres = xfix; yres = yfix;

2. Replaced the line 2143 of the file "plug-ins/metadata/metadata-editor.c" by something like
if (!g_strv_contains((const gchar* const*)values, equiv_values[evi]))



Attached Files Thumbnail(s)
       
Print this item

  Bucket Fill Problems
Posted by: ggallant571 - 06-10-2025, 10:06 PM - Forum: General questions - Replies (4)

My linux system upgrade, Fedora 42, comes with gimp 3 which is behaving oddly. Bucket fill is quite strange. After a couple of fill operations the earlier fill regions get mangled. Looks like the region has rings of different intensity.

I have been using gimp 2.x for many years and tried to build it from source but getting compilation errors.

Also having problem with many of the "select" by options. Select by color selects the last painted cells, select NONE typically does absolutely nothing, select ALL seems to select the entire current layer.

Very frustrating!!!! I cannot currently show these problems as I uninstalled gimp 3 when attempting to load a earlier version.

Print this item

Information ofn3-layer-tile issues (with one fix)
Posted by: gimp-saved-my-life - 06-09-2025, 07:51 PM - Forum: Extending the GIMP - Replies (1)

@Ofnuts, it appears the ofn3-layer-tile plugin .zip file is missing the gimphelpers.py file, causing it to not load into the menu.

I guess I hadn't used ofn-layer-tile in a hot minute, or I just recently updated GIMP to where I needed the ofn3- versions. After some troubleshooting and research in the forum, I found your ofn3- files, set them up in my user directory, and only noticed ofn3-layer-tiels was not available. I found a thread mentioning gimphelpers.py was needed for your plug-ins, so I copied the instance in ofn3-interleave-layers into the ofn3-layer-tiles directory, restarted GIMP, and now it is in the Layer menu as expected! 

However, the Join tiles... option is inactive, and I'm not sure what to do next.

GIMP 3.0.4
macOS 15.5
ofn3-layer-tiles v1.02: 2025-05-13

I opened a .gif with 76 frames/layers; in the previous version, I would now select Join tiles... and specify the number of rows and number of columns and it would create a new image with one layer with each frame tiled next to the other.
Before I posted, I decided to try the Split functions, and both produce an error "name 'getArgsValues' is not defined"




Thanks for your work on these!

Print this item