Image::zoom function in Magick++
Posted: 2007-09-19T04:48:52-07:00
The documentation in Magick++ for the Image::zoom function is pretty sparse:
"zoom const Geometry &geometry_ Zoom image to specified size."
That's it !
Does anybody know what this is supposed to do, as opposed to, let's say, Image::scale among many others Image resizing functions in Magick++ which also take a Geometry ?
Am I supposed to be using the Geometry which takes the % qualifier ? If so, am I supposed to be use the exact same width and height amounts with the % qualifier ?
I would have thought, being the naive person I am, that an image zoom function would just take a single parameter, which would be the amount to zoom as a percentage of the current size, with amounts greater than 100 making the image proportionally larger and amount less than 100 making the image proportioanlly smaller.
I really appreciate that ImageMagick and Magick++ are free, but the online programming docs make it a real chore to figure out what to do unless one is of the "try it out and you might figure it out" school of programming.
"zoom const Geometry &geometry_ Zoom image to specified size."
That's it !
Does anybody know what this is supposed to do, as opposed to, let's say, Image::scale among many others Image resizing functions in Magick++ which also take a Geometry ?
Am I supposed to be using the Geometry which takes the % qualifier ? If so, am I supposed to be use the exact same width and height amounts with the % qualifier ?
I would have thought, being the naive person I am, that an image zoom function would just take a single parameter, which would be the amount to zoom as a percentage of the current size, with amounts greater than 100 making the image proportionally larger and amount less than 100 making the image proportioanlly smaller.
I really appreciate that ImageMagick and Magick++ are free, but the online programming docs make it a real chore to figure out what to do unless one is of the "try it out and you might figure it out" school of programming.