Tugger the SLUGger!SLUG Mailing List Archives

Re: [SLUG] image resizing


On Wed, Nov 01, 2000 at 11:35:53PM +1100, Malcolm Tredinnick wrote:
> On Wed, Nov 01, 2000 at 11:25:18PM +1100, John Ferlito wrote:
> According to the man page (and my own past experiences, I seem to recall),
> 
> 	convert -geometry 640x480 in.jpg out.jpg
> 
> converts the image to have a maximum width of 640 and a max height of
> 480 _and_ keeps the aspect ratio. (If you don't want to keep the aspect
> ratio, you need to add an '!' to the end of the geometry.)
> 

	Hmm didn't see that :( Anyway that solves my problem and means I
can use the same script :)

-- 
John

The difference between a good man and a bad one is the 
choice of cause - William James