py2exe & qt4/qimage

aljosa aljosa.mohorovic at gmail.com
Thu Jun 1 08:09:14 EDT 2006


i'm trying to convert python (image resizer script using PyQt4) script
to exe but support for jpeg and tiff image formats is located in
Qt4.1\plugins\imageformats (dll files) and when script is converted
exe file doesn't support jpeg and tiff.

i tryed using all file formats in
script:
tmp1 = QImage('images/type.bmp')
tmp2 = QImage('images/type.gif')
tmp3 = QImage('images/type.jpg')
tmp4 = QImage('images/type.png')
tmp5 = QImage('images/type.tif')

but it doesn't work when i convert script to exe.
any tips on howto include jpeg and tiff image formats support in exe?




More information about the Python-list mailing list