ImageMagick fails parsing JPEG data generated by Picasa.
Posted: 2009-01-24T15:58:21-07:00
Any images I've edited using Picasa and saved to disk are no longer parsable by ImageMagick:
You can find the .orig/20081025T181312.jpg referred to in the code above at this URL:
http://lhunath.lyndir.com/catalog/.orig ... 181312.jpg
Can someone confirm whether this is an ImageMagick bug or whether the JPEG image data is actually corrupt (a Picasa bug)?
I know the image renders just fine in any image viewer I can throw it at.
By the way, this is ImageMagick 6.4.8-1 (MacPorts) and 6.4.8.3 (Gentoo).
Picasa v3.0.2 (OS X)
Code: Select all
$ convert .orig/20081025T181312.jpg -resize 100 .thumbs/20081025T181312.jpg
convert: Corrupt JPEG data: premature end of data segment `.orig/20081025T181312.jpg' @ jpeg.c/EmitMessage/227.
http://lhunath.lyndir.com/catalog/.orig ... 181312.jpg
Can someone confirm whether this is an ImageMagick bug or whether the JPEG image data is actually corrupt (a Picasa bug)?
I know the image renders just fine in any image viewer I can throw it at.
By the way, this is ImageMagick 6.4.8-1 (MacPorts) and 6.4.8.3 (Gentoo).
Picasa v3.0.2 (OS X)