diff options
author | Sergey Borovkov <serge.borovkov@gmail.com> | 2012-10-25 01:20:01 +0400 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2012-10-26 14:20:21 +0200 |
commit | 8c22c9be3e684db90cb97177e97d1ab40866e680 (patch) | |
tree | 1c049c498a11a9b1da819b8f74415012ebf6ad06 /mkspecs | |
parent | 3ab4afb7439953948f38f3a21f049ad9eb3c4332 (diff) |
Remove unnecessary call to png_set_sBit when writing png files
According to libpng documentation - PNG files reduce possible bit depths
to 1, 2, 4, 8, and 16. If data is of another bit depth, it's possible to
write an sBIT chunk into the file so that decoders can recover the
original data if desired. Since we hardcode depth to 8 there is no need
to call png_set_sBit
Change-Id: I8e3941675019b920051775128ff4cf2bf1ca7c4a
Reviewed-by: aavit <eirik.aavitsland@digia.com>
Diffstat (limited to 'mkspecs')
0 files changed, 0 insertions, 0 deletions