discourse/app
Marcus Rückert 320d5d64e8 Use sRGB Color Profile when converting images
With the conversion done when uploading or fetching an image we also
lose any embedded color profiles. [This leads to images possibly not rendered
properly in the browsers.][1] To fix the issue we tell imagemagick to render
the image from the embedded color profile to sRGB, which is the color
space used by most browsers.

RT_sRGB.icm is taken from the [RawTherapee repository][2] and is licensed as Public Domain.

[1]: https://meta.discourse.org/t/image-embedded-color-profile/40519
[2]: https://github.com/Beep6581/RawTherapee/blob/master/rtdata/iccprofiles/output/RT_sRGB.icm
2016-03-07 23:42:33 +01:00
..
assets FEATURE: Add rejection message on rejected IncomingEmail 2016-03-07 16:56:17 +01:00
controllers FIX: render About page for web crawlers 2016-03-07 15:28:11 -05:00
helpers set locale for anonymous from header 2016-02-26 13:45:00 -08:00
jobs FEATURE: Add rejection message on rejected IncomingEmail 2016-03-07 16:56:17 +01:00
mailers validate user locale 2016-03-04 13:21:30 -08:00
models Use sRGB Color Profile when converting images 2016-03-07 23:42:33 +01:00
serializers FEATURE: Add rejection message on rejected IncomingEmail 2016-03-07 16:56:17 +01:00
services FIX: collapse 'replied', 'quoted' and 'posted' to the same notification 2016-03-07 21:56:33 +01:00
views FIX: render About page for web crawlers 2016-03-07 15:28:11 -05:00