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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 5,702
» Latest member: Doramaland_Des
» Forum threads: 7,213
» Forum posts: 39,413

Full Statistics

Latest Threads
Select By Color tool
Forum: Gimp 2.99 & Gimp 3.0
Last Post: CmykStudent
50 minutes ago
» Replies: 2
» Views: 51
How to use selecting mult...
Forum: Gimp 2.99 & Gimp 3.0
Last Post: teapot
Yesterday, 02:58 PM
» Replies: 9
» Views: 330
Troubles with porting a s...
Forum: Scripting questions
Last Post: alvk
03-09-2025, 09:51 AM
» Replies: 19
» Views: 644
Can't get a clean Select ...
Forum: General questions
Last Post: Ofnuts
03-09-2025, 08:39 AM
» Replies: 5
» Views: 362
currently planning to cre...
Forum: General questions
Last Post: saint_m
03-09-2025, 01:57 AM
» Replies: 40
» Views: 7,267
Print an image (2480x7016...
Forum: General questions
Last Post: Fleshus
03-08-2025, 03:59 PM
» Replies: 3
» Views: 166
Text to path query
Forum: General questions
Last Post: rich2005
03-08-2025, 03:51 PM
» Replies: 1
» Views: 117
G'MIC 3.5.3 released
Forum: Extending the GIMP
Last Post: Ofnuts
03-07-2025, 08:28 PM
» Replies: 3
» Views: 245
Getting emotional with my...
Forum: Gallery
Last Post: Ofnuts
03-07-2025, 04:19 PM
» Replies: 6
» Views: 347
A reasoning on what you c...
Forum: Gimp 2.99 & Gimp 3.0
Last Post: vitforlinux
03-07-2025, 12:45 PM
» Replies: 8
» Views: 528

 
  Select By Color tool
Posted by: meghan_e - Yesterday, 11:48 PM - Forum: Gimp 2.99 & Gimp 3.0 - Replies (2)

I've been working with Gimp 2.10 for a long time. I'm not a Gimp expert at all just like playing around.
Anyway, I installed Gimp 3-R2 and was trying to do a simple
transparency layer -> Filters -> Render -> Noise -> Solid Noise.
Then I went to the Select By Color tool and it won't select anything.

I tried these exact steps in Gimp 2.10 to be sure and it works fine.

Is there something else that needs to be set up? If there are instructions, I'm happy to read them, I just haven't been able to find anything about it.

Thank you!!

Print this item

  How to use selecting multiple layers with the tranform tools.
Posted by: teapot - 03-09-2025, 07:07 AM - Forum: Gimp 2.99 & Gimp 3.0 - Replies (9)

Hi, I'm just tying to understand the details of selecting multiple layers. I get that you can do this with shift or ctrl keys. If for example you wanted to rotate three layers, what's the rule to say which one is used for the "preview" while you are adjusting the rotate?

In gimp 2.10 you could link the layers and choose which one is active so that's the one that's used while you are adjusting the rotate.

Print this item

  Text to path query
Posted by: Evans8773 - 03-08-2025, 01:47 PM - Forum: General questions - Replies (1)

Hi all

Just started using gimp again and have an issue I have had in the past but forgot how to fix it.  Applying text to a circle the top of the circle text along path does as intended but when I do the bottom half text it apples to the path like it is stacked and just looks like jumbled up spaghetti. Like I said this has happened before but cannot remember how to fix it. 

The initial text to path requires me to use the flip tool so it looks right but then after the flip I get spaghetti

Hope someone can help 

Cheers

Print this item

  Print an image (2480x7016) on several A4 pages
Posted by: Fleshus - 03-07-2025, 10:09 PM - Forum: General questions - Replies (3)

As I saw on the internet, an A4 sheet would be equivalent to a 2480 x 3508 pixel photo in 300dpi. As I need two A4 pages for my project, I created a 2480x7016 image but GIMP (or other software) does not offer me to print on two pages.
So I cut this image in two with a selection rectangle and printed separately. However, the printed result does not match the preview of the image in question (I compared).
Can someone help me? It's incredible that in 2025 we struggle for something so simple...



Attached Files Thumbnail(s)
       
Print this item

  G'MIC 3.5.3 released
Posted by: dtschump - 03-07-2025, 03:46 PM - Forum: Extending the GIMP - Replies (3)

I'm happy to announce the release of a new minor version, v.3.5.3, of G'MIC, your favorite image filter toolbox Big Grin  


What's new ? A few new filters, some code optimization and bugfixes. Incrementally better! 
Proudly developed at the GREYC Laboratory by CNRS researchers passionate about image processing!

- Download: https://gmic.eu/download.html
- Changelog: https://discuss.pixls.us/t/on-the-road-to-3-6
[url=https://discuss.pixls.us/t/on-the-road-to-3-6][/url]

[Image: dd28cfe244d4bd01.png]

Hope you'll enjoy it!

Cheers,


David.

Print this item

  Cutting image along guides for printing
Posted by: azar - 03-06-2025, 04:57 PM - Forum: General questions - Replies (5)

HELLO I will try to explain my problem. I want to turn an image into a poster with custom dimensions, so I wanted to use GIMP’s guides and crop the image following the guides. The thing I don’t understand is that nothing matches when I put them in the image: the image size, the guides, etc.

I have an image that is 63×83 cm.

I set my margins in cm based on the image scale, but they should be much smaller. Instead, they are still set to 1 cm.

And when I go to Image > Image Size and Dimensions, I get another size entirely.

THANK

IMAGE

Print this item

  GEGL Operation dialog when clicking on image
Posted by: jack63ss - 03-04-2025, 07:43 PM - Forum: General questions - Replies (1)

I am having an issue with the GEGL tool. When I click on any image I get a GEGL Operation dialog. If I click on Cancel the dialog goes away but as soon as I click on the image again the dialog comes back. Even happens on a New blank image. I was using Gimp for a little while before this started happening, and I guess it is possible I did something to cause the problem, but I have no idea what I did or how to fix it. 

SO, I rebooted and then uninstalled/reinstalled Gimp and the problem was still there. Then I uninstalled Gimp, deleted all the GIMP/GIMP 2.10 directories I could find, and reinstalled. Now it is working OKAY. Checked around the forum but didn't see the problem reported anywhere, but does anyone have an idea what is going on ? What could I have done to make this happen, so I don't do it again ?

Thanks, Jack

GIMP 2.10.38 (revision 1)

Edition Windows 10 Home
Version 22H2
Installed on ‎6/‎26/‎2024
OS build 19045.5487
Experience Windows Feature Experience Pack 1000.19061.1000.0



Attached Files Thumbnail(s)
   
Print this item

  Unable to find or use script I created
Posted by: Desicub99 - 03-03-2025, 10:18 PM - Forum: Extending the GIMP - Replies (4)

I developed this script:
(define (script-fu-red-rectangle-with-borders)
  (let* (
        (width 640)
        (height 400)
        (rect-width 625)
        (rect-height 385)
        (border-size 19)
        (black-border 5)
        (image (car (gimp-image-new width height RGB)))
        (bg-layer (car (gimp-layer-new image width height RGBA-IMAGE "Background" 100 NORMAL)))
        (rect-layer (car (gimp-layer-new image width height RGBA-IMAGE "Red Rectangle" 100 NORMAL)))
        (border-layer (car (gimp-layer-new image width height RGBA-IMAGE "White Border" 100 NORMAL)))
        (black-border-layer (car (gimp-layer-new image width height RGBA-IMAGE "Black Border" 100 NORMAL)))
        )

    ;; Add layers to image
    (gimp-image-insert-layer image bg-layer 0 -1)
    (gimp-image-insert-layer image rect-layer 0 -1)
    (gimp-image-insert-layer image border-layer 0 -1)
    (gimp-image-insert-layer image black-border-layer 0 -1)

    ;; Set transparency background
    (gimp-context-set-background '(0 0 0 0))
    (gimp-drawable-fill bg-layer TRANSPARENT-FILL)

    ;; Select centered rectangle
    (gimp-rect-select image
                      (/ (- width rect-width) 2)  ;; X Position
                      (/ (- height rect-height) 2) ;; Y Position
                      rect-width rect-height
                      REPLACE)

    ;; Fill rectangle with mesh pattern
    (gimp-context-set-pattern "Mesh") ;; Ensure GIMP has a mesh pattern
    (gimp-edit-bucket-fill rect-layer PATTERN-FILL NORMAL 100 0 FALSE 0 0)

    ;; Stroke red border
    (gimp-context-set-foreground '(255 0 0))  ;; Set color to red
    (gimp-edit-stroke rect-layer)

    ;; Expand selection for white border
    (gimp-selection-border image border-size)

    ;; Fill border with white
    (gimp-context-set-foreground '(255 255 255))  ;; White color
    (gimp-edit-bucket-fill border-layer FG-BUCKET-FILL NORMAL 100 0 FALSE 0 0)

    ;; Deselect
    (gimp-selection-none image)

    ;; Select entire canvas for black border
    (gimp-selection-all image)

    ;; Stroke black border
    (gimp-context-set-foreground '(0 0 0))  ;; Black color
    (gimp-edit-stroke black-border-layer)

    ;; Display image
    (gimp-display-new image)
    (gimp-image-undo-group-end image)
  ))

;; Register the script in GIMP
(script-fu-register
  "script-fu-red-rectangle-with-borders"   ;; Internal script name
  "Red Rectangle with Borders"             ;; Menu name (what you see in GIMP)
  "Creates a red rectangle with a mesh pattern and white/black borders"
  "Your Name"
  "Your Name"
  "2025"
  "*"
  ""
  "script-fu-red-rectangle-with-borders")  ;; Function to execute
  and have tried several ways to use it. 
  
  First I saved it in:
  C:\Users\username\AppData\Roaming\GIMP\2.10\scripts\red-rectangle-with-borders.scm
  I tried filters -> Script-FU -> Refresh Script and clicked on filters -> Script-FU and the file wasn't there.  I closed Gimp and reopened it. 
  Then I I looked in help -> Plug-in browser and couldn't find it there. 
  I looked in all of the menus since I read that the scm file could be anywhere but no luck.
  
  So I saved it in downloads and  moved it to this path: 
C:\Program Files\GIMP 2\share\gimp\2.0\scripts\red-rectangle-with-borders.scm  
 I did the same things that I did when I saved it in the roaming folder and still no luck.

Would someone be gracious enough to show me what I did wrong?  Thanks

Print this item

  ConvertComic to PDF via bash in Linux
Posted by: vitforlinux - 03-03-2025, 01:15 PM - Forum: Other graphics software - Replies (1)

Yesterday I wanted to change the subject a bit and I fished out an old script of mine to convert the CBR (rar) and CBZ (zip) Comics Books files to PDF on bash using Linux.

I could probably add the CBT (tar) and CB7 (7zip) formats, but I can't find sample files for the tests.

The repo is located here:
https://github.com/vitforlinux-gimp/convertcomic

Print this item

  Troubles with porting a script to Gimp3
Posted by: alvk - 03-03-2025, 10:42 AM - Forum: Scripting questions - Replies (19)

Hello!

I have trouble with porting a script written in Script-Fu from Gimp2 to Gimp3. I managed to run the script, but when script execution finished, I've got the following error: argument 1 must be: number. Unfortunately, I cannot understand why this error occurs. Could anyone review my code and help me to make the script working. The script is below:

Code:
#!/usr/bin/env gimp-script-fu-interpreter-3.0

; Adds labels to a layer
; Works with Gimp v.3

(define (script-fu-add-labels image drawables user-text font font-size
                              font-color x y outline-toggle outline-color
                              outline-thickness)

 (let* ((current-layer (vector-ref drawables 0))
        (off-x (car (gimp-drawable-get-offsets current-layer)))
        (off-y (cadr (gimp-drawable-get-offsets current-layer)))

        (text-layer)
        (text-layer-position-x (+ off-x x))
        (text-layer-position-y (+ off-y y))
        (text-layer-outline)
        (text-layer-vectors)
        (text-layer-group)
        (text-layer-group-name)
        (text-foreground-color-old)

        (parent-layer-type 0)
        (parent-layer-name)
        (parent-layer-group (car (gimp-item-get-parent current-layer)))

        (old-background (car (gimp-context-get-background))))

   (cond ((= #t (car (gimp-item-id-is-channel current-layer))) (set! layer-type 1))
         ((= #t (car (gimp-item-is-group current-layer))) (set! layer-type 1))
         ((= #t (car (gimp-item-id-is-layer-mask current-layer))) (set! layer-type 1))
         ((= #t (car (gimp-item-id-is-selection current-layer))) (set! layer-type 1))
         ((= #t (car (gimp-item-id-is-text-layer current-layer))) (set! layer-type 1)))

   (gimp-image-undo-group-start image)

   (if (= 1 parent-layer-type)
     (begin
       (set! parent-layer-name (car (gimp-item-get-name current-layer)))
       (gimp-message
         (string-append "Cannont add the label to the layer " parent-layer-name)))
     (begin
       (set! text-layer (car (gimp-text-font image -1 text-layer-position-x
                                                 text-layer-position-y user-text 2 #t
                                                 font-size POINTS font)))
       (gimp-text-layer-set-color text-layer font-color)
       (when (= outline-toggle #t)
         (set! text-layer-group (car (gimp-layer-group-new image)))
         (set! text-layer-group-name
           (string-append "Text_" (car (gimp-text-layer-get-text
                                         text-layer))))
         (set! text-layer-vectors (car (gimp-vectors-new-from-text-layer image
                                                                         text-layer)))
         (set! text-layer-outline (car (gimp-layer-copy text-layer #t)))
         (set! text-foreground-color-old (car (gimp-context-get-foreground)))
         (gimp-item-set-name text-layer-group text-layer-group-name)
         (gimp-image-insert-layer image text-layer-group 0 0)
         (gimp-image-insert-vectors image text-layer-vectors 0 -1)
         (gimp-image-reorder-item image text-layer text-layer-group 0)
         (gimp-image-insert-layer image text-layer-outline text-layer-group -1)
         (gimp-context-set-foreground outline-color)
         (gimp-context-set-stroke-method 0)
         (gimp-context-set-line-width outline-thickness)
         (gimp-drawable-edit-stroke-item text-layer-outline text-layer-vectors)
         (gimp-context-set-foreground text-foreground-color-old)
         (gimp-item-set-expanded text-layer-group #f)
         (gimp-item-set-lock-position text-layer-outline #t))
       (gimp-item-set-lock-position text-layer #t)))

   (gimp-displays-flush)
   (gimp-image-undo-group-end image)))

(script-fu-register-filter "script-fu-add-labels"
                   _"Add labels"
                   _""
                   ""
                   ""
                   ""
                   "*"
                   SF-ONE-OR-MORE-DRAWABLE
                   SF-STRING        _"Label" "A"
                   SF-FONT        _"Font" "Arial Bold"
                   SF-ADJUSTMENT _"Font size"         (list 50 5 100 1 10 0 1)
                   SF-COLOR _"Font color"          (list 0 0 0)
                   SF-ADJUSTMENT _"Offset X"         (list 6 0 500 1 10 0 1)
                   SF-ADJUSTMENT _"Offset Y"         (list 6 0 500 1 10 0 1)
                   SF-TOGGLE _"Outline" #f
                   SF-COLOR _"Outline color"          (list 255 255 255)
                   SF-ADJUSTMENT _"Outline thickness"         (list 1 0 5 1 1 0 1)
                   )

(script-fu-menu-register "script-fu-add-labels"
                        "<Image>/Figures")

Print this item