RSS/Atom feed Twitter
Site is read-only, email is disabled

Anyone know of a resize+export script?

This discussion is connected to the gimp-user-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

4 of 4 messages available
Toggle history

Please log in to manage your subscriptions.

Anyone know of a resize+export script? Kevin Brubeck Unhammer 23 Jun 09:30
  Anyone know of a resize+export script? kevin gilbert 23 Jun 09:47
  Anyone know of a resize+export script? Ofnuts 23 Jun 12:51
Anyone know of a resize+export script? Kevin Brubeck Unhammer 23 Jun 12:17
Kevin Brubeck Unhammer
2011-06-23 09:30:23 UTC (over 13 years ago)

Anyone know of a resize+export script?

I really like the GIMP 2.7 Export menu, but one thing I've always felt missing was a resize-slider for just the exported image. I like keeping the xcf large to avoid loss of quality, and then exporting stuff which I then resize But it's a bore having to resize, then export, then resize back (or export, then open the rexport, then resize, then save).

I'm sure I'm not the only one who has this problem, so does anyone know of a script that automates this? An interactive script that e.g. adds a menu item 'export resized' that lets me input a new size in pixels, then just calls the export item, but doesn't touch the original.

kevin gilbert
2011-06-23 09:47:04 UTC (over 13 years ago)

Anyone know of a resize+export script?

Have you had a look at "convert" from ImageMagick? Not sure if it reads xcf files but worth a look.

On Thu June 23 2011 19:30:23 Kevin Brubeck Unhammer opined:

I really like the GIMP 2.7 Export menu, but one thing I've always felt missing was a resize-slider for just the exported image. I like keeping the xcf large to avoid loss of quality, and then exporting stuff which I then resize But it's a bore having to resize, then export, then resize back (or export, then open the rexport, then resize, then save).

I'm sure I'm not the only one who has this problem, so does anyone know of a script that automates this? An interactive script that e.g. adds a menu item 'export resized' that lets me input a new size in pixels, then just calls the export item, but doesn't touch the original.

Kevin Brubeck Unhammer
2011-06-23 12:17:54 UTC (over 13 years ago)

Anyone know of a resize+export script?

kevin gilbert writes:

Have you had a look at "convert" from ImageMagick? Not sure if it reads xcf files but worth a look.

It does, and I could use that, but I'd like something GUI that I can use without leaving GIMP.

I tried starting on a script, figured it should be something like

(let ((dupe (gimp-image-duplicate current-image))) (gimp-image-resize-interactive dupe) (gimp-file-save-interactive dupe) (gimp-file-close dupe))

but I don't know how to get the resize and file dialogs to show (e.g. the function gimp-file-save just does what happens _after_ you press save in the dialog).

Ofnuts
2011-06-23 12:51:32 UTC (over 13 years ago)

Anyone know of a resize+export script?

On 06/23/2011 11:30 AM, Kevin Brubeck Unhammer wrote:

I really like the GIMP 2.7 Export menu, but one thing I've always felt missing was a resize-slider for just the exported image. I like keeping the xcf large to avoid loss of quality, and then exporting stuff which I then resize But it's a bore having to resize, then export, then resize back (or export, then open the rexport, then resize, then save).

I'm sure I'm not the only one who has this problem, so does anyone know of a script that automates this? An interactive script that e.g. adds a menu item 'export resized' that lets me input a new size in pixels, then just calls the export item, but doesn't touch the original.

My 2 cents...

Once you have resized and exported you can Ctrl-Z to get back to the original size.

If you automate the process it has to be more robust: you can't avoid a preliminary blur to avoid artefacts that will appear in some cases, and possibly a little bit of sharpening on the result.

Otherwise, if you stick to some blind resizing, as said earlier an ImageMagick script is your best friend (it can read XCF).