[Qt-interest] strange QPixmap::fromImage crash
caius ligarius
caius9090 at gmail.com
Thu May 27 18:53:38 CEST 2010
I figured this out. Don't remember but I think issue was with my images.
Thanks,
Caius
On Thu, May 27, 2010 at 12:45 AM, R. Reucher <rene.reucher at batcom-it.net>wrote:
> caius ligarius wrote:
> > ...
> > I have verified qImage by dumping this (qImage->bits()) to a file. All
> > values are b/w 0-255 and am also able to view image correctly by loading
> > this file in an external image viewer.
> >
> > What is going wrong here?
> I can't say what the cause of your crashes is, but I once had a similar
> situation loading - and painting - certain PNGs that were somehow
> 'corrupt'.
> Besides Qt paint engine crashes, I got warning messages telling me
> something
> about 'wrong iCCP chunks'... I then 'corrected' these images with scripted
> run through ImageMagick's 'convert' tool and the crashes were history. Not
> sure if this helps in your case, though.
>
> Have fun, René
> --
> René Reucher
> rene.reucher at batcom-it.net
> http://www.batcom-it.net/
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100527/e5615c53/attachment.html
More information about the Qt-interest-old
mailing list