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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 5,631
» Latest member: Donaldfuh
» Forum threads: 7,176
» Forum posts: 39,209

Full Statistics

Latest Threads
gradients semi transparen...
Forum: General questions
Last Post: Ulodesk
Yesterday, 05:00 PM
» Replies: 3
» Views: 159
Multiple install paths in...
Forum: Windows
Last Post: LateJunction
Yesterday, 08:38 AM
» Replies: 2
» Views: 174
Information about GAP
Forum: Extending the GIMP
Last Post: ElMastro
Yesterday, 01:51 AM
» Replies: 4
» Views: 492
Copy color effect to othe...
Forum: General questions
Last Post: PBog
02-20-2025, 12:56 PM
» Replies: 6
» Views: 343
Some questions about brus...
Forum: General questions
Last Post: rich2005
02-20-2025, 09:05 AM
» Replies: 2
» Views: 177
flowery cliff
Forum: Gallery
Last Post: MJ Barmish
02-19-2025, 01:29 PM
» Replies: 2
» Views: 177
How can I run Flatpak ver...
Forum: Linux and other Unixen
Last Post: Ofnuts
02-18-2025, 11:27 PM
» Replies: 3
» Views: 204
Export all opened images ...
Forum: Extending the GIMP
Last Post: Krikor
02-18-2025, 09:18 PM
» Replies: 8
» Views: 5,073
Arrow Script
Forum: Extending the GIMP
Last Post: programmer_ceds
02-18-2025, 04:51 PM
» Replies: 122
» Views: 152,474
Turn photo negative to po...
Forum: Tutorials and tips
Last Post: programmer_ceds
02-18-2025, 11:11 AM
» Replies: 4
» Views: 12,180

 
  Scripting help at my new job
Posted by: Deathharmonicon - 10-23-2020, 05:34 PM - Forum: Scripting questions - Replies (4)

So I’ve dabbled in scripting before but am not super well versed in it. However, I just took on a position at my job doing image editing for our online webstore. I’m able to do it easy enough in GIMP, but it’s doing the same edit over and over and I know that there has to be a way to script it so that I can do so more efficiently, I just have been having a hard time trying to understand how to write the script. I have access to Python-fu and Script-fu, but would prefer to use Python. 
So here’s what I do to each image. Once I’ve gone through and manually selected what I need to, I do the same series of actions every time, and this is what I’m trying to script:

1. Layer > Transparency > Add Alpha Channel

2. Edit > Clear (or Hit Delete)

3. Deselect (Not absolutely necessary)

4. Image > Canvas Size > Height: 950 > Width: 950 > Center > Resize

5. File > Export As > ‘file name’.png > Export (Exporting the image and changing it from jpg to png)


And that’s it. I open an image, select the background, and then do those same steps every single time. So I was wondering if anyone could help me figure out the script for doing this every time. It would expedite the process to go so much quicker and I would greatly appreciate it. Thanks!

Print this item

  fix distorted round
Posted by: denzjos - 10-23-2020, 08:47 AM - Forum: General questions - Replies (12)

Is there a way to fix images with distorted round objects to perfect round objects? I think of a plugin / script where one can place a few points on the distorted circle or use a path / selection. Playing with the different gimp tools is time consuming to get a good result. An example to correct :
   

Print this item

  Gimp 2.10 crashing every time I try to cut or copy
Posted by: thesun - 10-23-2020, 03:35 AM - Forum: General questions - Replies (9)

I hope someone here will help with a problem that repeatedly happens and basically (overnight, it seems!) has made GIMP unusable:

I open a photo.  Highlight some area.  Hit either Edit > Cut, Edit > Copy, or Cntl-x or Cntl-c, and poof, GIMP crashes.  Every time.

It doesn't seem to matter the size of the document or area I'm trying to copy.

I saw some thread on another forum saying if on has CopyQ installed that may cause issues, but I don't believe I do.  (I'm running Lubuntu 20.04LTS, a vanilla install, nothing modified.  It's LXQt, if that matters.  And my system is a newish Dell with 40GB of RAM, so I doubt it's a memory problem.)

I desperately need to fix this or find a work around.  Here's the output when I run GIMP from the command line:

me@home:~$ gimp
using gegl copy

(gimp:248888): Gdk-CRITICAL **: 22:06:25.414: IA__gdk_window_get_events: assertion 'GDK_IS_WINDOW (window)' failed

(gimp:248888): Gdk-CRITICAL **: 22:06:25.414: IA__gdk_window_set_events: assertion 'GDK_IS_WINDOW (window)' failed
The program 'gimp' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadWindow (invalid Window parameter)'.
(Details: serial 95997 error_code 3 request_code 18 minor_code 0)
(Note to programmers: normally, X errors are reported asynchronously;
that is, you will receive the error a while after causing it.
To debug your program, run it with the --sync command line
option to change this behavior. You can then get a meaningful
backtrace from your debugger if you break on the gdk_x_error() function.)

(script-fu:248910): LibGimpBase-WARNING **: 22:06:25.457: script-fu: gimp_wire_read(): error

Thank you in advance for any help.

Print this item

  Removing object with GMIC not working
Posted by: Muzician - 10-22-2020, 08:51 AM - Forum: General questions - Replies (7)

I followed this tutorial but when I get to the point of applying or hitting okay the progress bar comes up for a couple of seconds but nothing happens. Any insight as to how to make this work?

Remove Anything From A Photograph in Gimp using GMIC




Print this item

  How to change the menu icon size?
Posted by: Marge Simpson - 10-20-2020, 01:34 AM - Forum: General questions - Replies (3)

I rotated the screen capture 90 degrees because it would be too long vertically.

As you see below, even though I have changed the UI font size by editing the "gtkrc" file, the icons does not seem to scale. Those images seem to be from share\gimp\2.0\icons\Symbolic-High-Contrast\scalable\apps, and they are vector images (.svg), but they don't scale at all. Whether at I choose Preference->Interface->Icon Theme "Guess icon size from resolution" or "Custom icon size = Huge", the menu icon size does not change.

Is there any way to change the menu icon size? Or is this a bug and there is currently no way to change the menu icon size?


[Image: ATgIyKM.png]

Print this item

  Issues with Image size, Canvas size
Posted by: rhenkel - 10-17-2020, 11:44 PM - Forum: General questions - Replies (2)

[I’ve been using GIMP for a couple of months.  After creating a new document 11x17 inches, 300dpi, I export a pdf and take it to the printer who says the document is actually over 50” wide.  I’ve spent a lot of time trying to get this right, including watching several instructional videos. 

Maybe when I bring artwork that was shot on my iPhone into GIMP the canvas size changes?  I don’t understand what’s happening here.

Can you help?

Thank you.
I’m using a MacBook Pro, Catalina 10.15.7

Print this item

  Presets Curves - Where is it saved?
Posted by: Krikor - 10-17-2020, 05:41 PM - Forum: General questions - Replies (4)

Hi,
When creating a preset in Curves using the option:
Save the current settings as named preset, where is this preset saved? in which file?

I searched the drive C:/  but returned nothing in the search.

Thank you

Print this item

  Convert .sut (Clip Studio Paint brush) into .gbr (GIMP brush)
Posted by: natineo - 10-17-2020, 04:18 PM - Forum: Linux and other Unixen - Replies (1)

Hi everyone

I have a set of Clip Studio Paint brushes in the .sut format.
I can't open them with GIMP.

Do you know how to convert those files into .gbr or any other readable format?

Thank you!

Print this item

  Print JPEG Letter Size
Posted by: Borgward1 - 10-16-2020, 07:51 PM - Forum: Older Gimp versions (2.8, 2.6....) - Replies (1)

jpeg is 349 X 459. How do I print it so it fills up 8-1/2" X 11 sheet?

I did this once before, but the image just prints a lot smaller.

Using HP Office-Jet Pro 6970. Can't remember what printer I used before.

Print this item

  Turn text around.
Posted by: hendrikbez - 10-16-2020, 11:52 AM - Forum: General questions - Replies (8)

I have the following in a file, but how do i turn it. (see screenshot) using "APR" I ant to tun it around so it will for and looks like 3rd picture.

I need to change a few of the single color ones, and then change the few in the one with all of them.

I want to change APR, MEI, JUN, JUl and AUG.

I did add one to how I need it.

Just need help with only one, the others I will then trying to do them.

Print this item