John: That worked perfectly!
Thanks, Neil -- Neil Aggarwal, (832)245-7314, www.JAMMConsulting.com Eliminate junk email and reclaim your inbox. Visit http://www.spammilter.com for details. > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > John J Foerch > Sent: Friday, March 28, 2008 5:59 PM > To: magick-users@imagemagick.org > Subject: [magick-users] Re: extent not using background color > > "Neil Aggarwal" <[EMAIL PROTECTED]> writes: > > 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 > > > > -- > > Neil Aggarwal, (832)245-7314, www.JAMMConsulting.com > > Eliminate junk email and reclaim your inbox. > > Visit http://www.spammilter.com for details. > > Extent supported -background and -gravity since around 6.3.0 or so. > You can achieve the same effect with earlier versions like this: > > convert -size 650x650 xc:white myImage.jpg -gravity northwest -compose > over -composite newImage.jpg > > John Foerch > > _______________________________________________ > Magick-users mailing list > Magick-users@imagemagick.org > http://studio.imagemagick.org/mailman/listinfo/magick-users _______________________________________________ Magick-users mailing list Magick-users@imagemagick.org http://studio.imagemagick.org/mailman/listinfo/magick-users