ImageMagick: MagickCore, C API for ImageMagick: The Registry
Author: ImageMagick Studio LLC
Description: ImageMagick® is a software suite to create, edit, and compose bitmap images. It can read, convert and write images in a variety of formats (about 100) including GIF, JPEG, JPEG-2000, PNG, PDF, PhotoCD, TIFF, and DPX. Use ImageMagick to translate, flip, mirror, rotate, scale, shear and transform images, adjust image colors, apply various special effects, or draw text, lines, polygons, ellipses and Bézier curves. ImageMagick is free software delivered as a ready-to-run binary distribution or as source code that you can freely use, copy, modify, and distribute. Its license is compatible with the GPL. It runs on all major operating systems. The functionality of ImageMagick is typically utilized from the command line or you can use the features from programs written in your favorite programming language. Choose from these interfaces: MagickCore (C), MagickWand (C), ChMagick (Ch), Magick++ (C++), JMagick (Java), L-Magick (Lisp), PascalMagick (Pascal), PerlMagick (Perl), MagickWand for PHP (P [cell cut: 1167 characters, first 1000 kept]
Keywords: magickcore, c, api, for, imagemagick:, the, registry, ImageMagick, ImageMagic, MagickCore, MagickWand, PerlMagick, Magick++, RMagick, PythonMagick, JMagick, TclMagick, Image, Magick, Magic, Wand

## DeleteMagickRegistry 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: ##### id The registry id. ## GetImageFromMagickRegistry GetImageFromMagickRegistry() gets an image from the registry as defined by its name. If the image is not found, a NULL image is returned. The format of the GetImageFromMagickRegistry method is:
      Image *GetImageFromMagickRegistry(const char *name,long *id,
        ExceptionInfo *exception)
A description of each parameter follows: ##### name The name of the image to retrieve from the registry. ##### id The registry id. ##### exception Return any errors or warnings in this structure. ## GetMagickRegistry 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: ##### id The registry id. ##### type The registry type. ##### length The blob length in number of bytes. ##### exception Return any errors or warnings in this structure. ## SetMagickRegistry 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: ##### type The registry type. ##### blob The address of a Binary Large OBject. ##### length For a registry type of ImageRegistryType use sizeof(Image) otherise the blob length in number of bytes. ##### exception Return any errors or warnings in this structure. |

Discourse Server • Mailing Lists • ImageMagick Studio