Ilya Konkov
2008-07-23 15:51:09 UTC
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=/
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=/