ImageMagick: MagickCore, C API for ImageMagick: Convert to and from Cipher Pixels
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:, convert, to, from, cipher, pixels, ImageMagick, ImageMagic, MagickCore, MagickWand, PerlMagick, Magick++, RMagick, PythonMagick, JMagick, TclMagick, Image, Magick, Magic, Wand, ImageMagickObject

## AcquireAESInfo AcquireAESInfo() allocate the AESInfo structure. The format of the AcquireAESInfo method is:
      AESInfo *AcquireAESInfo(void)
## DecipherImage DecipherImage() converts cipher pixels to plain pixels. The format of the DecipherImage method is:
      MagickBooleanType DecipherImage(Image *image,const char *passphrase,
        ExceptionInfo *exception)
A description of each parameter follows: ##### image the image. ##### passphrase decipher cipher pixels with this passphrase. ##### exception return any errors or warnings in this structure. ## DestroyAESInfo DestroyAESInfo() zeros memory associated with the AESInfo structure. The format of the DestroyAESInfo method is:
      AESInfo *DestroyAESInfo(AESInfo *aes_info)
A description of each parameter follows: ##### aes_info the cipher context. ## EncipherImage EncipherImage() converts pixels to cipher-pixels. The format of the EncipherImage method is:
      MagickBooleanType EncipherImage(Image *image,const char *passphrase,
        ExceptionInfo *exception)
A description of each parameter follows: ##### image the image. ##### passphrase encipher pixels with this passphrase. ##### exception return any errors or warnings in this structure. ## EncipherAESBlock EncipherAESBlock() enciphers a single block of plaintext to produce a block of ciphertext. The format of the EncipherAESBlock method is:
      void EncipherAES(AESInfo *aes_info,const unsigned char *plaintext,
        unsigned char *ciphertext)
A description of each parameter follows: ##### aes_info the cipher context. ##### plaintext the plain text. ##### ciphertext the cipher text. ## SetAESKey SetAESKey() sets the key for the AES cipher. The key length is specified in bits. Valid values are 128, 192, or 256 requiring a key buffer length in bytes of 16, 24, and 32 respectively. The format of the SetAESKey method is:
      SetAESKey(AESInfo *aes_info,const StringInfo *key)
A description of each parameter follows: ##### aes_info the cipher context. ##### key the key. |

Discourse Server • Mailing Lists • Cafe • Studio