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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 4,924
» Latest member: Volker
» Forum threads: 7,689
» Forum posts: 41,821

Full Statistics

Latest Threads
Text Editor hardly ever w...
Forum: General questions
Last Post: denzjos
21 minutes ago
» Replies: 2
» Views: 78
How to get G'MIC within G...
Forum: General questions
Last Post: sallyanne
3 hours ago
» Replies: 1
» Views: 85
How to make image and mas...
Forum: Installation and usage
Last Post: Ofnuts
11 hours ago
» Replies: 5
» Views: 228
Colorized Layer Reverts t...
Forum: General questions
Last Post: rich2005
Yesterday, 02:42 PM
» Replies: 3
» Views: 178
Multi window mode mode fa...
Forum: General questions
Last Post: teapot
11-07-2025, 01:40 PM
» Replies: 5
» Views: 336
Animation with only GIMP ...
Forum: Gallery
Last Post: Scut-51
11-06-2025, 11:49 AM
» Replies: 25
» Views: 22,999
GIMP 3.04 opens with wind...
Forum: Windows
Last Post: subbareddy
11-05-2025, 07:47 AM
» Replies: 7
» Views: 3,800
Isolate, select and copy/...
Forum: General questions
Last Post: rich2005
11-04-2025, 04:39 PM
» Replies: 7
» Views: 510
"Plug-in crashed" on GIMP...
Forum: General questions
Last Post: skullamrotis
11-04-2025, 03:32 PM
» Replies: 4
» Views: 465
AIMAGoR - Artificial IMAg...
Forum: Other graphics software
Last Post: vitforlinux
11-04-2025, 12:09 PM
» Replies: 23
» Views: 9,954

 
  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

  Color is not translating correctly
Posted by: Mfrench4712 - 07-14-2025, 04:00 PM - Forum: General questions - Replies (1)

New user to Gimp.  So if there is something more I need to provide, let me know.

Gimp Version:  3.0.4
OS:  Windows 10
Attempting to use the Color/Hue Saturation feature to isolate one color in the picture but the colors are not translating correctly.

Original file was in RAW format
Was converted using RAW Therapee 5.11
Not sure if I selected the correct options, but the yellow changes to black when using the color/hue saturation option

See attached screenshot file

Thank you,

Margaret



Attached Files Thumbnail(s)
   
Print this item

  Endianess of pixel data in a Python region for gimp 2.10.
Posted by: teapot - 07-14-2025, 02:49 PM - Forum: Scripting questions - Replies (5)

For gimp 2.10, is my understanding correct?

Given a region's bytes from a layer ‘l’:

    r = l.get_pixel_rgn(0, 0, w, h)
    rb = r[:, :]

I think rb will hold the bytes of the channel's values in the machine's native endianess because:

- a region maps onto tiles,
- getting the tile's pixels uses a simple memcpy(), and
- a tile's pixels are in the native endianess.

I'm aware tile data in an XCF file is big-endian from
https://testing.developer.gimp.org/core/...ganization
But I'm interested in what's in memory and guaranteed to be seen through slicing a Python region into a string of bytes.

Print this item