cropping and centering without repage
Posted: 2010-10-14T07:24:49-07:00
Hello
We have an old version of imagemagick on our server ( 5.5.6) that we can't easily update, and would like to use the following command:
/usr/bin/mogrify -resize x200 -resize '200x' -resize 50% -gravity center -crop 100x100+0+0 +repage "/path/to/image.jpg"
However, we get "/usr/bin/mogrify: Unrecognized option (+repage)"
We've tried it without the repage option and the cropping seems to work fine, but this repage option is apparently sometimes required to "remove virtual canvas layering information". I've no idea what that means and haven't been able to find any information to clarify what it does
Is it necessary?
Thanks very much
Regards
Rupert
We have an old version of imagemagick on our server ( 5.5.6) that we can't easily update, and would like to use the following command:
/usr/bin/mogrify -resize x200 -resize '200x' -resize 50% -gravity center -crop 100x100+0+0 +repage "/path/to/image.jpg"
However, we get "/usr/bin/mogrify: Unrecognized option (+repage)"
We've tried it without the repage option and the cropping seems to work fine, but this repage option is apparently sometimes required to "remove virtual canvas layering information". I've no idea what that means and haven't been able to find any information to clarify what it does
Is it necessary?
Thanks very much
Regards
Rupert