../../index.html
[ImageMagick]
http://www.imagemagick.org/
[sponsor]
../../index.html
../../index.html
#main
Skip to page contents
[
../../index.html
About ImageMagick
../../www/command-line-tools.html
Command-line Tools
../../www/api.html
Program Interfaces
]
[
../../www/install-source.html
Install from Source
../../www/binary-releases.html
Binary Releases
../../www/resources.html
Resources
]
[
../../www/download.html
Downloads
]
[
../../www/links.html
Links
]
[
../../www/sponsors.html
Sponsors
http://www.travelsur.net/
Trips to Argentina
]
[
#MagnifyImage
MagnifyImage
|
#MinifyImage
MinifyImage
|
#ResizeImage
ResizeImage
|
#SampleImage
SampleImage
|
#ScaleImage
ScaleImage
|
#ThumbnailImage
ThumbnailImage
]
MagnifyImage
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:
image
The image.
exception
Return any errors or warnings in this structure.
MinifyImage
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:
image
The image.
exception
Return any errors or warnings in this structure.
ResizeImage
ResizeImage() scales an image to the desired dimensions with one of these filters:
Bessel   Blackman   Box
Catrom   CubicGaussian
Hanning  Hermite    Lanczos
Mitchell PointQuandratic
Sinc     Triangle
Most of the filters are FIR (finite impulse response), however, Bessel, Gaussian, and Sinc are IIR (infinite impulse response).  Bessel and Sinc are windowed (brought down to zero) with the Blackman filter.
ResizeImage() was inspired by Paul Heckbert's zoom program.
The format of the ResizeImage method is:
Image *ResizeImage(Image *image,const unsigned long columns,
const unsigned long rows,const FilterTypes filter,const double blur,
ExceptionInfo *exception)
A description of each parameter follows:
image
The image.
columns
The number of columns in the scaled image.
rows
The number of rows in the scaled image.
filter
Image filter to use.
blur
The blur factor where > 1 is blurry,
exception
Return any errors or warnings in this structure.
SampleImage
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:
image
The image.
columns
The number of columns in the sampled image.
rows
The number of rows in the sampled image.
exception
Return any errors or warnings in this structure.
ScaleImage
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:
image
The image.
columns
The number of columns in the scaled image.
rows
The number of rows in the scaled image.
exception
Return any errors or warnings in this structure.
ThumbnailImage
ThumbnailImage() changes the size of an image to the given dimensions and removes any associated profiles.  The goal is to produce small low cost thumbnail images suited for display on the Web.
The format of the ThumbnailImage method is:
Image *ThumbnailImage(const Image *image,const unsigned long columns,
const unsigned long rows,ExceptionInfo *exception)
A description of each parameter follows:
image
The image.
columns
The number of columns in the scaled image.
rows
The number of rows in the scaled image.
exception
Return any errors or warnings in this structure.
http://redux.imagemagick.org/discussion-server
Discourse Server
|
../../www/mailing-list.html
Mailing Lists
|
http://redux.imagemagick.org/gallery
Image Gallery
|
http://studio.webbyland.com/MagickStudio/scripts/MagickStudio.cgi
ImageMagick Studio
© 1999-2005 ImageMagick Studio LLC
