Vampyre Imaging Library Forum

Imaging Category => Help & Questions => Topic started by: retrocoder on 6 May 2008, 15:13:52

Title: Maintaining Aspect Ratio
Post by: retrocoder on 6 May 2008, 15:13:52

What I would like to do is to resize an image by passing in just one value (lets say width) and the image is resized to the new width but the height adjusts to maintain the aspect ratio. Is there a way to do this with the Vampyre library ?
Title: Re: Maintaining Aspect Ratio
Post by: Galfar on 7 May 2008, 11:45:32
See the answers posted on PGD:
http://www.pascalgamedevelopment.com/viewtopic.php?p=43231#43231 (http://www.pascalgamedevelopment.com/viewtopic.php?p=43231#43231)