freeware

Threads Posts Archives


<< Previous Thread << Previous Post Topic 14662 of 16625
Posts 3 of 3
Next Post >> Next Thread >>

Re: resize images to 640x480


de Toke Eskildsen 05/22/2006 10:41



wrote:

> I want a 640x480 black canvas and on it in the middle I want the
> picture undistorted and as large as possible.

With ImageMagick:
convert in.png -resize 640x480 -bordercolor #000 -border 640
-gravity center -crop 640x480+0x0 out.png

For at batch, create a .bat file with the content (single line):
FOR %%A IN (*.jpg) DO convert %%A -resize 640x480 -bordercolor #000
-border 640 -gravity center -crop 640x480+0x0 out_%%A
and run it in the directory with the images.
--
Toke Eskildsen - http://ekot.dk/



resize images to 640x480 Jack.Hambabo
  Re: resize images to 640x480 Chong
|  Re: resize images to 640x480 Toke Eskildsen
 
freeware