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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 5,985
» Latest member: Timothyunulk
» Forum threads: 7,398
» Forum posts: 40,288

Full Statistics

Latest Threads
Is there a way to use *.8...
Forum: Gimp 2.99 & Gimp 3.0
Last Post: rich2005
12 minutes ago
» Replies: 1
» Views: 25
RawTherapy to Gimp
Forum: General questions
Last Post: rich2005
23 minutes ago
» Replies: 1
» Views: 17
Recent folders missing fr...
Forum: Gimp 2.99 & Gimp 3.0
Last Post: sawzie
8 hours ago
» Replies: 0
» Views: 7
crop and straighten photo...
Forum: General questions
Last Post: denzjos
Yesterday, 10:51 AM
» Replies: 6
» Views: 163
Color fill into pasted la...
Forum: General questions
Last Post: sallyanne
Yesterday, 06:39 AM
» Replies: 1
» Views: 118
Arrow Script
Forum: Extending the GIMP
Last Post: Chris Thompson
05-08-2025, 07:48 PM
» Replies: 133
» Views: 168,953
ofn3-layer-tiles
Forum: Extending the GIMP
Last Post: karaxus
05-08-2025, 10:53 AM
» Replies: 7
» Views: 1,055
Slowing down
Forum: General questions
Last Post: rich2005
05-08-2025, 10:33 AM
» Replies: 2
» Views: 222
Script-Fu in GIMP 3 websi...
Forum: Extending the GIMP
Last Post: pixelmixer
05-08-2025, 10:22 AM
» Replies: 13
» Views: 1,319
AppImage for 2.10.38
Forum: Alternate Gimp packagings
Last Post: Tas_mania
05-07-2025, 11:10 PM
» Replies: 4
» Views: 324

 
  Converting Gimp Files to JPEG
Posted by: scave - 03-30-2025, 10:11 PM - Forum: General questions - Replies (3)

I have many photos stored on my hard drive. They were saved as JPEG. Somehow I clicked something in Gimp I think, that converted them all to a Gimp filea.  What can I do to convert the photos on my hard drive back to JPEG?  In Gimp they show as JPEG.   Is there a one click thing that will convert them (one's on hard drive) back to JPEG?  Also, I am using 3.02(revision 1). That was not a choice I could select when I registered.
Thank you,
Scave

Computer Screen:
   

Gimp Screen:
   

Print this item

  Transforming an image?
Posted by: Knusbrich - 03-30-2025, 06:31 PM - Forum: General questions - Replies (1)

First of all, I would like to mention that I am an absolute beginner in using GIMP.

I have a picture of a fence photographed from a drone. The fence looks like an ellipse in the picture, but in reality the fence is square. I have studied various videos on Youtube, but have not found one that helps me further. I imagine a kind of free transform tool where you can push and pull the frame of the picture in different places, so that the fence becomes more square. In short, it is described as changing an ellipse to a square. Does anyone have a link to a tutorial or a plugin that can help with this task?

Print this item

  Converseen batch image processor
Posted by: denzjos - 03-30-2025, 07:09 AM - Forum: Other graphics software - No Replies

Converseen is a free cross-platform batch image processor for Windows, Linux, macOS, FreeBSD, and other operating systems. It allows you to convert, resize, rotate, and flip an infinite number of images with a single mouse click. Moreover, Converseen can convert an entire PDF document into a set of images with your preferred characteristics. You can choose from over 100+ formats, set the size, resolution, and the filename.

https://converseen.fasterland.net

Print this item

Photo size of image in editing window
Posted by: Stevend - 03-29-2025, 05:59 PM - Forum: Windows - Replies (2)

Hi first time user here, have (rarely) used the P8888shop (sorry if thats a swear word) before but I am finding Gimp (3.0.2.1) a Steep learning curve.

All I am trying to do at the moment is find out how to make an image appear full size in the editing window rather than it being so fiddly small.  I found something onling about scaling but I am not trying to change the size of the image, I just want it to show as large as the window will allow without changing aspect ratio. In other software there is a simple "show image to window size" or something like that.
 

I am running W11 Pro 64bit patched upto date. 

I have attached an example picture which shows how much unused space in the editing window is wasted. I cant believe this needs more than a single "click" somewhere to make this the default??

Any help appreciated.



Attached Files
.pdf   small image.pdf (Size: 206.93 KB / Downloads: 42)
Print this item

  Python Scripting Help Needed Gimp 3
Posted by: silenuznowan - 03-29-2025, 05:37 PM - Forum: Gimp 2.99 & Gimp 3.0 - Replies (1)

I have some simple batch scripts for version 2 that I am trying to convert to work with version 3, which I really like working with.

Anyway one simple script was this:

Code:
import os
import gimpfu

def convert(filename):
    img = pdb.gimp_file_load(filename, filename)
    new_name = filename.rsplit(".",1)[0] + ".png"
    layer = pdb.gimp_image_merge_visible_layers(img, 1)
    pdb.gimp_file_save(img, layer, new_name, new_name)
    pdb.gimp_image_delete(img)
    savepath = ('${DEST}' + '/' + "$1" )
    if os.path.exists(savepath):
        print('the folder exists')
    else:
        os.makedirs(savepath)
    os.rename(new_name, savepath + "/" + new_name)

from glob import glob
for filename in glob("*.xcf"):
    print(filename)
    convert(filename)

pdb.gimp_quit(1)

I'm now trying to do the equivalent with Gimp 3 but am unable to even load the file.

In Gimp 2 you could load a file with the one line:

Code:
img = pdb.gimp_file_load(filename, filename)

So now this is replaced with:

Code:
def load_file(filename):
    procedure = Gimp.get_pdb().lookup_procedure('gimp-file-load');
    config = procedure.create_config();
    config.set_property('run-mode', Gimp.RunMode.NONINTERACTIVE);    
    config.set_property('file', filename);
    result = procedure.run(config);
    success = result.index(0);
    image = result.index(1)
    return image;

def convert(filename):
    img = load_file(filename)


Only this results in the following error

Quote:TypeError: could not convert 'interior-starship-doors.xcf' to type 'GFile' when setting property 'GimpProcedureConfig-gimp-file-load.file'

So it looks like instead of expecting a filename for file the new python api expects an object of type GFile to be passed, and I was wondering how I do this?


Thanks in advance.

Update: I managed to figure things out using Gio so my new load_file function looks like this:


Code:
def load_file(filename):
    file = Gio.File.new_for_path(filename)
    procedure = Gimp.get_pdb().lookup_procedure('gimp-file-load');
    config = procedure.create_config();
    config.set_property('run-mode', Gimp.RunMode.NONINTERACTIVE);
    config.set_property('file', file);
    result = procedure.run(config);
    success = result.index(0);
    image = result.index(1)
    return image;

While this works, I'm wondering if I'm also supposed to dispose of the Gio.File object, and if so how do I do that?

Thanks in advance.  Also if there's any interest I can post the whole version of the new script.

Print this item

  ofn3-export-layers
Posted by: Ofnuts - 03-29-2025, 04:40 PM - Forum: Extending the GIMP - Replies (17)

This is ofn-export-layers ported to Gimp v3.

So far this is done without added functionality, for instance it will still export everything and not just the selected layers.

Any good ideas for enhancements welcome.

At the usual place for V3 things.

Enjoy.

Print this item

  Error while parsing
Posted by: rdoty - 03-29-2025, 04:38 PM - Forum: General questions - Replies (1)

When I load Gimp 3.0 I get this message "Error while parsing 'C:\Users\xxxx\AppData\Roaming\GIMP\3.0\devicerc' in line 9: invalid value 'a' for token select-criterion

Is this a problem and how do I correct?  Also, could this relate to some of the problems I had with a previous thread, difficulty removing jpeg background?

Print this item

  GIMP 3.0 View and Color menu length
Posted by: KenS. - 03-29-2025, 01:40 PM - Forum: Gimp 2.99 & Gimp 3.0 - Replies (1)

Hi there, if I click on a menu, and then move either left of right, the menus dropdown so you can see the listings, but both the the View and Color menus are long, so they will not close when you move the cursor either left or right, with the View menu, you can click on the up arrow at the top, to clear the menu, but the Color menu doesn't have a arrow at the top that I can see, I have to move the cursor off to one side and click to clear the menu. Would like to see both menus extend downward, so the menu title isn't hidden. Take care.

Print this item

  Plugins
Posted by: sparky 1987 - 03-29-2025, 04:13 AM - Forum: Gimp 2.99 & Gimp 3.0 - Replies (3)

   

I have Gimp 2.10.38 and now updated to 3.0.1  and just to 3.0.2 but have found cant get the plugins I have in previous verion to install in 3.
See pic where I copied the exact plugins from location for 2.10 but 3.0.2 and 3.0.1 does not seem to see them do you have to load some
other way in the new updates?

Print this item

  Gimp does not recognize Darktable or RawTherapee
Posted by: KnowNothing - 03-28-2025, 08:39 PM - Forum: Gimp 2.99 & Gimp 3.0 - Replies (2)

I am running a laptop with Ubuntu and when Gimp updated it quit working with Darktable.  I have subsequently uninstalled all three programs and reinstalled them in various orders and Gimp will not open Raw files and does not show either Darktable or RawTherapee as import options.  Also does not appear to allow a person to enter either program as an import option.  I am not a programmer (I can barely take pictures), and virtually every web search just says  install the programs and they will work together.  NOT TRUE.  Most of those searches don't even relate to the new version of Gimp.  What is most perplexing is that My previous setup was working perfectly and the update to Gimp 3 was automatic but dropped any functionality with Darktable.

Print this item