I tried using ImageMagick 6.8.2-1 compiled against libjpeg 8d using this sample 800x800 image:
http://upload.wikimedia.org/wikipedia/c ... _Vries.jpg
Running the command:
Code: Select all
convert -define "jpeg:size=1000" Koningin_Beatrix_in_Vries.jpg -resize "1000>" out.jpg
produces a 1000x1000 px image for me.
I also tried compiling against libjpeg-turbo instead of standard IJG libjpeg. Running the above command under ImageMagick 6.8.2-1 compiled against libjpeg-turbo produces correct results - the size of out.jpg is 800x800 px.
It looks like IJG libjpeg will upscale the image, while libjpeg-turbo won't. This can be seen running the command:
Code: Select all
convert -define "jpeg:size=5000" Koningin_Beatrix_in_Vries.jpg out.jpg
ImageMagick compiled against IJG libjpeg will produce a 1600x1600 image, while ImageMagick compiled against libjpeg-turbo will produce an image of size 800x800.
I'm running these commands on OS X 10.7.