ImageMagick: MagickCore, C API for ImageMagick: Read or Write Binary Large OBjects
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:, read, or, write, binary, large, objects, ImageMagick, ImageMagic, MagickCore, MagickWand, PerlMagick, Magick++, RMagick, PythonMagick, JMagick, TclMagick, Image, Magick, Magic, Wand, ImageMagickObject

## BlobToImage BlobToImage() implements direct to memory image formats. It returns the blob as an image. The format of the BlobToImage method is:
      Image *BlobToImage(const ImageInfo *image_info,const void *blob,
        const size_t length,ExceptionInfo *exception)
A description of each parameter follows: ##### image_info the image info. ##### blob the address of a character stream in one of the image formats understood by ImageMagick. ##### length This size_t integer reflects the length in bytes of the blob. ##### exception Return any errors or warnings in this structure. ## FileToImage FileToImage() write the contents of a file to an image. The format of the FileToImage method is:
      MagickBooleanType FileToImage(Image *,const char *filename)
A description of each parameter follows: ##### image the image. ##### filename the filename. ## GetBlobProperties GetBlobProperties() returns information about an image blob. The format of the GetBlobProperties method is:
      const struct stat *GetBlobProperties(const Image *image)
A description of each parameter follows: ##### image the image. ## ImageToBlob ImageToBlob() implements direct to memory image formats. It returns the image as a blob and its length. The magick member of the ImageInfo structure determines the format of the returned blob (GIF, JPEG, PNG, etc.) The format of the ImageToBlob method is:
      unsigned char *ImageToBlob(const ImageInfo *image_info,Image *image,
        size_t *length,ExceptionInfo *exception)
A description of each parameter follows: ##### image_info the image info. ##### image the image. ##### length This pointer to a size_t integer sets the initial length of the blob. On return, it reflects the actual length of the blob. ##### exception Return any errors or warnings in this structure. ## ImageToFile ImageToFile() writes an image to a file. It returns MagickFalse if an error occurs otherwise MagickTrue. The format of the ImageToFile method is:
       MagickBooleanType ImageToFile(Image *image,char *filename,
        ExceptionInfo *exception)
A description of each parameter follows: ##### image the image. ##### filename Write the image to this file. ##### exception Return any errors or warnings in this structure. ## ImagesToBlob ImagesToBlob() implements direct to memory image formats. It returns the image sequence as a blob and its length. The magick member of the ImageInfo structure determines the format of the returned blob (GIF, JPEG, PNG, etc.) Note, some image formats do not permit multiple images to the same image stream (e.g. JPEG). in this instance, just the first image of the sequence is returned as a blob. The format of the ImagesToBlob method is:
      unsigned char *ImagesToBlob(const ImageInfo *image_info,Image *images,
        size_t *length,ExceptionInfo *exception)
A description of each parameter follows: ##### image_info the image info. ##### images the image list. ##### length This pointer to a size_t integer sets the initial length of the blob. On return, it reflects the actual length of the blob. ##### exception Return any errors or warnings in this structure. ## InjectImageBlob InjectImageBlob() injects the image with a copy of itself in the specified format (e.g. inject JPEG into a PDF image). The format of the InjectImageBlob method is:
      MagickBooleanType InjectImageBlob(const ImageInfo *image_info,
        Image *image,const char *format)
A description of each parameter follows: ##### image_info the image info.. ##### image the image. ##### format the image format. |

Discourse Server • Mailing Lists • Cafe • Studio