zoom - Methods to Resize an Image
Image * MagnifyImage( const Image *image, ExceptionInfo *exception );
Image * MinifyImage( const Image *image, ExceptionInfo *exception );
Image * ResizeImage( Image *image, const unsigned long columns, const unsigned long rows, const FilterType filter, const double blur, ExceptionInfo *exception );
Image * SampleImage( const Image *image, const unsigned long columns, const unsigned long rows, ExceptionInfo *exception );
Image * ScaleImage( const Image *image, const unsigned long columns, const unsigned long rows, ExceptionInfo *exception );
MagnifyImage() is a convenience method that scales an image proportionally to twice its size.
The format of the MagnifyImage method is:
Image *MagnifyImage ( const Image *image, ExceptionInfo *exception );
A description of each parameter follows:
MinifyImage() is a convenience method that scales an image proportionally to half its size.
The format of the MinifyImage method is:
Image *MinifyImage ( const Image *image, ExceptionInfo *exception );
A description of each parameter follows:
ResizeImage() scales an image to the desired dimensions with one of these filters:
Bessel Blackman Box Catrom Cubic Gaussian Hanning Hermite Lanczos Mitchell Point Quandratic Sinc Triangle
The format of the ResizeImage method is:
Image *ResizeImage ( Image *image, const unsigned long columns, const unsigned long rows, const FilterType filter, const double blur, ExceptionInfo *exception );
A description of each parameter follows:
SampleImage() scales an image to the desired dimensions with pixel sampling. Unlike other scaling methods, this method does not introduce any additional color into the scaled image.
The format of the SampleImage method is:
Image *SampleImage ( const Image *image, const unsigned long columns, const unsigned long rows, ExceptionInfo *exception );
A description of each parameter follows:
ScaleImage() changes the size of an image to the given dimensions.
The format of the ScaleImage method is:
Image *ScaleImage ( const Image *image, const unsigned long columns, const unsigned long rows, ExceptionInfo *exception );
A description of each parameter follows: