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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 4,980
» Latest member: markhahn2000
» Forum threads: 7,725
» Forum posts: 41,996

Full Statistics

Latest Threads
GIMP 3.0.6 only uses a fe...
Forum: General questions
Last Post: rich2005
2 hours ago
» Replies: 2
» Views: 151
GIMP 3 script-fu not load...
Forum: Scripting questions
Last Post: Ofnuts
5 hours ago
» Replies: 1
» Views: 60
What exactly tutorials ar...
Forum: General questions
Last Post: SleipnirTheHorse
Yesterday, 05:35 PM
» Replies: 7
» Views: 829
Déformation par "Cage"
Forum: General questions
Last Post: rich2005
Yesterday, 09:27 AM
» Replies: 7
» Views: 377
Average colour in GIMP - ...
Forum: Extending the GIMP
Last Post: Ofnuts
12-02-2025, 08:57 PM
» Replies: 5
» Views: 351
Plugins with Gimp 3.2 RC1...
Forum: General questions
Last Post: rich2005
12-02-2025, 08:10 PM
» Replies: 1
» Views: 213
Isse with applying Layer ...
Forum: General questions
Last Post: rich2005
12-02-2025, 08:21 AM
» Replies: 1
» Views: 181
Batcher - Batch Image Pro...
Forum: Extending the GIMP
Last Post: chuckhenrich
12-01-2025, 10:51 AM
» Replies: 7
» Views: 8,541
plugin-py3-export-all
Forum: Extending the GIMP
Last Post: Ofnuts
12-01-2025, 08:19 AM
» Replies: 6
» Views: 513
pencil don't have full co...
Forum: General questions
Last Post: rich2005
11-30-2025, 08:03 PM
» Replies: 4
» Views: 3,507

 
  How to pad an image with extra transparent border
Posted by: rinaldop - 01-20-2024, 11:58 AM - Forum: General questions - Replies (8)

Hello all,

I am back with a continuation of my project from my last post. I have 60 images that start at 420x37 and decrease in length by 7 pixels per image like so

   
   
...
   

What I need to do is make all of the images back to 420x37 by putting a transparent edge on the left side like so
   

I am on the right track using canvas resize with an offset to move the image to the right. Everything looks fine in Gimp but when I try to flatten the image so that I can save the new file I get an error.

Also is there a way to automate the process for all 60 images?

Thanks for helping out a newbie!

Print this item

  Open Perspective Tool with detached adjustment Dialog
Posted by: MrGrey - 01-20-2024, 09:25 AM - Forum: General questions - Replies (3)

Hi,

when i open the perspective tool the adjustment Dialog is fixed to the top right corner. i have to detach it manually every time i use the tool. I is possible to open the dialog detached every time i use the tool?

Print this item

  Change Foreground Colour dialog
Posted by: Quasar999 - 01-19-2024, 09:59 PM - Forum: Installation and usage - Replies (1)

Hello
is there a shortcut to call the Change Foreground Color that work also when the panels are hide?

Print this item

  Transform an image into different aspect ratios
Posted by: SpaceMonkey - 01-18-2024, 10:11 PM - Forum: Scripting questions - Replies (7)

Hello,

I just started today with this quest:

1.) Read the filename and save it.
2.) Resize the image to a specific aspect ratio.
3.) Add a prefix to the filename and save it as an jpeg in a specific folder.
4.) Undo all steps and repeat steps 2. und 3. different values.

I came this far:

Code:
from gimpfu import *

# The real code.
def setAspectRatios():
   # create the object of the image
   image=gimp.image_list()[0]
   # resizes the file to AR 2-3
   pdb.gimp_image_resize(image, 5333, 8000, -345, 0)
   # create the new name AR 2-3
   img_name_ar_2_3 = "AR_2-3_" + image.name
   # define drawable
   drw = image.layers[0]
   # save the image as jpeg
   pdb.file_jpeg_save(image, drw, img_name_ar_2_3, img_name_ar_2_3, 0.90, 0, 1, 1, "Aspect Ratio 2-3", 3, 1, 0, 2)

   
register(
   'set-aspect-ratios',                # Unique ID,
   'create different aspect ratios',   # Description/title
   'Add a white layer',                # Help
   "Author",                           # KJ
   "Author",                           # Copyright KJ
   "2024",                             # Copyright 2024
   'Set Aspect Ratios',                # The menu label
   "RGB*",                             # The type of images it can work on. Use "*" for all types
   # [                                 # List of input parameters
   #    (PF_IMAGE, "image", "Input image", None)  
   #                                                
   #],
   [],                                 # List of output parameters
   setAspectRatios,                      # The Python code that implementsthe plugin
   menu="<Image>/Layer",               # Where the menu label above appears
)

main()

But I have some questions to fill the blanks:

Q1: I know now that image.name does not work properly. Is there another way besides using pdb.gimp_image_get_filename(image) and trim the complete path down to the filename to just get the name of the file I imported?
Q2: What type is "drawable" - I could not find a good explanation. Do I use this correctly?
Q3: Undo is still a miracle for me. I saw that you can create groups and that you can enable, freeze, and disable it but I dont know how to trigger a simple undo to reverse steps 2. and 3. to the back to the original image.

Thanks in advance! Smile

Print this item

  Lost box
Posted by: Ernst - 01-18-2024, 01:49 PM - Forum: General questions - Replies (3)

I lost the tool detail box. For instance, the Dodge/burn tool is active but I cannot see the size, opacity and so on sliders. How do I get it back?

Print this item

  Help with creating an animation from right to left
Posted by: rinaldop - 01-17-2024, 03:50 PM - Forum: General questions - Replies (4)

Hello,

I have a strange question that I hope I can explain well. I have created 60 frames of a line image that shrinks from right to left. Here is a representation to try and show what I am doing 

----->
--->
->

I did this by creating each image 7 pixels shorter and then displaying image 60 to 1 in a countdown 

What I want to do now is reverse the animation like this 

<------
<---
<-

The problem is that I am trying to do this in a program that is used to create graphics for PC Sensor Panels (Aida64)

Apparently it displays images left justified so the only way I can think to do this is to push the frames from right to left like this 

<-----
..<---
....<-

and make the ... transparent 

Is there an easier way?

Thanks

Print this item

  gimp terminal
Posted by: beezle - 01-17-2024, 01:16 PM - Forum: General questions - Replies (2)

something strange. l am using linux lite 6. i was looking on the internet for something similar to the old windows paint program and i came across, you guessed it, gimp. so being a little smart, i looked in my menu under graphics and all accessories. no gimp. next smart thing. i typed gimp in terminal. gimp 2.10 loaded up on my screen, i did my old paint things successfully, with no error messages, and closed gimp.  i incorrectly assumed i had installed gimp on my computer by type gimp in terminal. alas no gimp in my menu. so what the heck was that? and i can do it again.

Print this item

  Is there always another option?
Posted by: denzjos - 01-16-2024, 09:22 AM - Forum: Watercooler - Replies (1)

https://www.youtube.com/watch?v=34wbi7hPGUw

Print this item

  Updating G'Mic
Posted by: FlutteringBy - 01-15-2024, 06:19 PM - Forum: Extending the GIMP - Replies (9)

Hi All,
I currently have version 3.2.6 installed in Gimp 2.10.36 in windows 11...

Do I install version 333 directly on top of the old version or does it need to be uninstalled?

How do I uninstall it?

Thanks,
FlutteringBy

Print this item

  Trouble with a plugin
Posted by: Tulevik - 01-14-2024, 11:09 PM - Forum: General questions - Replies (2)

Good evening,

I am using GIMP 2.10.18 on a MX Linux distro. I can't use nor see this plugin, despite being included into the /home/username/.config/GIMP/2.10/plug-ins/ folder:

https://www.gimpscripts.net/2020/12/cale...64bit.html

I know that it is a plugin which is apparently designed for the Windows version of GIMP. But, can I use it somehow on Linux? Can I convert to a format that Linux understands it?

I tried to launch GIMP for Windows via Wine and put that plugin in the corresponding plug-ins folder, but when I launch that plugin, GIMP hangs up.

Thanks in advance!

Print this item