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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 4,964
» Latest member: TyronVeday
» Forum threads: 7,714
» Forum posts: 41,949

Full Statistics

Latest Threads
Gimp 3 path tool auto con...
Forum: General questions
Last Post: CmykStudent
2 hours ago
» Replies: 9
» Views: 466
plugin-py3-export-all
Forum: Extending the GIMP
Last Post: CowboyJoe
Yesterday, 06:38 AM
» Replies: 0
» Views: 98
Numerous issues with 3.0+...
Forum: General questions
Last Post: rich2005
11-24-2025, 09:51 PM
» Replies: 2
» Views: 162
How to transform a layer ...
Forum: General questions
Last Post: stacash
11-24-2025, 08:47 PM
» Replies: 10
» Views: 661
How to make contours in G...
Forum: General questions
Last Post: denzjos
11-23-2025, 07:10 PM
» Replies: 2
» Views: 201
Has anyone tried getting ...
Forum: Extending the GIMP
Last Post: vitforlinux
11-22-2025, 04:32 PM
» Replies: 2
» Views: 307
What exactly tutorials ar...
Forum: General questions
Last Post: sallyanne
11-22-2025, 06:44 AM
» Replies: 6
» Views: 649
Gimp 3.0.6 Python plug-in...
Forum: Scripting questions
Last Post: Scallact
11-21-2025, 09:15 PM
» Replies: 8
» Views: 406
Beginner question on Laye...
Forum: General questions
Last Post: sallyanne
11-21-2025, 01:42 AM
» Replies: 2
» Views: 303
Issue with Gradient Flare...
Forum: General questions
Last Post: ldd2
11-19-2025, 10:24 PM
» Replies: 5
» Views: 431

 
  How to apply the same adjustments to multiple images?
Posted by: ajax - 04-23-2023, 08:10 PM - Forum: General questions - Replies (7)

The idea of being able to apply the same post processing operations (i.e., adjustments) on multiple image files is a pretty conventional idea in most post processing software used to manipulate image files.  GIMP maintains a history of operations applied to a given file and allows undoing/redoing past operations.  However, I haven't found any method to preserve the complete set of operations applied to an image file in such a way that it can be subsequently applied to another file.  As best I can tell this is true even when loading multiple image files into the same instance of GIMP.

Have I failed to figure out how to do something that seems like a pretty basic feature that just about anybody would find helpful?  In fact, it looks like the only way to do this would require maintaining a separate record of every change applied to an image and then repeating all of those steps.  If so this is quite arduous and difficult to be certain about the accuracy in a reliable manner.

Print this item

  Revert to 2.10.32?
Posted by: david - 04-22-2023, 05:03 PM - Forum: Linux and other Unixen - Replies (18)

Ubuntu 20.04

Current version:
GIMP 2.10.34-1build6-ubuntu2004(focal)

Since the recent upgrade to 2.10.34 I have found it unstable - particularly for selections. Today I did a mask to selection and then found it impossible to save the selection to a channel or to exit the display of the mask. I have also found problems using colour invert, a primary blue changed to a pale blue rather than yellow. Certain operations also are very slow compared with the previous 2.10.32 version.

Is it possible to revert to 2.10.32 and retain my Python 2.7 support? (Synaptic only offers 2.10.18 as an alternative.)

I have downloaded gimp-2.10.32.tar.bz2 in case that will be of use.

I would appreciate advice before I make things worse!!!

Print this item

Python using python scripts wiht gimp 2.10 flatpak
Posted by: jacques_duflos - 04-20-2023, 09:16 PM - Forum: Scripting questions - Replies (3)

Hi there,
I recently installed ubuntu 22.10 and gimp 2.10 via flatpak. I tried to create a script with python as I was used to on previous installations, but I cant get gimp to acknowledge my scripts. I checked the folders in the preference menu, I had to create the folder because it was not done by the installation for some reason.

here is the script of my .py file

Code:
:~/.config/GIMP/2.10/scripts$ cat clothfy.py
#!/usr/bin/python
import math
from gimpfu import *

have_gimp11 = gimp.major_version > 1 or \
          gimp.major_version == 1 and gimp.minor_version >= 1

def python_clothify(timg, tdrawable, bx=9, by=9,
            azimuth=135, elevation=45, depth=3):
    bx = 9 ; by = 9 ; azimuth = 135 ; elevation = 45 ; depth = 3
    width = tdrawable.width
    height = tdrawable.height
    img = gimp.image(width, height, RGB)
    layer_one = gimp.layer(img, "X Dots", width, height, RGB_IMAGE,
                   100, NORMAL_MODE)
    img.disable_undo()
    if have_gimp11:
        pdb.gimp_edit_fill(layer_one)
    else:
        pdb.gimp_edit_fill(img, layer_one)
    img.add_layer(layer_one, 0)
    pdb.plug_in_noisify(img, layer_one, 0, 0.7, 0.7, 0.7, 0.7)
    layer_two = layer_one.copy()
    layer_two.mode = MULTIPLY_MODE
    layer_two.name = "Y Dots"
    img.add_layer(layer_two, 0)
    pdb.plug_in_gauss_rle(img, layer_one, bx, 1, 0)
    pdb.plug_in_gauss_rle(img, layer_two, by, 0, 1)
    img.flatten()
    bump_layer = img.active_layer
    pdb.plug_in_c_astretch(img, bump_layer)
    pdb.plug_in_noisify(img, bump_layer, 0, 0.2, 0.2, 0.2, 0.2)
    pdb.plug_in_bump_map(img, tdrawable, bump_layer, azimuth,
                 elevation, depth, 0, 0, 0, 0, TRUE, FALSE, 0)
    gimp.delete(img)

register(
    "python_fu_clothify",
    "Make the specified layer look like it is printed on cloth",
    "Make the specified layer look like it is printed on cloth",
    "James Henstridge",
    "James Henstridge",
    "1997-1999",
    "<Image>/Filters/Artistic/Clothify",
    "RGB*, GRAY*",
    [
        (PF_INT, "x_blur", "X Blur", 9),
        (PF_INT, "y_blur", "Y Blur", 9),
        (PF_INT, "azimuth", "Azimuth", 135),
        (PF_INT, "elevation", "elevation", 45),
        (PF_INT, "depth", "Depth", 3)
    ],
    [],
    python_clothify)
main()

some ideas of troubleshooting I can think of :
- this example of python script is very old. Where could I find a more recent one ?
- flatpak is a kind of sandbox isn't it ? is there a complementary operation I should do for gimp to accept to read a .py file ?
- the first line of the code says /usr/bin/python . but my /usr/bin folder does not contain any python file or folder. It contains python3, python3.10, python3-config and other stuffs starting with python3. Is it an issue ?

Any idea someone ?

Print this item

  Getting weird black lines on custom brush and Track Direction
Posted by: simon2 - 04-20-2023, 12:12 PM - Forum: General questions - Replies (5)

Hi,

I'm trying to make a custom brush with a gradient and then use the paintbrush tool with the "Track Direction" dynamics to give the gradient to a line that I'm drawing. The brush works fine without dynamics, but when I apply the "Track Direction" dynamics, I get these weird artefacts. Per the image below:

[Image: ICcj0bq.png]

I attach my brush, in case it's something I've done wrong making the brush.



Attached Files
.gbr   fire spell.gbr (Size: 16.04 KB / Downloads: 372)
Print this item

  For a couple of seconds, I thouhgt it was a pattern fill
Posted by: Ofnuts - 04-20-2023, 11:46 AM - Forum: Watercooler - Replies (3)

Image is here.

On the whole, his cartoons are spot on (I especially enjoy the ones on science), and I love the minimalist style.

Print this item

Information Put something in a hand
Posted by: K-Z - 04-19-2023, 05:59 PM - Forum: General questions - Replies (4)

Good day!

I am new to Gimp and already learned a lot from the forum, thanks for everything.
However i have 1 question.
I would like to photoshop something in a hand, a phone for example sometimes.
However, when I paste a new layer over the existing photo, the thing covers the whole hand. How do i get the fingers from the background to 'hold' the item in the hand? so that the hand is behind the item, but it looks like the fingers hold it.

thanks in advance!!! you are doing a great job all Smile


I mean something like this:

[Image: stock-afbeelding-hand-met-telefoon-image7508631]

But when i try it, the phone covers the whole hand, also the thumb that's covers it

Print this item

  Easy Way To Generate Random, Secure Passwords On Linux
Posted by: Tas_mania - 04-18-2023, 01:36 AM - Forum: Watercooler - No Replies

There has been a lot of scams and data loss this year. I found this way to make secure passwords on my Ubuntu-based system.

#  openssl rand -base64 14

The base64 supports standard keyboards and leaves '=' at the end of passwords. They can be left out is you want.

Print this item

  Old "glossy" plugin?
Posted by: MarisaG - 04-16-2023, 12:13 PM - Forum: Extending the GIMP - Replies (2)

I use the "glossy" plugin all the time, but it seems to be removed in recent versions of Gimp. I had a copy saved off but can't find it. Can anyone post it or tell me where I can find it? Thx!

Print this item

  gimp Tools text select text and hover to see name of the font when not installed on s
Posted by: JJGimp - 04-14-2023, 04:47 PM - Forum: General questions - Replies (1)

Hello, I had to reinstall gimp and some of the fonts in my previously created xcf files are not "on the system" - I need to make an edit and need to find out what the font is to reinstall it. Somehow when I was on the text layer and selected "Tools > Text" and selected the text, while the text box was in red and said "Standard" (Since font not on system) there was a "pop up"? that identified the font. When I try to duplicate this for another font style, I can't. Does anyone know what the steps are to see this?

Thank you!

Print this item

Scheme Editing max and min .scm
Posted by: Krikor - 04-14-2023, 01:57 PM - Forum: Extending the GIMP - Replies (5)

Hey guys,

I would like a small favor.

I would like to change a script so that it allows me to enter 0 (zero) as a minimum value and 2000 as a maximum value.

The script in its original form only allows me to enter values from 1 to 500.

I thought of manually editing the values in the .scm file, changing the values 1 to zero and 500 to 2000 respectively, but when in doubt I decided to ask for help.

Below the .scm

Code:
; Luigi Chiesa 2008.  No copyright.  Public Domain.
; Add a grid of guides
; 2012 R. Antonishen - modified to allow creating a grid of guides based of the active layer rather than the image canvas

(define (script-fu-grid-guides InImage InSource InHGrid InVGrid InMode InBorder)
 (gimp-image-undo-group-start InImage)
 (let* (
       (width (if (= InSource 0) (car (gimp-image-width InImage)) (car (gimp-drawable-width (car (gimp-image-get-active-drawable InImage))))))
         (height (if (= InSource 0) (car (gimp-image-height InImage)) (car (gimp-drawable-height (car (gimp-image-get-active-drawable InImage))))))
       (divH (if (= InMode 0) (/ width InHGrid) InHGrid))
       (divV (if (= InMode 0) (/ height InVGrid) InVGrid))
       (InHGrid (if (= InMode 0) InHGrid (/ width InHGrid)))
       (InVGrid (if (= InMode 0) InVGrid (/ height InVGrid)))
       (hcount 1)
       (vcount 1)
       (xoff (if (= InSource 0) 0 (car (gimp-drawable-offsets (car (gimp-image-get-active-drawable InImage))))))
       (yoff (if (= InSource 0) 0 (cadr (gimp-drawable-offsets (car (gimp-image-get-active-drawable InImage))))))
       )
       
   (if (= InBorder TRUE)
     (begin
       (if (and (>= yoff 0) (<= yoff (car (gimp-image-height InImage))))(gimp-image-add-hguide InImage yoff))
       (if (and (>= (+ yoff height) 0) (<= (+ yoff height) (car (gimp-image-height InImage)))) (gimp-image-add-hguide InImage (+ yoff height)))
       (if (and (>= xoff 0) (<= xoff (car (gimp-image-width InImage)))) (gimp-image-add-vguide InImage xoff))
       (if (and (>= (+ xoff width) 0) (<= (+ xoff width) (car (gimp-image-width InImage)))) (gimp-image-add-vguide InImage (+ xoff width)))
     )
   )
    
   (while (< hcount InVGrid)
     (if (and (>= (+ yoff (* divV hcount)) 0) (<= (+ yoff (* divV hcount)) (car (gimp-image-height InImage)))) (gimp-image-add-hguide InImage (+ yoff (* divV hcount))))
     (set! hcount (+ hcount 1))
   )

   (while (< vcount InHGrid)
     (if (and (>= (+ xoff (* divH vcount)) 0) (<= (+ xoff (* divH vcount)) (car (gimp-image-width InImage)))) (gimp-image-add-vguide InImage (+ xoff (* divH vcount))))
     (set! vcount (+ vcount 1))
   )

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

(script-fu-register
 "script-fu-grid-guides"
 "<Image>/Image/Guides/Grid"
 "Add a grid of guides by specifying either the number of guides or the guide spacing"
 "Luigi Chiesa and Rob Antonishen"
 "Public Domain"
 "November 2009"
 "*"
   SF-IMAGE      "Image"   0
    SF-OPTION       "Based on" '("Image Canvas" "Active Layer")    
    SF-ADJUSTMENT    "Horizontal"    '(2 1 500 1 10 0 1)
    SF-ADJUSTMENT    "Vertical"    '(2 1 500 1 10 0 1)
    SF-OPTION       "Mode" '("Number of Divisions" "Spacing of Guides (px)")    
   SF-TOGGLE "Border guides?" FALSE
)

Thanks in advance!

Print this item