NAMEdeprecate - Deprecated Methods
SYNOPSISvoid * AcquireMemory( const size_t size ); unsigned int ChannelImage( Image *image, const ChannelType channel ); unsigned int ChannelThresholdImage( Image *image, const char *level ); void * CloneMemory( void *destination, const void *source, const size_t size ); unsigned int DeleteImageList( Image *images, const long offset ); void DestroyBlobInfo( BlobInfo *blob ); void DestroyImages( Image *image ); unsigned int DispatchImage( const Image *image, const long x_offset, const long y_offset, const unsigned long columns, const unsigned long rows, const char *map, const StorageType type, void *pixels, ExceptionInfo *exception ); void FormatString( char *string, const char *format, ... ); void * GetConfigureBlob( const char *filename, ExceptionInfo *exception ); int GetImageGeometry( Image *image, const char *geometry, const unsigned int size_to_fit, RectangeInfo *region_info ); Image * GetImageList( const Image *images, const long offset, ExceptionInfo *exception ); long GetImageListIndex( const Image *images ); unsigned long GetImageListSize( const Image *images ); Image * GetNextImage( const Image *images ); unsigned int GetNumberScenes( const Image *images ); Image * GetPreviousImage( const Image *images ); IdentityAffine( AffineMatrix *affine ); void LiberateMemory( void ** memory ); LiberateSemaphoreInfo( void ** semaphore_info ); MagickIncarnate( const char *path ); Image * PopImageList( Image ** images ); char * PostscriptGeometry( const char *page ); unsigned int PushImageList( Image *images, const Image *image, ExceptionInfo *exception ); unsigned int QuantizationError( Image *image ); unsigned int RandomChannelThresholdImage( Image *image, const char *channel, const char *thresholds, ExceptionInfo *exception ); void ReacquireMemory( void ** memory, const size_t size ); unsigned int SetImageList( Image *images, const Image *image, const long offset, ExceptionInfo *exception ); Image * ShiftImageList( Image ** images ); Image * SpliceImageList( Image *images, const long offset, const unsigned long length, const Image *splices, ExceptionInfo *exception ); void Strip( char *message ); void TemporaryFilename( char *path ); unsigned int ThresholdImage( Image *image, const double threshold ); unsigned int ThresholdImageChannel( Image *image, const char *threshold ); unsigned int UnshiftImageList( Image *images, const Image *image, ExceptionInfo *exception );
FUNCTION DESCRIPTIONS
AcquireMemoryAcquireMemory() returns a pointer to a block of memory at least size bytes suitably aligned for any use. The format of the AcquireMemory method is: void *AcquireMemory ( const size_t size ); A description of each parameter follows:
AcquireString
The format of the AllocateString method is: char *AllocateString(const char *source) A description of each parameter follows:
ChannelImageExtract a channel from the image. A channel is a particular color component of each pixel in the image. The format of the ChannelImage method is: unsigned int ChannelImage ( Image *image, const ChannelType channel ); A description of each parameter follows:
ChannelThresholdImageChannelThresholdImage() changes the value of individual pixels based on the intensity of each pixel channel. The result is a high-contrast image. The format of the ChannelThresholdImage method is: unsigned int ChannelThresholdImage ( Image *image, const char *level ); A description of each parameter follows:
CloneMemoryCloneMemory() copies size bytes from memory area source to the destination. Copying between objects that overlap will take place correctly. It returns destination. The format of the CloneMemory method is: void *CloneMemory ( void *destination, const void *source, const size_t size ); A description of each parameter follows:
DeleteImageListDeleteImageList() deletes an image at the specified position in the list. The format of the DeleteImageList method is: unsigned int DeleteImageList ( Image *images, const long offset ); A description of each parameter follows:
DestroyBlobInfoDestroyBlobInfo() deallocates memory associated with an BlobInfo structure. The format of the DestroyBlobInfo method is: void DestroyBlobInfo ( BlobInfo *blob ); A description of each parameter follows:
DestroyImagesDestroyImages() destroys an image list. The format of the DestroyImages method is: void DestroyImages ( Image *image ); A description of each parameter follows:
DispatchImageDispatchImage() extracts pixel data from an image and returns it to you. The method returns MagickFalse on success otherwise True if an error is encountered. The data is returned as char, short int, int, long, float, or double in the order specified by map. Suppose you want to extract the first scanline of a 640x480 image as character data in red-green-blue order: DispatchImage ( image, 0, 0, 640, 1, "RGB", CharPixel, pixels, exception );; The format of the DispatchImage method is: unsigned int DispatchImage ( const Image *image, const long x_offset, const long y_offset, const unsigned long columns, const unsigned long rows, const char *map, const StorageType type, void *pixels, ExceptionInfo *exception ); A description of each parameter follows:
FormatStringFormatString() prints formatted output of a variable argument list. The format of the FormatString method is: void FormatString ( char *string, const char *format, ... ); A description of each parameter follows.
GetConfigureBlobGetConfigureBlob() returns the specified configure file as a blob. The format of the GetConfigureBlob method is: void *GetConfigureBlob ( const char *filename, ExceptionInfo *exception ); A description of each parameter follows:
GetImageGeometryGetImageGeometry() returns a region as defined by the geometry string with respect to the image and its gravity. The format of the GetImageGeometry method is: int GetImageGeometry ( Image *image, const char *geometry, const unsigned int size_to_fit, RectangeInfo *region_info ); A description of each parameter follows:
GetImageListGetImageList() returns an image at the specified position in the list. The format of the GetImageList method is: Image *GetImageList ( const Image *images, const long offset, ExceptionInfo *exception ); A description of each parameter follows:
GetImageListIndexGetImageListIndex() returns the position in the list of the specified image. The format of the GetImageListIndex method is: long GetImageListIndex ( const Image *images ); A description of each parameter follows:
GetImageListSizeGetImageListSize() returns the number of images in the list. The format of the GetImageListSize method is: unsigned long GetImageListSize ( const Image *images ); A description of each parameter follows:
GetNextImageGetNextImage() returns the next image in a list. The format of the GetNextImage method is: Image *GetNextImage ( const Image *images ); A description of each parameter follows:
GetNumberScenesGetNumberScenes() returns the number of images in the list. The format of the GetNumberScenes method is: unsigned int GetNumberScenes ( const Image *images ); A description of each parameter follows:
GetPreviousImageGetPreviousImage() returns the previous image in a list. The format of the GetPreviousImage method is: Image *GetPreviousImage ( const Image *images ); A description of each parameter follows:
IdentityAffineIdentityAffine() initializes the affine transform to the identity matrix. The format of the IdentityAffine method is: IdentityAffine ( AffineMatrix *affine ); A description of each parameter follows:
LiberateMemoryLiberateMemory() frees memory that has already been allocated, and NULL's the pointer to it. The format of the LiberateMemory method is: void LiberateMemory ( void **memory ); A description of each parameter follows:
LiberateSemaphoreInfoLiberateSemaphoreInfo() relinquishes a semaphore. The format of the LiberateSemaphoreInfo method is: LiberateSemaphoreInfo ( void **semaphore_info ); A description of each parameter follows:
MagickIncarnateMagickIncarnate() initializes the ImageMagick environment. The format of the MagickIncarnate function is: MagickIncarnate ( const char *path ); A description of each parameter follows:
PopImageListPopImageList() removes the last image in the list. The format of the PopImageList method is: Image *PopImageList ( Image **images ); A description of each parameter follows:
PostscriptGeometryPostscriptGeometry() replaces any page mneumonic with the equivalent size in picas. The format of the PostscriptGeometry method is: char *PostscriptGeometry ( const char *page ); A description of each parameter follows.
PushImageListPushImageList() adds an image to the end of the list. The format of the PushImageList method is: unsigned int PushImageList ( Image *images, const Image *image, ExceptionInfo *exception ); A description of each parameter follows:
QuantizationErrorQuantizationError() measures the difference between the original and quantized images. This difference is the total quantization error. The error is computed by summing over all pixels in an image the distance squared in RGB space between each reference pixel value and its quantized value. These values are computed:
The format of the QuantizationError method is: unsigned int QuantizationError ( Image *image ); A description of each parameter follows.
RandomChannelThresholdImageRandomChannelThresholdImage() changes the value of individual pixels based on the intensity of each pixel compared to a random threshold. The result is a low-contrast, two color image. The format of the RandomChannelThresholdImage method is: unsigned int RandomChannelThresholdImage ( Image *image, const char *channel, const char *thresholds, ExceptionInfo *exception ); A description of each parameter follows:
ReacquireMemoryReacquireMemory() changes the size of the memory and returns a pointer to the ( possibly moved ) block. The contents will be unchanged up to the lesser of the new and old sizes. The format of the ReacquireMemory method is: void ReacquireMemory ( void **memory, const size_t size ); A description of each parameter follows:
SetImageListSetImageList() inserts an image into the list at the specified position. The format of the SetImageList method is: unsigned int SetImageList ( Image *images, const Image *image, const long offset, ExceptionInfo *exception ); A description of each parameter follows:
ShiftImageListShiftImageList() removes an image from the beginning of the list. The format of the ShiftImageList method is: Image *ShiftImageList ( Image **images ); A description of each parameter follows:
SpliceImageListSpliceImageList() removes the images designated by offset and length from the list and replaces them with the specified list. The format of the SpliceImageList method is: Image *SpliceImageList ( Image *images, const long offset, const unsigned long length, const Image *splices, ExceptionInfo *exception ); A description of each parameter follows:
StripStrip() strips any whitespace or quotes from the beginning and end of a string of characters. The format of the Strip method is: void Strip ( char *message ); A description of each parameter follows:
TemporaryFilenameTemporaryFilename() replaces the contents of path by a unique path name. The format of the TemporaryFilename method is: void TemporaryFilename ( char *path ); A description of each parameter follows.
ThresholdImageThresholdImage() changes the value of individual pixels based on the intensity of each pixel compared to threshold. The result is a high-contrast, two color image. The format of the ThresholdImage method is: unsigned int ThresholdImage ( Image *image, const double threshold ); A description of each parameter follows:
ThresholdImageChannelThresholdImageChannel() changes the value of individual pixels based on the intensity of each pixel channel. The result is a high-contrast image. The format of the ThresholdImageChannel method is: unsigned int ThresholdImageChannel ( Image *image, const char *threshold ); A description of each parameter follows:
UnshiftImageListUnshiftImageList() adds the image to the beginning of the list. The format of the UnshiftImageList method is: unsigned int UnshiftImageList ( Image *images, const Image *image, ExceptionInfo *exception ); A description of each parameter follows:
|