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

Gimp Export Properties Not Preserved

This discussion is connected to the gimp-developer-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.

11 of 12 messages available
Toggle history

Please log in to manage your subscriptions.

Gimp Export Properties Not Preserved Jason Simanek 18 Jul 03:27
  Gimp Export Properties Not Preserved Guillermo Espertino (Gez) 18 Jul 06:05
   Gimp Export Properties Not Preserved Jason Simanek 18 Jul 13:28
    Gimp Export Properties Not Preserved Guillermo Espertino (Gez) 18 Jul 15:09
     Gimp Export Properties Not Preserved Jason Simanek 19 Jul 20:36
      51E9F517.2030508@gmail.com 20 Jul 17:00
       Gimp Export Properties Not Preserved Jason Simanek 20 Jul 16:59
        Gimp Export Properties Not Preserved Guillermo Espertino (Gez) 20 Jul 17:35
         Gimp Export Properties Not Preserved Jason Simanek 20 Jul 18:36
  Export all (was: Gimp Export Properties Not Preserved) Akkana Peck 20 Jul 19:21
   Export all Jason Simanek 20 Jul 20:25
    Export all Akkana Peck 20 Jul 20:44
Jason Simanek
2013-07-18 03:27:47 UTC (over 11 years ago)

Gimp Export Properties Not Preserved

Hi,

Is there any way to set default JPG/PNG/whatever export settings? I am manipulating a lot of images right now and every JPG export involves changing the Quality, the Smoothing and the DCT method. Over and over and over. This happens with Export as well as using the Save for Web plugin (which really should have a way to specify defaults).

I imagine the work I am doing is a common task for Gimp users: opening multiple images cropping and changing those images and exporting each one as a unique version from the original.

Fortunately a lot of work like this can be dealt with by David's Batch Processor, but that doesn't address situations where you are altering each image file in unique ways.

As an example, Photoshop will remember whatever values you used the last time you exported/Saved for Web(Screen or whatever they call it now). It's fine if Gimp doesn't mimic Photoshop exactly, but it would be nice if the default could defined in the Preferences.

Another Idea! A feature that Photoshop doesn't have (outside of creating an Action): an "Export all open files" dialog could be pretty great. Allowing you to set – like DBP – the quality properties and destination directory all at once to export all open files. That would be AWESOME.

Thanks in advance for considering my question/workflow problem. I apologize if this question has been answered elsewhere but I couldn't find any satisfactory information with the usual methods.

Jason Simanek

Guillermo Espertino (Gez)
2013-07-18 06:05:53 UTC (over 11 years ago)

Gimp Export Properties Not Preserved

El 18/07/13 00:27, Jason Simanek escribió:

Hi,

Is there any way to set default JPG/PNG/whatever export settings? I am manipulating a lot of images right now and every JPG export involves changing the Quality, the Smoothing and the DCT method. Over and over and over. This happens with Export as well as using the Save for Web plugin (which really should have a way to specify defaults).

Jason:
When you export (as jpg, for instance) you have a dialog with advanced options and two buttons: save and load defaults. Just save a new default with the settings you want and it will be used next time you export.

Gez.

Jason Simanek
2013-07-18 13:28:28 UTC (over 11 years ago)

Gimp Export Properties Not Preserved

Hi,

On 07/18/2013 01:05 AM, Guillermo Espertino (Gez) wrote:> Just save a new default with the settings you want and it will be used > next time you export.

Well, now I feel dumb. Thanks Gez!

This certainly fulfills my need, but I find it odd that the only way to alter that setting is from within the export/save dialog. But it's there at least.

For the record, Photoshop is FILLED with settings like these that are only accessible from places other than the Preferences panel.

I still think the "Save All Open Files" feature would be cool, though.

Thanks everyone for you patience (with idiots like me) and great software,

Jason Simanek

Guillermo Espertino (Gez)
2013-07-18 15:09:30 UTC (over 11 years ago)

Gimp Export Properties Not Preserved

El 18/07/13 10:28, Jason Simanek escribi:

Hi,

On 07/18/2013 01:05 AM, Guillermo Espertino (Gez) wrote:> Just save a new default with the settings you want and it will be used > next time you export.

Well, now I feel dumb. Thanks Gez!

This certainly fulfills my need, but I find it odd that the only way to alter that setting is from within the export/save dialog. But it's there at least.

No need to feel dumb. I guess it's true that those buttons are not in the first place one would look.
However, I think it's a smart place to put them: Usually you realize the default is not suitable for your needs while you're changing the output options over and over again (pretty much what happened to you), so being able to save a new default from those settings comes quite handy.

Apart from that, I think that having those options in the export dialog keeps us from having a too crowded preferences dialog, which is also a good thing.

In my oppinion, it's a reasonable compromise.

I still think the "Save All Open Files" feature would be cool, though.

Indeed. But again, for avoiding menus unnecessarily long and overcrowded, that has to be implemented in a smart way. Probably it could be an option for the "close all" dialog instead of an independent command in the file menu. And that would be only for saving, not exporting.
Opening several files and exporting/overwriting them all is probably too specific and should be implemented with a plugin, not to GIMP itself.

Batch processing and export aren't kind the things I'd do with GIMP (basically because it lacks the tools for that at the moment, I'd use Phatch or even darktable for things like that) so, until GIMP has a user-friendly macro system, I don't think batch exporting is essential.

I mean, GIMP seems to be more oriented to complex manipulations rather than taking several images and apply repetitive tasks to them, and I don't think it's wise to work on several complex manipulations simultaneously without saving, to make "save/export all" necessary :-)

Of course, this is just an oppinion and I'm not saying your workflow is wrong. Just I think that needing that feature is probably something constrained to a specific workflow.

Gez.

Jason Simanek
2013-07-19 20:36:28 UTC (over 11 years ago)

Gimp Export Properties Not Preserved

Hi,

On 07/18/2013 10:09 AM, Guillermo Espertino (Gez) wrote:

No need to feel dumb.

Thanks!

However, I think it's a smart place to put them: Usually you realize the default is not suitable for your needs while you're changing the output options over and over again (pretty much what happened to you), so being able to save a new default from those settings comes quite handy.

Yeah, the placement is fine, but it seems like Preferences contains reference to the preferred scaling algorithm. Why wouldn’t it include these properties also?

In my opinion, it's a reasonable compromise.

It's still frustrating that I have to click "Load Defaults" each time for every separate file I have open. Would be great if whatever I set as the "default" is just used as ... the default. As it is, it's not really a "default", but a "preset" or "profile". And in that case, it would be nice to be able to save multiple profiles.

One more thing that slows me down: The keyboard accessibility on these dialogs is not efficient. Why isn't the "OK" or "confirm" button set to be activated by hitting the Enter/Return button? And the tab-index-order can be annoyingly misguided at times. For example, the Scale dialog includes the proportion lock/unlock toggle in between the width and height values. For me it would make more sense for those to be AFTER all of the dimensional values in the tab order.

What's frustrating about these details is that they make using Gimp rely on constantly switching between the keyboard input and the mouse input.

Would it be helpful to go through these various dialogs and attempt to improve tab-index for them? Are any of the devs discussing this part of the UI?

Batch processing and export aren't kind the things I'd do with GIMP (basically because it lacks the tools for that at the moment, I'd use Phatch or even darktable for things like that) so, until GIMP has a user-friendly macro system, I don't think batch exporting is essential.

Right, but the workflow I am describing (it's a common one in my experience) involves doing similar but unique work on a series of image files. This kind of work cannot be completely batch scripted.

I mean, GIMP seems to be more oriented to complex manipulations rather than taking several images and apply repetitive tasks to them, and I don't think it's wise to work on several complex manipulations simultaneously without saving, to make "save/export all" necessary :-)

Right. The Gimp devs seem to be describing an intended workflow. It assumes extended work on solitary, complex xcf files that are repeatedly exported.

That sounds to me like illustration/complex photo manipulation and possibly web design – though I've completely switched to Inkscape for web design the last few years.

There's nothing wrong with this concept of primary workflow.

But what I am describing is also what I would guess is a big part of Gimp's usefulness for many people.

Thanks for the feedback and discussion!

Jason Simanek

Jason Simanek
2013-07-20 16:59:50 UTC (over 11 years ago)

Gimp Export Properties Not Preserved

On Fri 19 Jul 2013 09:25:27 PM CDT, Guillermo Espertino (Gez) wrote:

It's still frustrating that I have to click "Load Defaults" each time for every separate file I have open.

Check again, please. I don't think you have to press load defaults each time.
If it's not using the default you saved automatically there's something wrong.

For each separate file, on the first export I have to click "Load Defaults". After that, additional exports from the same file preserve the previously-used settings.

You shouldn't have to press load defaults. Defaults should be used automatically each time you export.

Since I am opening several different images, altering them and then exporting, I have to click "Load Defaults" for each one. The settings that initially show up seem to vary. Maybe they are somehow derived from qualities of the image file?

I'm sure that wrong tab indexes can be considered UI bugs, so I don't think anybody will be against discussing that and trying to improve it.

Okay. I will try to get organized and prepare what I think would be more useful tab indexes for these dialog windows.

How many of [the images] do you process at a time to make a batch save/export feature necessary?
And if the number is high enough, is it really wise to work with so many unsaved files at once?

Could you please describe your workflow and what kind of things you do with GIMP that would make batch save/export useful?

Mostly it's for some kind of web gallery or a series of photos for printed layouts (magazines).

Example #1 Website for a Diaper Cake maker (decorative "cakes" made out of baby diapers and other baby-stuff. Gifts for parents with newborn babies.)

The owner has photographed 30 product examples. Each image needs to be scaled and cropped to a certain format so they all match.

I don't really want to create a separate XCF file for all of these images and the custom scaling and cropping that I do is not of use for any other output. I just want to open them up, do whatever to each one and then export them all to the same location with the same settings. And move on.

Thanks again for the discussion!

Jason Simanek

Guillermo Espertino (Gez)
2013-07-20 17:35:15 UTC (over 11 years ago)

Gimp Export Properties Not Preserved

El 20/07/13 13:59, Jason Simanek escribió:

You shouldn't have to press load defaults. Defaults should be used automatically each time you export.

Since I am opening several different images, altering them and then exporting, I have to click "Load Defaults" for each one. The settings that initially show up seem to vary. Maybe they are somehow derived from qualities of the image file?

Ahh, yes. Sorry, I forgot to mention. GIMP attempts to keep the best quality and don't screw the jpg files with a quality setting lower than the original.
So, if your jpg had a quality factor of 95 and your new default is 93, it will use file's quality despite the default. If your file had a quality factor of 90, it will use the default of 93.

That made sense when save and export where the same thing. Actually, it was me who reported the issue of GIMP destroying jpegs inadvertently (default quality setting used to be 85 with the most aggressive chroma subsampling, so overwriting a high quality jpg with such crappy settings was a catastrophe).

I wonder if that feature is needed now that save and export are separated and we have a more reasonable factory default for jpg.

I'm not entirely sure it should be removed, though. It's still useful to know if the original jpg had a higher quality setting than our default.

How many of [the images] do you process at a time to make a batch save/export
feature necessary?
And if the number is high enough, is it really wise to work with so many unsaved files at once?

Could you please describe your workflow and what kind of things you do with GIMP that would make batch save/export useful?

Mostly it's for some kind of web gallery or a series of photos for printed layouts (magazines).

Example #1 Website for a Diaper Cake maker (decorative "cakes" made out of baby diapers and other baby-stuff. Gifts for parents with newborn babies.)

The owner has photographed 30 product examples. Each image needs to be scaled and cropped to a certain format so they all match.

I don't really want to create a separate XCF file for all of these images and the custom scaling and cropping that I do is not of use for any other output. I just want to open them up, do whatever to each one and then export them all to the same location with the same settings. And move on.

I see. And I understand why you need batch exporting. GIMP in its current shape doesn't seem to be the most appropriate tool for that kind of work.
Now the question is (I'd like to know what developers and GUI team think) if GIMP should be tweaked for making that kind of workflows easier. The infamous save/export separation certainly made this kind of stuff a bit harder.
In my oppinion (probably because my workflow was improved by the change instead of being impeded) you should try alternative tools for that work. Darktable seems to be an excellent choice for batch processing and judging by the example you just mentioned, I think it will fit to your needs perfectly.

I guess you want to do it with GIMP anyway. In that case, since I'm just a user as you, I think you should ask our devs and gui expert if they have some workflow change in their plans to facilitate that kind of tasks.

Gez.

Jason Simanek
2013-07-20 18:36:44 UTC (over 11 years ago)

Gimp Export Properties Not Preserved

On Sat 20 Jul 2013 12:35:15 PM CDT, Guillermo Espertino (Gez) wrote:

That made sense when save and export where the same thing. Actually, it was me who reported the issue of GIMP destroying jpegs inadvertently (default quality setting used to be 85 with the most aggressive chroma subsampling, so overwriting a high quality jpg with such crappy settings was a catastrophe).

Yes, I see the complication there. However, it does seem that the new file saving workflow addresses that concern. OVERWRITE should preserve the image file quality settings (I change Ctrl+S to Overwrite, personally). But I think EXPORT should be relative to the user's preferences, since you are usually exporting into a different quality level or different filetype.

In my oppinion (probably because my workflow was improved by the change instead of being impeded) you should try alternative tools for that work.
Darktable seems to be an excellent choice for batch processing and judging by the example you just mentioned, I think it will fit to your needs perfectly.

Darktable feels like it emphasizes a photographer’s workflow. "import" instead of "open", the default keyboard shortcuts are very strange (Ctrl+Z doesn't seem to do anything) and it isn't a "tool"-based workflow (there are no brushes, no text tool, no rubber stamp tool, nothing). For example, the way cropping works is very counter-intuitive for me and emphasizes quickly applying pre-set aspect ratios. At least that's my impression as a graphic design professional that's been using Photoshop since 1996.

I'm sure Darktable is great, but it doesn't have the features I need.

Thanks for the help. I'll keep getting things done in Gimp one way or another.

Jason Simanek

Akkana Peck
2013-07-20 19:21:58 UTC (over 11 years ago)

Export all (was: Gimp Export Properties Not Preserved)

Jason Simanek writes:

Another Idea! A feature that Photoshop doesn't have (outside of creating an Action): an "Export all open files" dialog could be pretty great. Allowing you to set – like DBP – the quality properties and destination directory all at once to export all open files. That would be AWESOME.

That is such a good idea that I wanted to dive in right away and write it.

But unfortunately I have too many things on my plate right now and I can't write the whole thing. So instead, I wrote a skeleton for it. It brings up an ugly dialog showing all the open images with their filenames and full pathnames, and a toggle button so you can disable saving/exporting for that particular image. You can also edit the filename to change the extension -- e.g. if the filename comes up as foo.xcf, you can change it to .jpg and export it that way. Any images that are exported will be marked clean (so you don't get a nag screen when you exit).

Obviously this isn't the nice full-featured plug-in you had in mind, but it implements the basics so anyone can add to it, and I'm hoping people will. Make the dialog pretty, add proper file choosers, add parameters like the jpeg quality, whatever you think it needs! So, anyone who wants an "Export all" plug-in, please add the features you want and send patches.

It's on GitHub: https://github.com/akkana/gimp-plugins/blob/master/export-all.py

...Akkana

Jason Simanek
2013-07-20 20:25:13 UTC (over 11 years ago)

Export all

On 07/20/2013 02:21 PM, Akkana Peck wrote:

That is such a good idea that I wanted to dive in right away and write it.

That's fantastic!

I grabbed the code and tried it but it doesn't seem to do anything on Gimp 2.8.4. Then I looked at the code for a minute and realized that I do not understand how to write Python for Gimp.

Wish I could help!

Jason Simanek

Akkana Peck
2013-07-20 20:44:33 UTC (over 11 years ago)

Export all

On 07/20/2013 02:21 PM, Akkana Peck wrote:

That is such a good idea that I wanted to dive in right away and write it.

Jason Simanek writes:

That's fantastic!

I grabbed the code and tried it but it doesn't seem to do anything on Gimp 2.8.4. Then I looked at the code for a minute and realized that I do not understand how to write Python for Gimp.

Wish I could help!

Well, you certainly do need to know how to install a Python plug-in in order to run it, of course. And you'd need to learn how to hack Python plug-ins in order to modify it. So maybe this is a great excuse to learn!

Googling finds several useful howtos and tutorials, e.g. http://blog.meetthegimp.org/how-to-install-python-plugins-under-gimp/ http://www.exp-media.com/gimp-python-tutorial http://www.ibm.com/developerworks/library/os-autogimp/

...Akkana