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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 5,001
» Latest member: Lebatron
» Forum threads: 7,739
» Forum posts: 42,063

Full Statistics

Latest Threads
Path autocurves plugin (G...
Forum: Extending the GIMP
Last Post: Scallact
3 hours ago
» Replies: 5
» Views: 502
Inside drop shadow maybe?...
Forum: General questions
Last Post: rich2005
Yesterday, 09:55 PM
» Replies: 1
» Views: 140
Help with colour matching
Forum: General questions
Last Post: denzjos
12-13-2025, 05:05 PM
» Replies: 1
» Views: 221
Problem posting an update...
Forum: Gimp-Forum.net
Last Post: Scallact
12-13-2025, 10:29 AM
» Replies: 14
» Views: 568
GIMP 3.x Python Plugin Is...
Forum: Scripting questions
Last Post: Ofnuts
12-13-2025, 08:53 AM
» Replies: 1
» Views: 198
Gimp larger than Screen
Forum: General questions
Last Post: sallyanne
12-13-2025, 03:53 AM
» Replies: 2
» Views: 248
Straighten your image bef...
Forum: General questions
Last Post: ESH
12-12-2025, 09:26 PM
» Replies: 4
» Views: 279
Can't Find where to insta...
Forum: OSX
Last Post: rich2005
12-12-2025, 10:21 AM
» Replies: 1
» Views: 180
Transparent Background Ad...
Forum: General questions
Last Post: sallyanne
12-12-2025, 02:27 AM
» Replies: 1
» Views: 210
Gimp exports TIFFs with s...
Forum: General questions
Last Post: ESH
12-12-2025, 12:34 AM
» Replies: 4
» Views: 382

 
  several register by python file ?
Posted by: jacques_duflos - 07-25-2023, 07:07 PM - Forum: Scripting questions - Replies (3)

I am doing a script that I want to execute very quickly with a shortcut, or more slowly with a option window. Something similar to "save" (quickly executed with ctrl+s) and "save as ..." (with a window to precise options). How should I do ?

  1. Should I do two completely separated plug-ins ?
  2. Or one plug-in with two python files in it (one importing the other I guess) ?
  3. Or can I put several register function in one python script ?
  4. other ?
I would say the third option is the best, but as I can't remember having seen such thing anywhere, I wonder if there are habits or rules about that.
The code would look like that :

Code:
from gimpfu import *

def slow_function(image, layer, other, options):
    #some code

def quick_function(image, layer):
    slow_function(image, layer, defaults, values)

register(
    "python-fu-quick-function",
    "description",
    "description",
    "Your Name",
    "Your Name",
    "2023",
    "<Image>/Filters/quick function",
    "*",
    [],
    [],
   quick_function)

register(
    "python-fu-slow-function",
    "description",
    "description",
    "Your Name",
    "Your Name",
    "2023",
    "<Image>/Filters/slow function ...",
    "*",
    [
        (PF_IMAGE,  'image',            'Image', None),
        (PF_OPTION, 'some option')],
        (PF_OPTION, 'some other option')]
    [],
    slow_function)

main()

Print this item

  Resizing Images
Posted by: Azean - 07-25-2023, 03:55 PM - Forum: General questions - Replies (2)

Hello, 

I've messed around with Gimp for a few years when I need to do something but today I'm having a lot of problems using the scale tool. I have a base layer with an image, I paste in a second image that I put on its own layer that I can manipulate with the unified transform tool and rotate tools just fine but the image is too large and I wanted to scale it down with the scale tool but I am unable to just select the image I want and instead it selects the whole canvas. What am I doing wrong? I don't ever recall having this issue before so I guess I'm doing something wrong.

Cheers
Az



Never mind, I figured it out shortly after posting. In tool options Transform was set to image instead of layer *face palm*

Sorry about that, if you're a mod please delete the thread Smile

Print this item

  Github for gimp plug ins
Posted by: jacques_duflos - 07-25-2023, 01:16 AM - Forum: Extending the GIMP - Replies (1)

Is it a good idea to use github for creating and using gimp plug-ins ? I guess it is very useful to share them, and for team work. But is it useful to clone a repository directly in your plug-in folder ? will it keep the plug-ins up to date ?

I just started using it but I'm still very new to it. If anyone has pieces of advice, experience or whatever  please share

Print this item

  No wonder it's difficult, even the English don't agree between themselves
Posted by: Ofnuts - 07-24-2023, 07:18 PM - Forum: Watercooler - No Replies



Print this item

  I'm looking for a GIMP extension.
Posted by: piotrek94k - 07-24-2023, 05:37 PM - Forum: Extending the GIMP - Replies (2)

Hello,
Could someone recommend me an extension that makes it possible to create nice logos and inscriptions.
I've attached a preview image of what I mean.
Thank you very much for your time.
Have a good evening.
Piotrek



Attached Files Image(s)
   
Print this item

  Spot the differences
Posted by: Ofnuts - 07-24-2023, 04:52 PM - Forum: Gallery - Replies (10)

   
   

Print this item

  How do I make dds texture look like this?
Posted by: shaaratmook - 07-24-2023, 01:59 PM - Forum: General questions - Replies (1)

Hello im new into modding and im trying to create a weapon for a certain game but i found out that theres a trick to make the dds texture of the model more optimize for the game thats what im trying to accomplish but first how im gonna do that I mean to make the texture look like this one.

https://cdn.discordapp.com/attachments/1...xample.dds

Print this item

  How do I make(more than one) straight line?
Posted by: Zio - 07-23-2023, 03:17 AM - Forum: General questions - Replies (7)

Hello all,
Just starting out with GIMP, and have run into a problem.  I watched a tutorial video about how to make straight lines using the SHIFT key, but then when I try to make another line, that second line turns out thinner and in a faded green/blue color.  What am I doing wrong?  Huh

Print this item

  Discovered a new way to change radio
Posted by: PixLab - 07-21-2023, 09:54 AM - Forum: Watercooler - Replies (4)

http://radio.garden

Funny way to change radio, just turn the Earth and get local radios, zoom in to fine tune your radio, nothing else to do it streams automatically Big Grin

   

Print this item

  Wallpaper
Posted by: diagramjamal1 - 07-21-2023, 07:17 AM - Forum: Gallery - Replies (2)

https://ibb.co/6nLKfYp

Print this item