Bad behaviour with really extreme images
"Ilya Konkov" <[email protected]> Wed, 23 Jul 2008 21:51:09 +0600
| Newsgroups | gmane.comp.kde.gwenview |
|---|---|
| Message-ID | <[email protected]> |
Hello,
I undestand that this is really not very usable case, but anyway:
QImage image(1, 10000, QImage::Format_Mono);
image.fill(0);
image.save("image.png", "PNG");
Opening this image with gwenview gives:
ASSERT: "!image.isNull()" in file
/home/eruart/app/kdesvn/kdegraphics/gwenview/lib/imagescaler.cpp, line
145
"JPG" version dies too, but differently.
--
Ilya Konkov
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/