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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 5,143
» Latest member: Sampollyt
» Forum threads: 7,819
» Forum posts: 42,462

Full Statistics

Latest Threads
Thank you for Gimp
Forum: Watercooler
Last Post: Sampollyt
6 hours ago
» Replies: 0
» Views: 14
Smudge tool not working
Forum: General questions
Last Post: programmer_ceds
9 hours ago
» Replies: 2
» Views: 135
RapidRAW
Forum: Other graphics software
Last Post: denzjos
11 hours ago
» Replies: 3
» Views: 987
Hiding Unwanted System Fo...
Forum: Extending the GIMP
Last Post: rich2005
Yesterday, 10:05 AM
» Replies: 1
» Views: 168
Version Issue
Forum: General questions
Last Post: rich2005
02-23-2026, 09:40 PM
» Replies: 1
» Views: 203
GIMP 3 Python Enums: Defi...
Forum: Extending the GIMP
Last Post: MrsP-from-C
02-23-2026, 08:27 PM
» Replies: 6
» Views: 339
Odd problem with GIMP 3.0...
Forum: General questions
Last Post: cjsmall
02-22-2026, 08:09 PM
» Replies: 4
» Views: 405
Anyone working on video g...
Forum: Watercooler
Last Post: connag
02-22-2026, 07:48 PM
» Replies: 3
» Views: 2,088
remove graffiti
Forum: Other graphics software
Last Post: denzjos
02-22-2026, 08:04 AM
» Replies: 2
» Views: 205
Merging a still image and...
Forum: General questions
Last Post: rich2005
02-20-2026, 08:35 AM
» Replies: 5
» Views: 424

 
  Python scripts: locating their menu entries
Posted by: sallyanne - 08-01-2018, 12:12 PM - Forum: Extending the GIMP - Replies (9)

Soooooooooooooooo, how do you find python fu filters that you have added to your (my name) plugins folder? I downloaded the zip file rich added and unzipped it all to my gimp and cannot find any.

Print this item

  Mosaic Average Fill
Posted by: yellek - 08-01-2018, 04:46 AM - Forum: Extending the GIMP - Replies (4)

The effect I want is to pixelise an image based on mosaic tiles. I can do this manually using a separate mosaic layer, selections and ofn-average-fill (https://sourceforge.net/projects/gimp-to...s/scripts/) however this is time consuming. Any ideas on a better way to do this?

Print this item

  How Do I Make All of the Segments of a Gradient Have Equal Widths?
Posted by: abajan - 08-01-2018, 03:47 AM - Forum: General questions - Replies (2)

I just made a gradient having eight (8) segments, but I want only seven (7) because the gradient consists of the colors of the rainbow. The problem is, whenever I delete the last segment, the color that was on its left, fills the void, resulting in it being twice the width of the other colors in the gradient. How do I make all the colors have exactly equal widths?



Attached Files Thumbnail(s)
       
Print this item

  Script-fu resize images in directory
Posted by: LightTunnelEtc - 07-31-2018, 08:11 PM - Forum: Scripting questions - Replies (5)

Hello all!  First post here so I hope this make sense.

I am trying to resize images to the highest multiple of 4 (unless it already is a multiple of 4).

My script runs without any errors but does absolutely nothing to the images in the directory.
I tested out individual elements of the script in the GIMP console (or whatever it is called) and the ones I could test work fine.

I feel like I'm missing something simple.

Any ideas?  The script is below. 

Code:
; example pattern form because it starts in C: "/Users/Etc/*.png"

(script-fu-register
           "script-fu-resize-4"                        ;func name
           "Resize To Multiple Of 4"                                  ;menu label
           "Rounds Canvas Size To Nearest Multiple Of 4" ;description
           "Me"                             ;author
           "copyright 2018, Me"                ;copyright notice    
           "May 30, 2018"                          ;date created
           ""                     ;image type that the script works on
           SF-STRING      "Folder Pattern"          "/*.png"  
           
 )
(script-fu-menu-register "script-fu-resize-4" "<Image>/File")
(define (script-fu-resize-4 pattern)
    (let*
        (
            (filelist (cadr (file-glob pattern 1)))
        )
        (while (not (null? filelist))
            (let*
                (    ; variables
                    (filename (car filelist))
                    (image (car (gimp-file-load RUN-NONINTERACTIVE filename filename)) )
                    (drawable (car (gimp-image-get-active-layer image)) )
                    (width (car (gimp-image-width image)) )
                    (height (car (gimp-image-height image)) )
                )
                
                ; statements
                
                (set! width  (* 4 (ceiling (/ width  4))) )
                (set! height (* 4 (ceiling (/ height 4))) )
                (set! width  (inexact->exact width)  )
                (set! height (inexact->exact height) )
                (gimp-image-resize image width height 0 0)
                (gimp-file-save RUN-NONINTERACTIVE image drawable filename filename)
                (gimp-image-delete image)
            )
            
            ;move to next file in folder
            (set! filelist (cdr filelist))
        )
    )
)

Print this item

  Measurement tool
Posted by: al.da.drone - 07-31-2018, 02:10 PM - Forum: General questions - Replies (2)

Hi there I wonder if someone  would be kind enough to answer this question for me as I am struggling to get the hang of Gimp.

I am sure there is another way of doing this, however I have just come across the measuring tool so I can measure things in order to get everything in proportion like text..So i am measuring a line with the measuring tool however it seems that I can only measure one line at a time rather than have multiple lines. You must be able to get multiple lines ?

Sorry for asking a silly question...

Print this item

  Win7 64bit Missing libraries in 2.10.4
Posted by: silverb - 07-31-2018, 01:17 PM - Forum: Gimp 2.10 - Replies (2)

Every time I load Gimp I have to 'OK' a list of 9 missing libraries; It's making start up very slow and tedious.
I've tried reporting this, maybe I'm being thick, but I can't find Gimp in Bugzilla.
Anyone else having this problem?

The libraries are:
libfftw3-3.dll
libtif3.dll
libtiff3.dll
libgdkglext-win32-1.0-0.dll
liblqr-1-0.dll
libffttw-3.dll
libpng15-15.dll
pcre.dll

Print this item

  Mystery of the moving dock
Posted by: GeePig - 07-31-2018, 08:43 AM - Forum: General questions - Replies (2)

I have Gimp 2.8.22, and the recent demise of my old computer meant that I had to transfer to a new one running Windows 10. Everything seems fine, but every time I open Gimp the 'dock' on the right is wider.

   

Everything docked at A stays in place, but the width of B gets smaller and smaller as C keeps growing. I would guess it is something to do with area D, which appears to be sitting in uncontrolled screen space. I have tried reading the guides, but they seem to skip lightly over what is actually meant by a dock.

Can anyone help?

Print this item

  new download 2.10 & G'Mic crash
Posted by: candianeh - 07-31-2018, 02:31 AM - Forum: Gimp 2.10 - Replies (4)

Hi.
 I need a geek. First off I have to admit I'm no techie. I'm a newbie with using Windows 10 after many years using windows 7. THere are many things i just don't understand yet about W10, but one of the first things I need to install is GIMP with G'mic.
Gimp downloaded fine and then I downloaded G'Mic. I went to the preferences folder - plug-ins to show GIMP the path to G'mic, which you can see in the image I'm posting. Everything seemed to go well until I tried to use G'mic. G'mic started to load but then this happened. I hoped it was just a small glitch but after closing and retrying several times, & uninstalling and re-installing both GIMP & G'mic, I still got this response every time.
[Image: nZDQDl.png]
 I hope someone knows what I did wrong and can help me get back in the swing. Thank you Smile

Print this item

  tile squares with random colours from a palette
Posted by: Espermaschine - 07-30-2018, 08:57 PM - Forum: Extending the GIMP - Replies (3)

Is there a filter or a script that lets me tile squares with different colours in a random fashion ?

Lets say i have a red, a black and a yellow 40x40px square and i want x rows and x columns.

Like this:
   

Print this item

  Layers and mipmaps (DDS files)
Posted by: KevKiev - 07-30-2018, 03:58 PM - Forum: General questions - No Replies

When opening DDS files into GIMP for editing, should I be loading the mipmaps?

I've never had a need to edit the mipmaps, but that's what I'm doing now. Since I often create a layer out of the same "main" texture, the result is that each of the layer and main texture have loads of (identical I guess) mipmaps.  If the answer to the above question is yes, when merging down should I also merge the layer's mipmaps or delete them first?

Something tells me that a better practice is to open DDS's without mipmaps and simply generate them on export, but I thought I'd double-check.

Thanks

Edit: strange how many basic tutorials don't address this, but I finally did stumble upon a couple of them that advised to not load mipmaps when loading an image into Gimp, but just generate them on export. I'll do that from now on, unless someone knows of a reason not to. (Again, I haven't had any need to touch the mipmaps during the edit process.)

Print this item