Le 16/09/10 12:59, Dan Halbert a écrit :
On 9/16/2010 4:02 AM, Vincent Vande Vyvre wrote:Hello, Thanks for the respons. Well, any trivial code may reproduce the problem : folder = /folder/with/image/files images = glob.glob(folder) for image in images: img = QtGui.QImage(image) if not img.isNull(): set_thumbnail(img) If you have some RAW type of image in the folder, these files are converted in .tiff and the original files are lost. (RAW images are downloadable here : http://www.rawsamples.ch) I know, I can filter the list before process, but this isn't the question. After reading the doc, I believed that Qt did not support RAW type. Actually, I'm implementing the support of RAW files in my application Oqapy. I use, for this, the librairy Dcraw for extract thumbnails, metadatas, convert images to .tiff, etc. At this end and for testing, I have a folder with some images in RAW type. The probleme : if I open (accidentally) this folder with the last version of Oqapy, witch NOT yet support RAW type, all files is convert immediatelly in .tiff format. Bad surprise, no ? I investigate in Qt doc, Faq and forum and, maybe, I'll post a bug. Thanks again. Cheers. |
_______________________________________________ PyQt mailing list PyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt