[PyKDE] PyQT and JPEG images

Jan Ekholm chakie at infa.abo.fi
Wed Sep 26 07:59:16 BST 2001


On Wed, 26 Sep 2001, Stephen Gates wrote:

>Hi,
>
>I'm writing an application which needs to load JPEG images. Basically, I 
>point a url at an image and read its contents. Then create an image out of 
>this and draw it on a widget.
>
>This works fine for GIFs but not JPEGs under Windows, yet runs fine on Linux.
>
>Whats the problem? Why doesn't PyQT support JPEGs under Windows?

Can you load JPEG:s in normal Qt programs under Windows? Hmm, now that I
think about it, I've experienced quite a few segmentation faults
loading/converting JPEG:s under Linux, but at least they are recognized.

--

             Gravity is a habit that is hard to shake off.
                                            -- (Terry Pratchett, Small Gods)





More information about the PyQt mailing list