diff options
author | aavit <qt-info@nokia.com> | 2011-04-01 20:48:38 (GMT) |
---|---|---|
committer | aavit <qt-info@nokia.com> | 2011-04-01 20:48:38 (GMT) |
commit | 8762acbbc65065a277921746b9aaccef066b1331 (patch) | |
tree | 838521d77aa8a2e4c606d00f212dc187d0d27d73 /src/gui/image/qpnghandler.cpp | |
parent | ab1a46a128e938303f41727e24d5681669ff9680 (diff) | |
parent | c8851ce8e109fb6b403ae80036d9f319f1b69d7a (diff) | |
download | Qt-8762acbbc65065a277921746b9aaccef066b1331.zip Qt-8762acbbc65065a277921746b9aaccef066b1331.tar.gz Qt-8762acbbc65065a277921746b9aaccef066b1331.tar.bz2 |
Merge branch 'png151'
Diffstat (limited to 'src/gui/image/qpnghandler.cpp')
-rw-r--r-- | src/gui/image/qpnghandler.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/image/qpnghandler.cpp b/src/gui/image/qpnghandler.cpp index d88c437..c2a8b00 100644 --- a/src/gui/image/qpnghandler.cpp +++ b/src/gui/image/qpnghandler.cpp @@ -219,6 +219,7 @@ void setup_qt(QImage& image, png_structp png_ptr, png_infop info_ptr, float scre png_colorp palette = 0; int num_palette; png_get_IHDR(png_ptr, info_ptr, &width, &height, &bit_depth, &color_type, 0, 0, 0); + png_set_interlace_handling(png_ptr); if (color_type == PNG_COLOR_TYPE_GRAY) { // Black & White or 8-bit grayscale |