Save grayscale palleted images to grayscale png
authorSergey Borovkov <serge.borovkov@gmail.com>
Sat, 27 Oct 2012 14:17:05 +0000 (18:17 +0400)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Thu, 8 Nov 2012 23:37:42 +0000 (00:37 +0100)
commitb009ed0cc87a3b16e5c4554f07875177366d1dba
tree98a380a4ddd7ca57b0b7227014b2f2fb51f94e64
parent0d519164f29eb04208eac8bb7dd85443e2b282e1
Save grayscale palleted images to grayscale png

While Qt does not support grayscale images explicitly it makes sense to
save palleted images to grayscale png when possible for better
compression and compatibility as opening and saving grayscale images now
converts them to palleted

Change-Id: Iab7c5a5a9d24b9352f5a7bafe04824a97d2463d9
Reviewed-by: aavit <eirik.aavitsland@digia.com>
src/gui/image/qpnghandler.cpp