[
About ImageMagick
Command-line Tools
Program Interfaces
] [ Install from Source Binary Releases Resources ] [ Download ] [ Links ] [ Sponsors Larscapes ] |
DeleteMagickRegistry() deletes an entry in the registry as defined by the id. It returns MagickTrue if the entry is deleted otherwise MagickFalse if no entry is found in the registry that matches the id. The format of the DeleteMagickRegistry method is: MagickBooleanType DeleteMagickRegistry(const long id) A description of each parameter follows: idThe registry id. GetImageFromMagickRegistry() gets an image from the registry as defined by its name. If the blob that matches the name is not found, NULL is returned. The format of the GetImageFromMagickRegistry method is: Image *GetImageFromMagickRegistry(const char *name,long *id, ExceptionInfo *exception) A description of each parameter follows: nameThe name of the image to retrieve from the registry. idThe registry id. exceptionReturn any errors or warnings in this structure. GetMagickRegistry() gets a blob from the registry as defined by the id. If the blob that matches the id is not found, NULL is returned. The format of the GetMagickRegistry method is: const void *GetMagickRegistry(const long id,RegistryType *type, size_t *length,ExceptionInfo *exception) A description of each parameter follows: idThe registry id. typeThe registry type. lengthThe blob length in number of bytes. exceptionReturn any errors or warnings in this structure. SetMagickRegistry() sets a blob into the registry and returns a unique ID. If an error occurs, -1 is returned. The format of the SetMagickRegistry method is: long SetMagickRegistry(const RegistryType type,const void *blob, const size_t length,ExceptionInfo *exception) A description of each parameter follows: typeThe registry type. blobThe address of a Binary Large OBject. lengthFor a registry type of ImageRegistryType use sizeof(Image) otherise the blob length in number of bytes. exceptionReturn any errors or warnings in this structure. |