Image scaling by Width & Height constant - preserve aspect ratio
- From: "Farce Milverk" <farcmilverk@xxxxxxxxx>
- Date: Mon, 17 Jul 2006 17:18:32 GMT
Hi,
I'm looking for an algorithm to resize an image of arbitrary size to a
"fixed" / required width and height.
For example, my application requires that images be no larger than 440 pixel
(height) x 780 (wide)
So the "preferred size" would be 440 x 780
If an image is too large, either by width or height it should be resized
until less than or equal to 440 x 780 and preserve aspect ratio.
Thanks for any tips.
Farce
.
- Follow-Ups:
- Re: Image scaling by Width & Height constant - preserve aspect ratio
- From: Sigmund Hansen
- Re: Image scaling by Width & Height constant - preserve aspect ratio
- Prev by Date: Re: load jars from NTFS under linux
- Next by Date: Re: Image scaling by Width & Height constant - preserve aspect ratio
- Previous by thread: Re: load jars from NTFS under linux
- Next by thread: Re: Image scaling by Width & Height constant - preserve aspect ratio
- Index(es):
Relevant Pages
|
|