← Back to team overview

phatch-dev team mailing list archive

[Bug 395664] Re: corrupt tiff files

 

I still can't reproduce your bug with the
"corrupt_tiff_just_save.phatch". PIL (python image library) seems to
produce corrupt tiff files on your system. (The libtiff tools are not
involved here.) Could you repeat the following commands on a terminal
inside the folder where you have your image file:

$ python
Python 2.5.2 (r252:60911, Oct  5 2008, 19:24:49) 
[GCC 4.3.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import Image
>>> im=Image.open('2009-07-04 freenight busker bus 004.jpg')
>>> im.save('test.tiff','tiff')

Try to open test.tiff In case this file is corrupt, your PIL
installation is broken. This automatically means that all tiff
compression save options won't work either. Please try to reinstall PIL.
If the problem persists file a bug against the package in your
distribution. In case the test.tiff is not corrupt, it might be Phatch
related.

-- 
corrupt tiff files
https://bugs.launchpad.net/bugs/395664
You received this bug notification because you are a member of Phatch
Developers, which is subscribed to Phatch.

Status in Phatch = Photo & Batch!: Incomplete

Bug description:
Phatch saves corrupt TIFF files regardless of compression method, metadata ticked or not, and regardless of input format.

File head:
0000:0000 | 49 49 00 2A  08 00 00 00  00 0C 01 00  00 03 01 00 | II.*............ 
http://photobatch.wikidot.com/forum/t-166023/tiff-files-from-digikam-not-supported#post-522698



References