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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 4,930
» Latest member: Jamesda05
» Forum threads: 7,693
» Forum posts: 41,840

Full Statistics

Latest Threads
Colorized Layer Reverts t...
Forum: General questions
Last Post: sallyanne
Today, 08:57 AM
» Replies: 6
» Views: 402
Gimp 3.0.6-1 G'Mic-Qt ups...
Forum: General questions
Last Post: denzjos
Yesterday, 07:08 PM
» Replies: 2
» Views: 147
Issue with cut selection
Forum: Installation and usage
Last Post: kmll
Yesterday, 11:56 AM
» Replies: 2
» Views: 145
How to get G'MIC within G...
Forum: General questions
Last Post: teapot
11-10-2025, 08:04 PM
» Replies: 2
» Views: 273
Gimp 3.x scanner xsane pl...
Forum: Gimp 2.99 & Gimp 3.0
Last Post: Ofnuts
11-10-2025, 08:36 AM
» Replies: 14
» Views: 11,613
Gimp 3.0 get Metadata wit...
Forum: Scripting questions
Last Post: Volker
11-09-2025, 06:19 PM
» Replies: 3
» Views: 293
Text Editor hardly ever w...
Forum: General questions
Last Post: Snacko
11-09-2025, 05:13 PM
» Replies: 4
» Views: 381
How to make image and mas...
Forum: Installation and usage
Last Post: Ofnuts
11-08-2025, 08:39 PM
» Replies: 5
» Views: 345
Multi window mode mode fa...
Forum: General questions
Last Post: teapot
11-07-2025, 01:40 PM
» Replies: 5
» Views: 487
Animation with only GIMP ...
Forum: Gallery
Last Post: Scut-51
11-06-2025, 11:49 AM
» Replies: 25
» Views: 23,136

 
  Snap to Layer Edges or Boundary
Posted by: gotanidea - 12-14-2022, 03:37 AM - Forum: General questions - Replies (7)

In Photoshop, there is Snap to Layer option, to snap the cropping to an edge of a layer.

In GIMP, we can use Layer > Crop to Content to crop based on a layer boundary, but there is no option to snap the cropping to an edge of a layer.

Please check the screenshot below and see the layer with a red rectangle in it:

Layer Example

How to snap the cropping to the bottom edge of the layer, since there is no Snap to Layer option?

We can do this easily in Photoshop:

Snap to Layer Feature in Photoshop

Print this item

  Dot for Dot on Surface Pro 9
Posted by: koopdi - 12-13-2022, 06:58 PM - Forum: Windows - Replies (3)

Hello, I'm running Gimp development release 2.99.14 on a surface pro, \w windows 11.
I am having trouble getting the dot for dot mode to match my display's pixels.

My display's resolution is 2880 X 1920 (267 PPI).

My windows display scale is set to the default of 200%.


Gimp detects the ppi as 133. I assume this is correct as it's 1/2 of 267, rounded down to the nearest pixel.

Problem is, in dot for dot mode, Gimp shows the image at 2x -- 500 Gimp pixels are actually 1000 pixels on my display.
If I change Gimp's display settings to 267 pixels/inch, I don't see any effect.

My workaround has been to set the ppi of my image to double the ppi set in gimp and turn off dot for dot.

Does anyone know of a way to get dot for dot mode working properly?
I'm hoping that there is just a setting that I'm missing or confused about.

If not, is there a way to set dot for dot to disabled by default?

Print this item

  Turn layer colours into selection
Posted by: einstein - 12-13-2022, 01:18 PM - Forum: General questions - Replies (2)

Hello,
What is the easiest way to turn a greyscale layer into channel (selection)? So, let's say, blacks will be non-selected, greys will be semi-selected, and whites will remain fully selected?

Print this item

  Script Fu - Batch Command Error
Posted by: James Parkinson - 12-12-2022, 09:49 PM - Forum: Scripting questions - Replies (5)

Learning Scrpt Fu is slow. Any assistance is welcome regarding the Error message.


I am trying to replicated the reported success of others who have posted online. I am running GIMP 2.10.32.

Opening CMD Window within the folder:

C:\Users\parkinsj\Desktop\GIMP_Batch\

; which contains two JPG files, I ran the following:

gimp-2.10 -i -b "(batch-auto-fix "C:\Users\parkinsj\Desktop\GIMP_Batch\img*.jpg")" -b "(gimp-quit 0)"

The result was:

batch command experienced an execution error:
Error: eval: unbounded variable: C:\Users\parkinsj\Desktop\GIMP_Batch\img*.jpg

The SCM file   batch-auto-fix.scm   is at location:

C:\Program Files\GIMP 2\share\gimp\2.0\scripts

The SCM file reads:

(define (batch-auto-fix pattern  
                radius  
                amount  
                threshold)  
  (let* ((filelist (cadr (file-glob pattern 1))))  
   (while (not (null? filelist))  
      (let* ((filename (car filelist))  
          (image (car (gimp-file-load RUN-NONINTERACTIVE  
                        filename filename)))  
          (drawable (car (gimp-image-get-active-layer image))))  
       (plug-in-unsharp-mask RUN-NONINTERACTIVE  
                  image drawable radius amount threshold)  
       (gimp-levels-stretch drawable)  
       (plug-in-color-enhance RUN-NONINTERACTIVE  
                  image drawable)  
       (gimp-file-save RUN-NONINTERACTIVE  
               image drawable filename filename)  
       (gimp-image-delete image))  
      (set! filelist (cdr filelist)))))

Print this item

Big Grin New laptop, can't get GIMP set up correctly
Posted by: Andy99 - 12-10-2022, 02:37 PM - Forum: Windows - Replies (2)

Hi all, new here, first post. I'm running W11, and the latest GIMP version: 2.10.31 Rev 1.

I've been using GIMP for probably 10 years just for playing around, nothing really serious. I am completely self-taught, but for occasionally Googling or taking a peek at the manual. I've only learned what I had to learn to keep me going at the moment.

So I DLd the latest GIMP onto my new laptop and it was mostly okay, but I cannot get it arranged the way I used to have it, and the more I mess with it the worse it gets.

What I want is to get the toolbox anchored in the upper left corner, with the selected tool options anchored below it. And a year or so ago, quite by accident, I anchored the text selections in the upper right corner, which makes it much easier to use because it is much bigger.

Docking, Single Window Mode, yadda yadda, I can't figure out what I need and it's getting frustrating. I've been using Windows for 30 years and I know that what I need to do can be accomplished with a few clicks IF YOU KNOW WHAT TO CLICK AND WHAT THE DESCRIPTIONS MEAN. That's the problem.

At any rate, thanks for any help.

Print this item

  Cast in Stone
Posted by: rickk - 12-09-2022, 09:53 PM - Forum: General questions - Replies (3)

What methodology do you suggest to take a standard photograph (portrait), and make it look like it belongs as a part of Mount Rushmore?



[Image: dVGlGpS.jpg]

Print this item

  keyboard shortcut?
Posted by: flexible fotography - 12-09-2022, 08:52 PM - Forum: General questions - Replies (1)

hello.

in GIMP 2.8, is there a keyboard shortcut to cancel a selection tool?

specifically, i often use ‘fuzzy select tool' and apply a brightness, contrast or color balance to certain areas of an image. then i must again mouse-click fuzzy select tool, and then click on an area outside the image to clear the select tool. i know this isn't terrible, but is there an easier way to clear the tool so I can see what I have just done to the image?


thanks for helping.

Print this item

  GIMP not deleting cropped pixels
Posted by: cgimpuser - 12-09-2022, 08:13 PM - Forum: General questions - Replies (3)

I'm fairly new to GIMP, so maybe I'm doing something wrong. But when I crop an image, it leaves the pixelated background there. So when I reopen the image, you can see the area that was cropped (which shows as a white border in the attached screenshot. I have the "delete cropped pixels" box checked, so that shouldn't be happening. Can anyone suggest something I might be doing wrong?



Attached Files Thumbnail(s)
   
Print this item

  Recent attempts at unrolling bottle labels
Posted by: Ofnuts - 12-09-2022, 11:34 AM - Forum: Watercooler - Replies (7)

  • Worked out the math to generate a displace map
  • Figured out that Gimp displace map doesn't work at all as described in the doc
  • Worked out some more math to generate a displace map that pleases Gimp
  • Eventually got some satisfactory results
From this:
   
To this:
   

Now to script the whole thing.

Print this item

  Centre image at selected point
Posted by: surdo - 12-08-2022, 06:11 PM - Forum: General questions - Replies (4)

Hi,

Starting with an image on an oversized canvas (ie. with space all around the image), I was wondering if there's to select a point on the image with the mouse and then snap this point to the centre of the canvas?

Hope this makes sense. I frequently have to centre scanned maps in this way and would like to find a way to do it quickly and precisely.

Thanks

Print this item