[RESOLVED] Convert locking up with specific image.
Posted: 2011-11-22T14:48:51-07:00
Hello,
I manage a website where people can upload photos for various reasons, and came across a particular file that was causing convert to lock up and create enormous temporary files.
The command was :
/usr/local/bin/convert FILENAME.JPG -resample 72x72 -resize 0.66% /data/www/temp_photos/FILENAME_2.JPG
The image was :
http://removed.jpg
The debug output was :
http://dl.dropbox.com/u/10460707/convert-debug2.txt
The debug would have continued on for quite a while, it looks like it is processing each individual pixel when I just let the debug output go for a while.
Using identify on the original image (this command) :
identify -format "%[colorspace] %[xresolution] %[width] %[height]" FILENAME.JPG
Yields - RGB 2 3937 2625
Thanks for any help! This one has me stumped.
- Chase
I manage a website where people can upload photos for various reasons, and came across a particular file that was causing convert to lock up and create enormous temporary files.
The command was :
/usr/local/bin/convert FILENAME.JPG -resample 72x72 -resize 0.66% /data/www/temp_photos/FILENAME_2.JPG
The image was :
http://removed.jpg
The debug output was :
http://dl.dropbox.com/u/10460707/convert-debug2.txt
The debug would have continued on for quite a while, it looks like it is processing each individual pixel when I just let the debug output go for a while.
Using identify on the original image (this command) :
identify -format "%[colorspace] %[xresolution] %[width] %[height]" FILENAME.JPG
Yields - RGB 2 3937 2625
Thanks for any help! This one has me stumped.
- Chase