libvips/libvips/colour
John Cupitt e48f45187b make RGB and sRGB synonmous
We had a half-baked idea that RGB could mean generic RGB space and sRGB
would mean strict sRGB interpretation.

Unfortunately, this did not work well in practice. For example,
`icc_transform("srgb")` would tag the result as RGB rather than sRGB
(the converter didn't know it was writing sRGB pixels, it just saw
conversion to RGB with an ICC profile), and then later stages would do
unnecessary icc_imports, or worse, fail.

This patch makes RGB and sRGB strict synonyms. If you want to treat an
RGB image as something other than sRGB, you'll need to do it by hand
with the icc_ functions.

See

https://github.com/libvips/pyvips/issues/144

46212e92b1 (r34904985)

https://github.com/libvips/libvips/issues/1494
2019-12-22 11:40:09 +00:00
..
profiles fix make dist for 8.8.3 2019-09-16 16:59:52 +01:00
CMYK2XYZ.c reformat in vips style 2019-01-16 20:18:09 +00:00
HSV2sRGB.c Update GObject introspection annotations for libvips/colour directory 2017-09-30 19:29:17 +01:00
LCh2Lab.c Update GObject introspection annotations for libvips/colour directory 2017-09-30 19:29:17 +01:00
LCh2UCS.c Update GObject introspection annotations for libvips/colour directory 2017-09-30 19:29:17 +01:00
Lab2LCh.c Update GObject introspection annotations for libvips/colour directory 2017-09-30 19:29:17 +01:00
Lab2LabQ.c Update GObject introspection annotations for libvips/colour directory 2017-09-30 19:29:17 +01:00
Lab2LabS.c Update GObject introspection annotations for libvips/colour directory 2017-09-30 19:29:17 +01:00
Lab2XYZ.c Update GObject introspection annotations for libvips/colour directory 2017-09-30 19:29:17 +01:00
LabQ2Lab.c fix << on signed int warnings 2019-08-02 05:35:18 +01:00
LabQ2LabS.c Update GObject introspection annotations for libvips/colour directory 2017-09-30 19:29:17 +01:00
LabQ2sRGB.c Improve greyscale perf by using isinf/isnan after calc 2018-01-02 20:36:14 +00:00
LabS2Lab.c Update GObject introspection annotations for libvips/colour directory 2017-09-30 19:29:17 +01:00
LabS2LabQ.c Update GObject introspection annotations for libvips/colour directory 2017-09-30 19:29:17 +01:00
Makefile.am fix make dist for 8.8.3 2019-09-16 16:59:52 +01:00
UCS2LCh.c avoid a harmless out of bounds read 2019-08-29 15:42:05 +01:00
XYZ2CMYK.c fix thumbnail regression with cmyk in and out 2019-04-23 17:09:20 +01:00
XYZ2Lab.c add VIPS_ONCE and use it everywhere 2017-11-23 08:43:08 +00:00
XYZ2Yxy.c Update GObject introspection annotations for libvips/colour directory 2017-09-30 19:29:17 +01:00
XYZ2scRGB.c Update GObject introspection annotations for libvips/colour directory 2017-09-30 19:29:17 +01:00
Yxy2XYZ.c void /0 in Yxy2XYZ 2019-08-29 14:20:30 +01:00
colour.c fix profile attach on colour output 2019-01-17 16:36:25 +00:00
colourspace.c make RGB and sRGB synonmous 2019-12-22 11:40:09 +00:00
dE00.c add VIPS_FABS/MAX/MIN/CLIP 2016-01-26 12:26:21 +00:00
dE76.c Update GObject introspection annotations for libvips/colour directory 2017-09-30 19:29:17 +01:00
dECMC.c Update GObject introspection annotations for libvips/colour directory 2017-09-30 19:29:17 +01:00
float2rad.c Update GObject introspection annotations for libvips/colour directory 2017-09-30 19:29:17 +01:00
icc_transform.c make RGB and sRGB synonmous 2019-12-22 11:40:09 +00:00
pcolour.h add vips_profile_load() 2019-01-10 22:48:21 +00:00
profile_load.c revise profile_load 2019-08-08 13:23:28 +01:00
profiles.c revise profile_load 2019-08-08 13:23:28 +01:00
profiles.h revise profile_load 2019-08-08 13:23:28 +01:00
rad2float.c remove a pointless optimisation from rad2float 2019-08-27 09:23:16 +01:00
sRGB2HSV.c Update GObject introspection annotations for libvips/colour directory 2017-09-30 19:29:17 +01:00
sRGB2scRGB.c sRGB2scRGB uses the colour luts directly 2017-11-26 16:47:24 +00:00
scRGB2BW.c Update GObject introspection annotations for libvips/colour directory 2017-09-30 19:29:17 +01:00
scRGB2XYZ.c Update GObject introspection annotations for libvips/colour directory 2017-09-30 19:29:17 +01:00
scRGB2sRGB.c Update GObject introspection annotations for libvips/colour directory 2017-09-30 19:29:17 +01:00
wrap-profiles.sh revise profile_load 2019-08-08 13:23:28 +01:00