How do I keep aspect ratio?

The MagickWand interface is a new high-level C API interface to ImageMagick core methods. We discourage the use of the core methods and encourage the use of this API instead. Post MagickWand questions, bug reports, and suggestions to this forum.
Post Reply
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Post by magick »

You need to compute the width/height yourself if you want to perserve the image aspect ratio or use MagickTransformImage() which honor the aspect ratio of the image. Alternatively use MagickTransformImage() which does honor the aspect ratio of the image.
Last edited by magick on 2006-04-21T07:08:10-07:00, edited 1 time in total.
Post Reply