Index: gvcore/documentimpl.cpp =================================================================== --- gvcore/documentimpl.cpp (revisione 763142) +++ gvcore/documentimpl.cpp (revisione 763143) @@ -38,6 +38,11 @@ } void DocumentImpl::setImage(QImage img) { + if (img.depth() == 1) { + // 1 bit depth images are difficult to scale. Let's convert to 8 bit + // depth. See bug #155518. + img = img.convertDepth(8); + } mDocument->setImage(img); }