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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 4,820
» Latest member: bluedxca93
» Forum threads: 7,900
» Forum posts: 43,014

Full Statistics

Latest Threads
Theming 3.2 ( in my case ...
Forum: Installation and usage
Last Post: bluedxca93
10 hours ago
» Replies: 3
» Views: 129
How would I be able to be...
Forum: General questions
Last Post: rich2005
10 hours ago
» Replies: 4
» Views: 149
Color picker doesn't refl...
Forum: General questions
Last Post: CmykStudent_
11 hours ago
» Replies: 6
» Views: 1,509
gimp removes transparency...
Forum: General questions
Last Post: saint_m
Yesterday, 12:48 PM
» Replies: 5
» Views: 8,532
Converting python plugin-...
Forum: Gimp 2.99 & Gimp 3.0
Last Post: DerPit
Yesterday, 09:36 AM
» Replies: 67
» Views: 58,377
opening the image leads t...
Forum: General questions
Last Post: saint_m
06-22-2026, 01:12 PM
» Replies: 7
» Views: 311
Fine-tuning GIMP performa...
Forum: General questions
Last Post: Tas_mania
06-22-2026, 10:15 AM
» Replies: 2
» Views: 155
How to restore tool docks...
Forum: General questions
Last Post: MaxClifton
06-22-2026, 06:47 AM
» Replies: 4
» Views: 782
Requesting testers for CM...
Forum: General questions
Last Post: Malsasa
06-21-2026, 03:31 PM
» Replies: 13
» Views: 2,097
For the civil (and milita...
Forum: Watercooler
Last Post: Tas_mania
06-21-2026, 10:55 AM
» Replies: 9
» Views: 6,379

 
  Python Snippets for GIMP 3
Posted by: pixelmixer - 07-19-2025, 01:21 PM - Forum: Scripting questions - Replies (4)

Hi all,

I’m familiar with Script-Fu, but I know nothing about Python scripting. (GIMP 3)
I’m testing a macro system and would really appreciate some small, self-contained Python snippets that can run with a button press, just something minimal to confirm it's working.

Any suggestions or examples would be cool.

Thanks!

Print this item

  Gimp 3.0.4 Appimage by IvanHC, fully working
Posted by: vitforlinux - 07-19-2025, 11:44 AM - Forum: Alternate Gimp packagings - No Replies

The 3.0.2 version of Gimp AppImage by IvanHC was too lightweight and did not work completely, but with Gimp GIT, one could survive.

Today I read on my GitHub that the issues are resolved, the new 3.0.4 Works!

To download it:
https://github.com/ivan-hc/GIMP-appimage...ous-stable

G'mic is not supported.

Print this item

  text tool
Posted by: inemar - 07-19-2025, 05:53 AM - Forum: General questions - Replies (2)

After copying a text in OpenOffice, I cannot paste it into the text of the Text tool. Nothing happens but I receive the message underneath  (I translate French into English): "There is no image data in the clipboard".
Thank you for suggestions.

Print this item

Python edit_paste pastes at incorrect location after scaling
Posted by: class43 - 07-17-2025, 01:41 PM - Forum: Scripting questions - Replies (2)

I am working on an application to scale an image, but the bottom part of the image contains a special pattern that must be copied over and repeated since it is distorted during scaling. I have the following section of code:

Code:
image1 = Gimp.file_load(Gimp.RunMode.NONINTERACTIVE, Gio.file_new_for_path(image1_dir))
image1_width = image1.get_width()
       
image1.select_rectangle(Gimp.ChannelOps.REPLACE, 0, 1479, image1_width, 57)
image1_dr = image1.get_selected_drawables()
Gimp.edit_copy(image1_dr)

image.scale(image_new_width, image_height)

image1.select_rectangle(Gimp.ChannelOps.REPLACE, 0, 1479, image1_width, 57)
image1_dr = image1.get_selected_drawables()
Gimp.edit_paste(image1_dr[0], True)

image1.select_rectangle(Gimp.ChannelOps.REPLACE, image1_width, 1479, image1_width, 57)
image1_dr = image1.get_selected_drawables()
Gimp.edit_paste(image1_dr[0], True)

In this code, I select and copy an area of size (width, 57) from coordinate (0,1479). Then, I scale the image to a new width. I then try and paste the selected area at coordinates (0,1479) and then at (original_width, 1479). So the whole of the bottom of the new image should have the original pattern. However, only a region on the bottom right of the image is covered, and not at the specified regions. In an example, if width was originally 25378, and then scaled to 31234, the selected area was only pasted onto the region from (15617,1479) to (31234,1479). The other area where I pasted first from (0,1479) to (15617,1479) has the distorted pattern after scaling and not the original pattern that was pasted onto it.

Can you please explain why this occurs, and suggest a way to properly copy and paste the original pattern onto the scaled image?

Thank you for your help!

Print this item

  Clone size randomly changes
Posted by: oldschool1@runbox.com - 07-16-2025, 10:03 PM - Forum: General questions - Replies (2)

I'm running GIMP 2.10.38, but I've also downloaded 3.04 as an appimage and had the same issue with it. I'm on the latest update of MX Linux.

A few months ago, whenever I try and use the clone tool, the tool size seemingly randomly changes size and orientation when I move the cursor or tool. I've tried disabling dynamics options, but this had no effect. In the paint dynamics editor, the opacity, size, and angle have an x in the random column, which I cannot change. While I don't know if that is related, it may be relevant.

I've uninstalled and reinstalled gimp to no avail. As I've said, I downloaded 3.04 as an appimage with the same results. 

Running this for graphics:

Code:
Graphics:
  Device-1: NVIDIA GM107GLM [Quadro M1200 Mobile] vendor: Lenovo driver: nvidia v: 535.247.01
    non-free: 530.xx+ status: current (as of 2023-03) arch: Maxwell code: GMxxx process: TSMC 28nm
    built: 2014-19 pcie: gen: 1 speed: 2.5 GT/s lanes: 16 link-max: gen: 3 speed: 8 GT/s
    bus-ID: 01:00.0 chip-ID: 10de:13b6 class-ID: 0300
   Display: x11 server: X.Org v: 1.21.1.7 compositor: xfwm v: 4.20.0 driver: X: loaded: nvidia
    unloaded: fbdev,modesetting,nouveau,vesa alternate: nv gpu: nvidia display-ID: :0.0 screens: 1


ANY ideas?

Print this item

  Gimp Crash
Posted by: KjellA - 07-15-2025, 09:32 PM - Forum: Gimp 2.99 & Gimp 3.0 - Replies (1)

I have windows 11. I open Gimp 3.04 and try to open an image then gimp closes, I have uninstalled and removed everything and reinstalled but the same thing happens time and time again

Print this item

  producing an image
Posted by: MJ Barmish - 07-15-2025, 06:37 PM - Forum: Gallery - No Replies

I am currently preparing a new site, in which I intend to show how I created some of my images.
Let me give you an example (published in January on https://mjbarmish.fr). This image's primary quality is its delicacy and refined character.
However, it requires the use of at least 4 Gimp filters, not including sharpness, exposure, contrast, etc.

   

1. At the beginning there is a backlit photo of the church of a small village. It is of no interest.
   

2. I started by giving it some color with Normal map at a fairly high level 201.
   

3. Then to force the tones a little, I merged the original photo in subtraction mode.
   

4. Then I added some sharpening, before submitting the result to the recursive despeckle with extreme settings 30 -1 256.
   

5. At this point the picture becomes interesting; but it clearly lacks a finishing touch.
I then had the idea of sticking it on itself, but turning it over,
   

6. and merged in HSV saturation mode. As I expected, an aesthetically pleasing addition occurred. After, of course, exposure, sharpness, contrast...
   

Which just goes to show that you should never throw away a bad photo.

See you soon

Print this item

  GIMP 3.x: Editing a pdf
Posted by: brucemc777 - 07-15-2025, 02:38 PM - Forum: General questions - Replies (1)

In Gimp 2.x i was able to copy and paste sections of a pdf (imported as an image if that makes any difference) whereas in 3.x i cannot.

I have uninstalled and reinstalled both versions a number of times, finally reinstalling 2.8

Due to my inexperience i suspect "user error" rather than a bug.

Would anyone be so kind as to advise?

Thank you!
-Bruce

Print this item

  Gimp closes automatically
Posted by: KjellA - 07-15-2025, 01:42 PM - Forum: General questions - Replies (2)

I have installed Gimp 3.04. When I try to save a file, Gimp closes automatically. I have uninstalled and deleted all files related to Gimp and reinstalled Gimp, but the same problem persists, windows 11

Print this item

  Is This Possible ? Print centering and scaling issue
Posted by: Clueless - 07-15-2025, 12:28 PM - Forum: General questions - Replies (4)

I am trying to get this image to centre on a custom sized piece of paper 210mm x 99mm (its for sublimation onto a coffee mug) 

I have an Epson printer and have changed all the settings to what I believe are the correct ones, - user defined paper size, fit to page, centre etc.

Currently I print the images on A4 sized paper and cut them down, this is wasteful and expensive !

The paper supplier says its not possible to print this using GIMP due to centering and scaling bugs, and has suggested I change photo manipulation software which I don't want to do as its taken me a year to fumble my way around Gimp ! 

Plus the fact it would cost me £67 for the new software just to do one job  Angry 

Thanks in advance from the UK 

Clueless


   

Print this item