Author Topic: Maintaining Aspect Ratio  (Read 1208 times)

retrocoder

  • Guest
Maintaining Aspect Ratio
« 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 ?

Offline Galfar

  • Administrator
  • Imaging User
  • *****
  • Posts: 312
    • View Profile
    • Galfar's Homepage
Re: Maintaining Aspect Ratio
« Reply #1 on: 7 May 2008, 11:45:32 »