Logo Search packages:      
Sourcecode: jmagick version File versions  Download package

native void magick::MagickImage::transformImage ( String  cropGeometry,
String  imageGeometry 
) throws MagickException

Creates a new image that is a transformed size of of existing one as specified by the crop and image geometries.

If a crop geometry is specified a subregion of the image is obtained. If the specified image size, as defined by the image and scale geometries, is smaller than the actual image size, the image is first minified to an integral of the specified image size with an antialias digital filter. The image is then scaled to the exact specified image size with pixel replication. If the specified image size is greater than the actual image size, the image is first enlarged to an integral of the specified image size with bilinear interpolation. The image is then scaled to the exact specified image size with pixel replication.

Parameters:
cropGeometry a crop geometry string. This geometry \ defines a subregion of the image.
imageGeometry a image geometry string. The specified \ width and height of this geometry string are absolute.
Exceptions:
MagickException on error


Generated by  Doxygen 1.6.0   Back to index