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

Useability enhancement request: unified/expanded file export dialog

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.

Elle Stone
2015-03-11 13:26:58 UTC (over 9 years ago)

Useability enhancement request: unified/expanded file export dialog

The GIMP bug report guidelines say to ask on the mailing list before filing enhancement request bug reports.

When editing images using GIMP 2.9, one useability issue kept cropping up over and over again, and that's exporting images to disk. Here are some proposed enhancement requests for consideration:

1. Right now the precision of the exported image depends on the image precision plus the maximum precision supported by the export file format. Assume the user is editing an image at 32-bit floating point precision:

Exporting to jpeg currently produces an 8-bit jpg, which is expected.

Exporting to png currently produces a 16-bit png. But maybe the user wants an 8-bit png.

Exporting a tiff currently produces a 32-bit floating point tiff. If the exported image is to be opened in another image editor for further editing, the other image editor might not be able to read a 32-bit floating point tiff.

It would be enhance useability if the user could choose the export precision as part of the export dialog.

2. File export dialog presets:

Some of the file export dialogs have the ability to save a set of options as the default options, and some don't.

Having to click open the export dialog options and make the same choices that were made the last time the same export dialog was opened is time-consuming, awkward, and easy to forget. It would enhance useability if all file export dialogs made it possible to save default settings.

Dither dialog:

As a related issue, in GIMP 2.9 changing the precision to a lower precision means dealing with the precision conversion dithering dialog Every. Single. Time. Personally I never use dither when changing precision and it would enhance useability to be able to permanently dismiss the dither dialog. This may sound like "just a click, no big deal". But to the person who has to deal with making the same choices over and over again, it does add up. Default presets and permanently dismissable dialogs would be a genuine useability enhancement.

The next two enhancement requests might be considered as "way too much", but here goes:

3. Scaling upon export:

When exporting an image for display on the web, the image usually needs to be resized, and sometimes you might want to make some additional edits at the reduced size before the final export. But not always. It would be convenient to have the option to scale the image as part of the file export dialog, leaving the GIMP XCF file at the original size.

4. Assigning and converting to another RGB color space upon export:

The editing RGB color space might not be the color space the user wants the exported image to be in. It would be extremely convenient if the export dialog allowed for both converting to another color space as part of the export dialog, and also assigning another color space.

Consider working on an sRGB image. If you are using the GIMP built-in sRGB color space, that's a V4 color space with a parametric curve. And for whatever good reasons, GIMP won't embed the built-in sRGB profile.

The ability to assign a profile from disk upon export would be a very nice option. Here's why this matters especially with sRGB images that will be displayed on the web:

When editing an image, because of how LCMS2 treats profiles with point curves, you really don't want to use a V2 sRGB profile because the V2 sRGB profile has point curves.

But when exporting to disk for display on the web as a photograph or digital art (not talking about web design graphics for which different considerations apply), given the peculiarities of default Firefox color management, you really do want an embedded sRGB profile, and you want that embedded sRGB profile to be a V2 profile, not a V4 profile.

Elle

Ofnuts
2015-03-11 21:05:33 UTC (over 9 years ago)

Useability enhancement request: unified/expanded file export dialog

On 11/03/15 14:26, Elle Stone wrote:

3. Scaling upon export:

When exporting an image for display on the web, the image usually needs to be resized, and sometimes you might want to make some additional edits at the reduced size before the final export. But not always. It would be convenient to have the option to scale the image as part of the file export dialog, leaving the GIMP XCF file at the original size.

For current Gimp there is the "Save for Web" plug-in that lets you crop/scale the image. However it's not uncommon to do a little bit of sharpening after a downscale, or maybe add some watermark... Better take the habit to use Image>Duplicate. This creates an "untitled" image to there is little risk to overwrite the original image with a scaled down version(*).

(*) in the "belt-cum-suspenders" series, shouldn't Gimp issue a warning when saving an image if it detects that the image has been scaled down/cropped? This is another case of potential accidental loss of data. **ducks for cover**

Joao S. O. Bueno
2015-03-11 21:29:41 UTC (over 9 years ago)

Useability enhancement request: unified/expanded file export dialog

On 11 March 2015 at 18:05, Ofnuts wrote:

On 11/03/15 14:26, Elle Stone wrote:

3. Scaling upon export:

When exporting an image for display on the web, the image usually needs to be resized, and sometimes you might want to make some additional edits at the reduced size before the final export. But not always. It would be convenient to have the option to scale the image as part of the file export dialog, leaving the GIMP XCF file at the original size.

For current Gimp there is the "Save for Web" plug-in that lets you crop/scale the image. However it's not uncommon to do a little bit of sharpening after a downscale, or maybe add some watermark... Better take the habit to use Image>Duplicate. This creates an "untitled" image to there is little risk to overwrite the original image with a scaled down version(*).

(*) in the "belt-cum-suspenders" series, shouldn't Gimp issue a warning when saving an image if it detects that the image has been scaled down/cropped? This is another case of potential accidental loss of data. **ducks for cover**

IMO, the medium term solution for all export-workflow problems is to have an in-gimp way to manipulate a set of transformations to be applied to an image on export.

Thinking on an UI for this now is up to us - so, why not bring the idea to the list?

Currently, actually most export plug-ins do perform a image-duplicate, image-flatten (or merge visible layers) and save the resulting layer. Indexed formats do a "image-duplicate, image-flatten, image-convert-to-indexed" sequence.

Having this in an UI would allow one to have several presets like: image duplicate, image-resize(max-width: N, preserve-aspect: True), image-sharpen, image-flatten, image-convert-to-precision(8bpp), gimp-pause-for-review, export-to-desired-file-format )

That would allow presets for example, that could at once save for the various icon-sizes needed for
icons in mobile projects bound to a single keystroke. (and having a "mark as clean" node available for these presets could also give an option to the "I do only jpeg exports" shouters)

Elle Stone
2015-03-13 13:28:43 UTC (over 9 years ago)

Useability enhancement request: unified/expanded file export dialog

On 03/11/2015 05:05 PM, Ofnuts wrote:

For current Gimp there is the "Save for Web" plug-in that lets you crop/scale the image. However it's not uncommon to do a little bit of sharpening after a downscale, or maybe add some watermark... Better take the habit to use Image>Duplicate. This creates an "untitled" image to there is little risk to overwrite the original image with a scaled down version(*).

True, usually resizing is followed by adding some sharpening and such. I completely overlooked Image->Duplicate, so thanks! (not the first "already there in plain sight" GIMP feature that I've overlooked).

(*) in the "belt-cum-suspenders" series, shouldn't Gimp issue a warning when saving an image if it detects that the image has been scaled down/cropped? This is another case of potential accidental loss of data. **ducks for cover**

Please not! unless there is a way to permanently dismiss the warning.

It seems to me that all such "save the user from herself" warnings should be permanently dismissable by the user.

Such warnings are like training wheels on a 10-speed bicycle - maybe OK for learning to keep the bicycle from falling over (but you really can learn to ride without training wheels).

Nobody wants training wheels permanently welded to their bicycle because training wheels seriously impede anyone who already knows how to ride a bicycle.

Consider the question about whether the user is sure s/he wants to erase the history. That repeatedly-asked question is very annoying to anyone working on a large layer stack with lots of edits, because the answer is always "Yes, erase the history".

Elle

Elle Stone
2015-03-13 14:13:30 UTC (over 9 years ago)

Useability enhancement request: unified/expanded file export dialog

On 03/11/2015 05:29 PM, Joao S. O. Bueno wrote:

Thinking on an UI for this now is up to us - so, why not bring the idea to the list?

This list? or the GIMP users list?

Currently, actually most export plug-ins do perform a image-duplicate, image-flatten (or merge visible layers) and save the resulting layer. Indexed formats do a "image-duplicate, image-flatten, image-convert-to-indexed" sequence.

Having this in an UI would allow one to have several presets like: image duplicate, image-resize(max-width: N, preserve-aspect: True), image-sharpen, image-flatten, image-convert-to-precision(8bpp), gimp-pause-for-review, export-to-desired-file-format )

That would allow presets for example, that could at once save for the various icon-sizes needed for
icons in mobile projects bound to a single keystroke. (and having a "mark as clean" node available for these presets could also give an option to the "I do only jpeg exports" shouters)

What you suggest makes perfect sense. I like the "pause for review".

Anyone have additional suggestions for/comments about what might go into an enhanced file export dialog? Or about whether such a thing is actually feasible?

Elle

yahvuu
2015-03-14 18:34:49 UTC (over 9 years ago)

Useability enhancement request: unified/expanded file export dialog

Hi Elle,

Am 13.03.2015 um 15:13 schrieb Elle Stone:

Anyone have additional suggestions for/comments about what might go into an enhanced file export dialog?

You might consider a freely editable operations chain for each file to be exported. The exports then can be considered twigs of the GEGL tree*).

When different exports of the same composition are supported, the dialog could look like in the following example:
https://yahvuu.files.wordpress.com/2009/08/export-multiple.jpg

best regards, yahvuu

*) This concept can be taken quite far beyond GEGL operations: https://mail.gnome.org/archives/gimp-developer-list/2012-September/msg00116.html

Øyvind Kolås
2015-03-14 22:43:46 UTC (over 9 years ago)

Useability enhancement request: unified/expanded file export dialog

That would allow presets for example, that could at once save for the various icon-sizes needed for
icons in mobile projects bound to a single keystroke. (and having a "mark as clean" node available for these presets could also give an option to the "I do only jpeg exports" shouters)

What you suggest makes perfect sense. I like the "pause for review".

Anyone have additional suggestions for/comments about what might go into an enhanced file export dialog? Or about whether such a thing is actually feasible?

Further elaboration of what one can do when exporting was part of the motivation of doing initial clean-up work on the architecture level with separating saving from exporting. Another thing that is useful in a few scenarios is exporting named sub rectangles of the image (for creating raster graphics based assets for web/gui themes for instance.)

A sketch with some UI ideas around that is here: http://pippin.gimp.org/tmp/export.png

/pippin

Richard
2015-03-15 19:19:50 UTC (over 9 years ago)

Useability enhancement request: unified/expanded file export dialog

Date: Fri, 13 Mar 2015 09:28:43 -0400 From: ellestone@ninedegreesbelow.com To: gimp-developer-list@gnome.org
Subject: Re: [Gimp-developer] Useability enhancement request: unified/expanded file export dialog

On 03/11/2015 05:05 PM, Ofnuts wrote:

For current Gimp there is the "Save for Web" plug-in that lets you crop/scale the image. However it's not uncommon to do a little bit of sharpening after a downscale, or maybe add some watermark... Better take the habit to use Image>Duplicate. This creates an "untitled" image to there is little risk to overwrite the original image with a scaled down version(*).

True, usually resizing is followed by adding some sharpening and such. I completely overlooked Image->Duplicate, so thanks! (not the first "already there in plain sight" GIMP feature that I've overlooked).

Elle _______________________________________________ gimp-developer-list mailing list
List address: gimp-developer-list@gnome.org List membership: https://mail.gnome.org/mailman/listinfo/gimp-developer-list List archives: https://mail.gnome.org/archives/gimp-developer-list

If my only reason for duplicating the image is to prevent accidentally saving a resized/flattened version over the original workfile, I wouldn't mind having a checkbox on the Resize dialog to do that automatically. (For compare and contrast: the Decompose/Compose plugins [necessarily] output their results to a new image window)

-- Stratadrake strata_ranger@hotmail.com
--------------------
Numbers may not lie, but neither do they tell the whole truth.

Michael Schumacher
2015-03-15 19:39:37 UTC (over 9 years ago)

Useability enhancement request: unified/expanded file export dialog

Am 13.03.2015 um 14:28 schrieb Elle Stone:

(*) in the "belt-cum-suspenders" series, shouldn't Gimp issue a warning when saving an image if it detects that the image has been scaled down/cropped? This is another case of potential accidental loss of data. **ducks for cover**

Please not! unless there is a way to permanently dismiss the warning.

Um... I just want to make sure whether both of you have ideas of how this can work in a fully geglified GIMP - the thread gives me the impression that you aren't really there yet.

For example, a scale or crop would be an additional gegl op in the tree - and if this turn out to be unsuitable, then the values for the scale or the crop area can be changed, or this op be discarded.

Regards,
Michael
GPG: 96A8 B38A 728A 577D 724D 60E5 F855 53EC B36D 4CDD
Michael Schumacher
2015-03-15 19:44:41 UTC (over 9 years ago)

Useability enhancement request: unified/expanded file export dialog

Am 15.03.2015 um 20:19 schrieb Richard:

(For compare and contrast: the Decompose/Compose plugins [necessarily] output their results to a new image window)

This is merely the current implementation - you can also have an implementation that keeps the decompose, the layers and the subsequent (re-)compose inside one image's composition tree.

P.S. can we please have proper signature separators - "-- " on its own line - used by everyone on this mailing list?

Regards,
Michael
GPG: 96A8 B38A 728A 577D 724D 60E5 F855 53EC B36D 4CDD
Elle Stone
2015-03-16 21:50:08 UTC (over 9 years ago)

Useability enhancement request: unified/expanded file export dialog

On 03/14/2015 02:34 PM, yahvuu wrote:

You might consider a freely editable operations chain for each file to be exported. The exports then can be considered twigs of the GEGL tree*).

When different exports of the same composition are supported, the dialog could look like in the following example:
https://yahvuu.files.wordpress.com/2009/08/export-multiple.jpg

*) This concept can be taken quite far beyond GEGL operations: https://mail.gnome.org/archives/gimp-developer-list/2012-September/msg00116.html

On 03/14/2015 06:43 PM, yvind Kols wrote:

Further elaboration of what one can do when exporting was part of the motivation of doing initial clean-up work on the architecture level with separating saving from exporting.Another thing that is useful in a few scenarios is exporting named sub rectangles of the image (for creating raster graphics based assets for web/gui themes for instance.)

A sketch with some UI ideas around that is here: http://pippin.gimp.org/tmp/export.png

To summarize suggestions so far, an enhanced file export dialog might allow the user to:

* Choose the export precision as part of the export dialog.

* Save default settings for things like whether to embed a thumbnail, exif data, comments, and etc.

* Have the option to scale the image as part of the file export dialog, leaving the GIMP XCF file at the original size.

* Have the option to convert to another ICC profile color space and also to assign another ICC profile to the image-to-be-exported.

* Have the option to export designated subframes from within the image, rather than having to make a new image and crop to each designated subframe.

Does anyone have any suggested modifications/additions to the above-proposed file export dialog "enhancement request/bug report"?

Moving past the narrow topic of file export dialogs, other useability enhancements were brought up:

* Have a way to specify entire chains of operations (that might or might not be related to exporting a file) that could be activated by a single click.

* Have a way to permanently dismiss various unwanted dialogs and warning notices, such as the dither dialog and the "do you really want to erase the history" warning.

* A warning or a check box (a check box would be less intrusive than a pop-up warning) on the resize dialog might keep one from inadvertently saving a reduced size file over the top of the original larger size file.

The topic of a "fully geglified GIMP" was brought up. What does a fully geglified GIMP have to do with an enhanced file export dialog?

-- Elle

Alexandre Prokoudine
2015-03-16 21:54:00 UTC (over 9 years ago)

Useability enhancement request: unified/expanded file export dialog

On Tue, Mar 17, 2015 at 12:50 AM, Elle Stone wrote:

To summarize suggestions so far, an enhanced file export dialog might allow the user to:

* Choose the export precision as part of the export dialog.

* Save default settings for things like whether to embed a thumbnail, exif data, comments, and etc.

* Have the option to scale the image as part of the file export dialog, leaving the GIMP XCF file at the original size.

* Have the option to convert to another ICC profile color space and also to assign another ICC profile to the image-to-be-exported.

* Have the option to export designated subframes from within the image, rather than having to make a new image and crop to each designated subframe.

Does anyone have any suggested modifications/additions to the above-proposed file export dialog "enhancement request/bug report"?

If we are talking about full replacement for save/export-for-web plugin, you'd have to have preview of the final image (a grid of multiple previews with different exporting settings would be even better), as welll as something that GIMP doesn't have at all yet -- writing optimized PNG files (see
http://optipng.sourceforge.net/pngtech/optipng.html).

Alex