Uploaded images: Derivatives too bright


When uploading images, all the derivatives created by CA are too bright.

I've tested with several PNGs (from different encoding tools), as well as JPGs.

Attached is a screenshot of a PNG:

  • Left: CA version (JPG too bright)

  • Right: Downloaded original (in different viewer)

I've verified that the image sources display correctly in different programs (gimp, ristretto, firefox, okular). I've also tested converting them with ImageMagick, to see if maybe there's gamma metadata interpreted incorrectly. Worked fine, too.

Any ideas?
Thank you in advance


Debian 9


User known
January 10, 2018, 8:06 AM

I'm not sure if ImageMagick is causing the shifts in your images but I would not be surprised if it was.

Peter Bubestinger
January 10, 2018, 9:52 AM

Thanks for clearing that up!
Will check this and report when I've found out what it was

Christian Widerström
March 7, 2018, 2:16 PM

We can confirm, that gmagick is working well. Here is a diff: http://clangers.collectiveaccess.org/jira/secure/attachment/14472/Heidi_diff_with_gmagick.png

Apart from the irriation that imagemagick surprisingly does not do what it should (or is that an Ubuntu-specific Issue?): May I ask how you deal with the problem that gmagick is not available in the Ubuntu 16.04.x sources? Ubuntu 17.10 seems to be the first Ubuntu version with php-gmagick & graphicsmagic in the main sources [0].

As far as I read out of the documentation of CA, Ubuntu 17.10 is not officially supported, or there are no tests (of course, is not an LTS). Do you have good experiences with gmagick via pecl or a similar repository?

[0] https://packages.ubuntu.com/search?keywords=php-gmagick&searchon=names&suite=all&section=all

User known
March 7, 2018, 2:23 PM

You can install gmagick with PECL. We do it all the time without issue.

Christian Widerström
March 7, 2018, 2:25 PM

Thank you, Seth.


User known


Peter Bubestinger




Affects versions