Search found 3 matches

by mmazing
2011-11-22T15:43:58-07:00
Forum: Bugs
Topic: [RESOLVED] Convert locking up with specific image.
Replies: 3
Views: 6499

Re: Convert locking up with specific image.

your input image density (resolution) = 2, so perhaps -resample is having trouble or making a huge image before you resize by 0.66% which is very small. Why don't you just resize the input image to your desired WxH and then set the density to 72. convert yourimage.jpg -resize WxH -density 72 result...
by mmazing
2011-11-22T15:42:25-07:00
Forum: Bugs
Topic: [RESOLVED] Convert locking up with specific image.
Replies: 3
Views: 6499

Re: Convert locking up with specific image.

It seems to be a problem with the resampling, for some reason the original image has a DPI of "2/1" in the EXIF data.

The problem goes away if I remove the -resample 72x72 option.
by mmazing
2011-11-22T14:48:51-07:00
Forum: Bugs
Topic: [RESOLVED] Convert locking up with specific image.
Replies: 3
Views: 6499

[RESOLVED] Convert locking up with specific image.

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_...