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)
committerroot <root@f1ebe1bec408>
Fri, 15 Mar 2019 12:19:56 +0000 (12:19 +0000)
commit5c41d584cb654efbfd8c854bac0d30d87a054ab5
tree1645f5816d4b48d52facf1ee159abe63e084968a
parentafb39b132b10b74efec31cd8191cdcd72a61d8d3
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>
C4/Images.pm