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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 4,966
» Latest member: wingnet
» Forum threads: 7,716
» Forum posts: 41,958

Full Statistics

Latest Threads
Can the gradient tool be ...
Forum: General questions
Last Post: ESH
11 hours ago
» Replies: 3
» Views: 207
Gimp 2.10.30 Text alignme...
Forum: General questions
Last Post: sallyanne
Yesterday, 11:13 AM
» Replies: 1
» Views: 141
plugin-py3-export-all
Forum: Extending the GIMP
Last Post: CowboyJoe
Yesterday, 09:35 AM
» Replies: 3
» Views: 210
Gimp 3 path tool auto con...
Forum: General questions
Last Post: CmykStudent
11-26-2025, 02:01 AM
» Replies: 9
» Views: 674
Numerous issues with 3.0+...
Forum: General questions
Last Post: rich2005
11-24-2025, 09:51 PM
» Replies: 2
» Views: 229
How to transform a layer ...
Forum: General questions
Last Post: stacash
11-24-2025, 08:47 PM
» Replies: 10
» Views: 778
How to make contours in G...
Forum: General questions
Last Post: denzjos
11-23-2025, 07:10 PM
» Replies: 2
» Views: 252
Has anyone tried getting ...
Forum: Extending the GIMP
Last Post: vitforlinux
11-22-2025, 04:32 PM
» Replies: 2
» Views: 336
What exactly tutorials ar...
Forum: General questions
Last Post: sallyanne
11-22-2025, 06:44 AM
» Replies: 6
» Views: 702
Gimp 3.0.6 Python plug-in...
Forum: Scripting questions
Last Post: Scallact
11-21-2025, 09:15 PM
» Replies: 8
» Views: 461

 
  delete not working
Posted by: garyartista - 12-23-2017, 03:57 PM - Forum: General questions - Replies (10)

I am using gimp 2.8 on Ubuntu 16.04 with a Wacom Tablet.  The problem is that even after reinstalling Gimp the erase key fails to work.  It continues to paint, say, and refuses to switch to erase.  I can make text boxes and use other tools but the program refuses to switch to erase.  If I change the file .gimp2.8 to gimp2.8delete or something and reinitiate Gimp, erase works for a few minutes and the problem returns.  The problem occurs whether I use the tablet or the mouse.  Any thoughts?

Print this item

  centering layer in selection
Posted by: gib65 - 12-22-2017, 07:31 PM - Forum: General questions - Replies (2)

What if I have a selection on one layer and I want to center another layer in the middle of that selection. How would I do that?

Print this item

  2.9 on mac
Posted by: Eternity - 12-22-2017, 07:06 PM - Forum: Gimp 2.10 - Replies (1)

I could not find any OSX 2.9.8 version on https://www.gimp.org/downloads/, and I can't find any older version either. Are there any 2.9 versions for mac?

I want to use extended color depth.

Print this item

  Move a text layer.
Posted by: ssallen - 12-22-2017, 04:23 PM - Forum: General questions - Replies (4)

Is there a way to do this?  The move tool doesn't work on text layers apparently.
I create a lot of text layers programatically and I don't want to have to use the resize tools afterwards just to move the text around. I want the same dimensions... just placed in a different location.

Does anyone have a any tips or tricks for this?

Print this item

  Docking the tool options in toolbox
Posted by: jerryemerydelacruz - 12-22-2017, 04:39 AM - Forum: General questions - Replies (3)

How do I re-dock the tool options dialogue in the toolbox.  So far, the only way I can get it to dock is to reinstall gimp, which doesn't take more than a few minutes, but there has to be a better way.

Print this item

  settings palette disappeared
Posted by: gib65 - 12-22-2017, 04:05 AM - Forum: General questions - Replies (3)

Hello,

Somehow the settings palette for each tool has disappeared and I can get it back. By 'settings palette', I mean, for example, the palette on which I can choose remove, union, intersection, etc. for the magic wand select tool, or the line thickness of the free form pencil tool. There is nothing in the recently closed windows list. Reinstalling Gimp didn't work. How do I get it back?

Thanks

Print this item

  Scheme help (unbound error)
Posted by: ssallen - 12-21-2017, 08:31 PM - Forum: Scripting questions - Replies (3)

See below.
I get a g1Layer is unbound error, despite the fact that (non-empty) text is being passed in to the g1Text parameter.
The intent is to create a text layer and then position a comic book style talk bubble underneath it.

Can you place conditionals inside the local variable declaration area in scheme? How do I prevent bubbles/text layer being created if the user passes in a blank string?


Code:
  (script-fu-register
    "script-fu-talk-bubble"                        ;func name
    "Diag Bubble"                                  ;menu label
    "Creates a dialog bubble"              ;description
    "-0-"                             ;author
    "copyright 2017, -0-"        ;copyright notice
    "November 10, 2017"                          ;date created
    ""                     ;image type that the script works on
    SF-IMAGE       "Input image" 0
    SF-DRAWABLE    "Input drawable" 0
    SF-STRING      "g1Text"          "**"   ;a string variable

    SF-FONT        "Font"          "Sans"    ;a font variable
    SF-ADJUSTMENT  "Font size"     '(32 1 1000 1 10 0 1) ;a spin-button
    SF-COLOR       "gText Color"    '(250 104 255)     ;color variable
    SF-COLOR       "mText Color"    '(0 0 0)     ;color variable
    SF-COLOR       "dText Color"    '(208 59 59)     ;color variable

    SF-COLOR      "Bubble color"   '(255 255 255)
    SF-TOGGLE     _"createBubbles"          TRUE
  )
  (script-fu-menu-register "script-fu-talk-bubble" "<Image>/Image/CreateLayers")
  
 (define (script-fu-talk-bubble aimg adraw g1Text inFont inFontSize textColorG textColorM textColorD bubbleColor createBubbles)
    
    (gimp-context-set-foreground textColorG)
    (gimp-context-set-background bubbleColor)
    
    (let*
        (
            (theImageWidth  (car (gimp-drawable-width  adraw) ) )
            (theImage aimg)
            (theImageHeight (car (gimp-drawable-height adraw) ) )
            (theImageX)
            (theImageY)
            (theText)     
            (theTextBubble)        
            (theBuffer) 
            (relLocX 12)
            (space 32)
            (g1Len (string-length g1Text))        

            (set! theImageWidth   (car (gimp-drawable-width  adraw) ) )
            (set! theImageHeight  (car (gimp-drawable-height adraw) ) )    
            
            (if (> g1Len 0)
                (g1Layer
                    (car
                         (gimp-text-layer-new
                          aimg
                          g1Text
                          inFont
                          inFontSize
                          PIXELS
                         )
                     )
                )
            )
                                              
        ) 
    

        (if (= createBubbles TRUE)
        (         
            (gimp-image-add-layer theImage g1Layer 0)
            
            (gimp-text-layer-set-color m1Layer textColorM)
            
            (gimp-layer-set-offsets g1Layer 12 relLocX)
            (set! relLocX (+ (+ 12 inFontSize) space))

            
            (set! theImageWidth   (car (gimp-drawable-width  g1Layer) ) )
            (set! theImageHeight  (car (gimp-drawable-height g1Layer) ) )         
            (set! theImageX   (car (gimp-drawable-offsets  g1Layer) ) )
            (set! theImageY  (cadr (gimp-drawable-offsets g1Layer) ) )         
         

            (set! theTextBubble
                    (car
                          (gimp-image-select-round-rectangle
                          theImage 0 theImageX theImageY theImageWidth theImageHeight 12 12)
                    )            
            )    
        
            (gimp-selection-grow theImage 4)
            (gimp-context-set-foreground bubbleColor)

            (gimp-edit-bucket-fill bubbleLayer 0 0 100 0 0 0 0 )

            (gimp-layer-set-opacity bubbleLayer 90)         
         
        )) 
    )
  )         

Print this item

  Warp / transform image along path
Posted by: asdthy - 12-20-2017, 11:13 PM - Forum: General questions - Replies (6)

Hi,
I'd like to shift an image to fit a path that I've drawn. There used to be a plugin/script that did this but i can't find it anymore.
I have a few scanned images from paper sections that were a meter or more long and the images are skewed along the length varying amounts somewhat randomly.
Basically I'd draw a path along one border line of the skewed image. I'd then draw horizontal path. The plugin would subtract the space between the 2 paths in line with the vertical direction of the image.
This worked really well and  I have some other cases where I'd like to do this, but as I said I can't find the plugin anymore.

Has anyone ever done something like this or have any ideas? 

Thanks
Matt

Print this item

  Problems running python-fu in external editor
Posted by: Nodine - 12-20-2017, 08:08 PM - Forum: Scripting questions - Replies (2)

Hello! I'm looking to build a fairly advanced script using the Gimp Python extension.

I have run into some problems though, and these are my symptoms, perhaps someone here is able to help me.

When I run Python-fu from Gimp I get what you would expect, and a clear indication that everything is working.

System details:
Win10 - 64 bit

Gimp 2.8.22
Python.exe - version 2.7 (the one included in Gimp installation and seperate install to be sure)

Gimp message:

Code:
GIMP 2.8.22 Python Console
Python 2.7.10 (default, May 23 2015, 09:40:32) [MSC v.1500 32 bit (Intel)]
➤> import sys
➤> sys.path
['C:\\Program Files\\GIMP 2\\lib\\gimp\\2.0\\plug-ins', 'C:\\Program Files\\GIMP 2\\32\\lib\\gimp\\2.0\\python', 'C:\\Program Files\\GIMP 2\\Python\\python27.zip', 'C:\\Program Files\\GIMP 2\\Python\\DLLs', 'C:\\Program Files\\GIMP 2\\Python\\lib', 'C:\\Program Files\\GIMP 2\\Python\\lib\\plat-win', 'C:\\Program Files\\GIMP 2\\Python\\lib\\lib-tk', 'C:\\Program Files\\GIMP 2\\Python', 'C:\\Program Files\\GIMP 2\\Python\\lib\\site-packages', 'C:\\Program Files\\GIMP 2\\Python\\lib\\site-packages\\gtk-2.0', 'C:\\Program Files\\GIMP 2\\Python\\lib\\site-packages']
➤> gimp
<module 'gimp' from 'C:\Program Files\GIMP 2\32\lib\gimp\2.0\python\gimp.pyd'>
➤>

However when I run a script with that entire path included, from the python.exe file I get:
Code:
C:\Python27\python.exe D:/P5/m-cworkshop/Sprites2d/spritofu.py
Traceback (most recent call last):
 File "D:/P5/m-cworkshop/Sprites2d/spritofu.py", line 2, in <module>
   from gimpfu import *
 File "C:\Program Files\GIMP 2\32\lib\gimp\2.0\python\gimpfu.py", line 76, in <module>
   import gimp
ImportError: DLL load failed: Det angivne modul blev ikke fundet.

Process finished with exit code 1

So its clearly able to pick up the gimpfu.py file, but not the gimp.pyd file right next to it.

Here is what i have been able to verify so far:
My python installations are 32 bit.
This happens on both my computers.
This happens no matter how many things I include in the path, as long as I include the gimpfu.py path.

I hope you can help me.
Regards - Nodine

Print this item

  Error: .dll's missing but ....
Posted by: lpvmc - 12-20-2017, 04:04 PM - Forum: Windows - Replies (4)

Hi,

When starting up GIMP I get a dialogbox with the following message: Cann't finf the following file: ZdlPvy/c:/ProgramFiles?Gimp2/bin/libwebkitgtk-1.0-0.dll.

This happens for three different files.

When I check c:/ProgramFiles etc for the .dll's they are there.

I have no idea what ZdlPvy is, but cann't find it on my computer.

Why does Gimp report the files missing while they are there with the path as in the error.

Any comment is very much appreciated.

Kindest regards, Leo

Print this item