[PyKDE] How to display GIF and JPEG

Gerard Vermeulen gvermeul at labs.polycnrs-gre.fr
Wed Mar 28 09:43:18 BST 2001


Sheng-Te Tsao wrote:

>I am wondering if someone can show me some code that demonstrates how to 
>read GIF or JPEG files using PyQT because unlike PNG, they are not compiled 
>into the qt221.dll supplied with PyQT for Windows.   Note that I do have 
>access to the QT source code for Windows yet, although I do plan to buy a 
>license in the near future, once I convince my company that PyQT is the way 
>to go.

Take a look at the PythonWare Image library

http://www.pythonware.com/downloads/index.htm

It should allow you to convert the GIF/JPEG files in memory to a format
that can be displayed by Qt.

Gerard Vermeulen




More information about the PyQt mailing list