[magick-users] extent not using background color
Fred Weinhaus
fmw at alink.net
Fri Mar 28 19:13:34 PDT 2008
Your syntax is wrong for convert. Put the input image right after
convert and then follow with the options and finally the output image.
>Hello:
>
>I used yum to install ImageMagick.x86_64.6.2.8.0-3.el5.4
>on one of my servers running CentOS 5.1
>
>I have an image which is 650 x 385 and am trying to make
>it into a 650 x 650 image with the current content centered
>on a white background.
>
>Here is the command I am using (All on one line):
>/usr/bin/convert -background white -extent 650x650!
> +repage myImage.jpg newImage.jpg
>
>The new image has the original image at the top instead
>of centered and it filled in the new areas with black
>instead of white.
>
>Here are links to the images:
>http://jamm10.jammconsulting.com/myImage.jpg
>http://jamm10.jammconsulting.com/newImage.jpg
>
>I tried using backdrop but that does not seem available
>in the version of ImageMagick I am using.
>
>Any ideas how to get what I want?
>
>Thanks,
> Neil
More information about the Magick-users
mailing list