Gimp/plug-ins
Jehan 417f2c873f plug-ins: follow the assigned profile TRC.
GIMP should not convert assigned profile to sRGB just because we stored
as linear on the XCF. In other words, we should not look at the image
precision to decide whether to export as linear (previously only 8-bit
linear images), but at the profile TRC. There are basically 3 cases:
(1) We don't save a profile, then convert to sRGB whatever the source
precision (because readers would assume sRGB for a no-profile jpeg).
(2) We save the default profiles: convert to sRGB because it's usually
a better choice for 8-bit formats and even working at 32-bit float
*linear* doesn't mean you want to export as 8-bit int *linear*. As the
image creator made no explicit export choice, we make an acceptable
default one.
(3) We save an explicitly assigned profile: keep the profile TRC, don't
convert!

Note that this apparently won't work perfectly right now, as GIMP
replaces the original TRC with the linear default TRC when converting to
linear. So the expected TRC is lost in such case when you have not
explicitly reset the correct profile. Yet this is on GIMP side and this
part of the issue should be fixed with the space invasion merge. For
now, this is how the plug-in should work.

This is based on my late discussion with Ell. Please everyone, and Ell
especially, review! :-)

(cherry picked from commit c5f7bac2ba)
2019-05-06 14:35:55 +09:00
..
common Issue #3193: Wrong colors after exporting 8bpc RGB png from 32f... 2019-04-12 14:33:19 +02:00
file-bmp Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
file-dds libgimpwidgets, app, plug-ins: use GimpSpinButton everywhere 2019-03-09 07:28:52 -05:00
file-exr plug-ins: optionally define several float.h macros for MinGW64. 2019-01-26 16:42:15 +01:00
file-faxg3 Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
file-fits Initial space invasion commit in GIMP 2018-07-21 16:42:57 +02:00
file-fli libgimpwidgets, app, plug-ins: use GimpSpinButton everywhere 2019-03-09 07:28:52 -05:00
file-ico plug-ins: kill GtkAlignment in all plug-ins which are currently built 2018-10-22 14:47:54 +02:00
file-jpeg plug-ins: follow the assigned profile TRC. 2019-05-06 14:35:55 +09:00
file-psd plug-ins: always save the color profile in file-psd 2018-12-03 19:24:52 +01:00
file-raw Issue #2716 - Windows: Rawtherapee plugin cannot be installed 2019-01-03 14:10:27 +01:00
file-sgi plug-ins: fix some new strncpy() warnings 2018-10-22 15:41:18 +02:00
file-tiff plug-ins: fix TIFF linear export. 2019-04-25 20:23:06 +09:00
file-webp plug-ins: export linear WebP if and only if the work image was 8-bit... 2019-04-15 23:52:53 +02:00
flame plug-ins: kill GtkAlignment in all plug-ins which are currently built 2018-10-22 14:47:54 +02:00
fractal-explorer plug-ins: kill GtkAlignment in all plug-ins which are currently built 2018-10-22 14:47:54 +02:00
gfig Misc. typo fixes 2018-09-16 18:49:18 -04:00
gimpressionist Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gradient-flare plug-ins: fix some new strncpy() warnings 2018-10-22 15:41:18 +02:00
help Undo some (unnecessary) changes. 2019-01-25 19:08:28 +00:00
help-browser Misc. typos 2018-10-19 15:30:27 +00:00
ifs-compose libgimpwidgets, app, plug-ins: use GimpSpinButton everywhere 2019-03-09 07:28:52 -05:00
imagemap libgimpwidgets, app, plug-ins: use GimpSpinButton everywhere 2019-03-09 07:28:52 -05:00
lighting libgimpwidgets, app, plug-ins: use GimpSpinButton everywhere 2019-03-09 07:28:52 -05:00
map-object libgimpwidgets, app, plug-ins: use GimpSpinButton everywhere 2019-03-09 07:28:52 -05:00
metadata Issue #2786: a few string issues. 2019-01-12 17:22:03 +01:00
pagecurl libgimpcolor, app, modules, plug-ins: remove GEGL_ITERATOR2 define 2018-12-02 11:15:37 -05:00
print libgimpwidgets, app, plug-ins: use GimpSpinButton everywhere 2019-03-09 07:28:52 -05:00
pygimp Issue #2961: minor coding style fix. 2019-02-14 12:09:29 +01:00
screenshot libgimpwidgets, app, plug-ins: use GimpSpinButton everywhere 2019-03-09 07:28:52 -05:00
script-fu Issue #3220 - "How to Use Dialogs" does not open any page. 2019-04-24 23:32:57 +02:00
selection-to-path plug-ins: small formatting fix in selection-to-path-dialog.c 2019-01-17 09:37:13 +01:00
twain Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
ui plug-ins: Move layer option up in TIFF dialog 2019-04-23 15:57:34 +02:00
.gitignore
Makefile.am file-dds: add original source code of the DDS plug-in 2019-01-02 18:33:46 +01:00