gravity center not working with IM 6.2.8
Posted: 2012-02-21T09:12:52-07:00
Hi,
I'm trying to resize a squarish image to a 320x240 image with blackish padding on the sides.
With a machine with IM 6.5.7-8 installed, this line
works well. However a CentOS machine with IM 6.2.8 produces a pic with the original square resized and put in the left side of the frame, as in with -gravity left.
Any ideas?
I'm trying to resize a squarish image to a 320x240 image with blackish padding on the sides.
With a machine with IM 6.5.7-8 installed, this line
Code: Select all
convert original.jpg -resize 235x240 -background '#050608' -gravity center -extent 320x240 -quality 99% new.jpg
Any ideas?