Bug 21987: Do not generate true color thumbnails if not needed
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 18 Dec 2018 17:02:19 +0000 (14:02 -0300)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Tue, 19 Mar 2019 09:54:47 +0000 (09:54 +0000)
commit8928ba93250633eb82199e06c2198487b955d734
tree5b6d1550ad9e919c02fcb9431be6e5734a4768da
parent43a58d640a3193ade1f357a31736bafcd939444a
Bug 21987: Do not generate true color thumbnails if not needed

If the original image is not a true color image we should not generate a
true color thumbnail.

Signed-off-by: Michal Denar <black23@gmail.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
(cherry picked from commit 5c41d584cb654efbfd8c854bac0d30d87a054ab5)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
C4/Images.pm