Adam Pletcher wrote: > Am I missing something? Is there something non-standard about these > image files? I'm guessing so, but I can't nail it down. I've > successfully loaded them in in various programs with no issues. It > appears I can get PIL to load them by re-saving them in certain > programs, even though no other apps give me load errors. > > I posted one culprit image file in case someone is able to test/confirm > for me: > http://www.adamsarcade.com/misc/hud_sheet_04.tga
I can repeat this with the development version. It's an RLE-compressed targa file, so you've probably hit some edge case that PIL's decoder isn't handling properly. > It appears limited to certain RGBA Targa images. The odd part is, if > the operation is immediately run again it works fine with no errors. Have you checked that the resulting image contains the right data? </F> _______________________________________________ Image-SIG maillist - Image-SIG@python.org http://mail.python.org/mailman/listinfo/image-sig