aljosa wrote: > 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?
You need bundle the plugins as data files: http://docs.python.org/dist/node12.html -- http://mail.python.org/mailman/listinfo/python-list