MagickCore 7.1.0
Convert, Edit, Or Compose Bitmap Images
constitute.c File Reference
Include dependency graph for constitute.c:

Go to the source code of this file.

Data Structures

struct  _ConstituteInfo
 

Macros

#define WriteImageTag   "Write/Image"
 

Typedefs

typedef struct _ConstituteInfo ConstituteInfo
 

Functions

MagickExport ImageConstituteImage (const size_t columns, const size_t rows, const char *map, const StorageType storage, const void *pixels, ExceptionInfo *exception)
 
static size_t PingStream (const Image *magick_unused(image), const void *magick_unused(pixels), const size_t columns)
 
MagickExport ImagePingImage (const ImageInfo *image_info, ExceptionInfo *exception)
 
MagickExport ImagePingImages (ImageInfo *image_info, const char *filename, ExceptionInfo *exception)
 
static MagickBooleanType IsCoderAuthorized (const char *coder, const PolicyRights rights, ExceptionInfo *exception)
 
static void InitializeConstituteInfo (const ImageInfo *image_info, ConstituteInfo *constitute_info)
 
static void SyncOrientationFromProperties (Image *image, ConstituteInfo *constitute_info, ExceptionInfo *exception)
 
static void SyncResolutionFromProperties (Image *image, ConstituteInfo *constitute_info, ExceptionInfo *exception)
 
MagickExport ImageReadImage (const ImageInfo *image_info, ExceptionInfo *exception)
 
MagickExport ImageReadImages (ImageInfo *image_info, const char *filename, ExceptionInfo *exception)
 
MagickExport ImageReadInlineImage (const ImageInfo *image_info, const char *content, ExceptionInfo *exception)
 
MagickExport MagickBooleanType WriteImage (const ImageInfo *image_info, Image *image, ExceptionInfo *exception)
 
MagickExport MagickBooleanType WriteImages (const ImageInfo *image_info, Image *images, const char *filename, ExceptionInfo *exception)
 

Macro Definition Documentation

◆ WriteImageTag

#define WriteImageTag   "Write/Image"

Typedef Documentation

◆ ConstituteInfo

Function Documentation

◆ ConstituteImage()

◆ InitializeConstituteInfo()

◆ IsCoderAuthorized()

static MagickBooleanType IsCoderAuthorized ( const char *  coder,
const PolicyRights  rights,
ExceptionInfo exception 
)
static

◆ PingImage()

◆ PingImages()

◆ PingStream()

static size_t PingStream ( const Image magick_unusedimage,
const void *  magick_unusedpixels,
const size_t  columns 
)
static

Definition at line 280 of file constitute.c.

References magick_unreferenced.

Referenced by PingImage().

◆ ReadImage()

MagickExport Image * ReadImage ( const ImageInfo image_info,
ExceptionInfo exception 
)

Definition at line 601 of file constitute.c.

References AcquireExceptionInfo(), AcquireImage(), _ConstituteInfo::caption, CloneImageInfo(), CloneImages(), CloseBlob(), _Image::columns, _ConstituteInfo::comment, CopyMagickString(), CorruptImageError, CropImage(), _ConstituteInfo::delay, _Image::delay, _ConstituteInfo::delay_flags, DestroyExceptionInfo(), DestroyImage(), DestroyImageInfo(), DestroyImageList(), DestroyString(), _ConstituteInfo::dispose, _Image::dispose, _ImageInfo::endian, ErrorException, ExceptionEvent, _ImageInfo::extract, _Image::filename, _ImageInfo::filename, FileOpenError, _Image::filter, FormatMagickTime(), GetBlobError(), GetBlobProperties(), GetDelegateInfo(), GetDelegateThreadSupport(), GetFirstImageInList(), GetImageDecoder(), GetImageListLength(), GetImageProfile(), GetImageProperty(), GetMagickDecoderSeekableStream(), GetMagickDecoderThreadSupport(), GetMagickEndianSupport(), GetMagickInfo(), GetMagickModule, GetMagickRawSupport(), GetNextImageInList(), GetPathComponent(), GreaterValue, _RectangleInfo::height, HeightValue, IdentifyImage(), ImageToFile(), InheritException(), InitializeConstituteInfo(), InterpretImageProperties(), InvokeDelegate(), IsBlobSeekable(), IsBlobTemporary(), IsCoderAuthorized(), IsEventLogging(), IsPathAccessible(), IsSceneGeometry(), _ConstituteInfo::label, LessValue, LocaleCompare(), LockSemaphoreInfo(), LogMagickEvent(), LSBEndian, _Image::magick, _ImageInfo::magick, _Image::magick_columns, _Image::magick_filename, _Image::magick_rows, MagickCoreSignature, MagickDisposeOptions, MagickFalse, MagickPath, MagickPathExtent, MagickTimeExtent, MagickTrue, MissingDelegateError, MSBEndian, NewImageList(), NoValue, OpenBlob(), _Image::page, ParseAbsoluteGeometry(), ParseCommandOption(), ParseRegionGeometry(), PolicyError, ReadBinaryBlobMode, ReadPolicyRights, RelinquishUniqueFileResource(), ReplaceImageInList(), ResizeImage(), _Image::rows, _ImageInfo::scenes, _DelegateInfo::semaphore, _MagickInfo::semaphore, SetGeometry(), SetImageInfo(), SetImageProperty(), _ExceptionInfo::severity, SigmaValue, _ImageInfo::signature, _ImageInfo::stream, SyncOrientationFromProperties(), SyncResolutionFromProperties(), _Image::taint, _ImageInfo::temporary, ThrowFileException, ThrowMagickException(), ThrowReaderException, _ConstituteInfo::ticks_per_second, _Image::ticks_per_second, TraceEvent, UndefinedEndian, UnlockSemaphoreInfo(), _ImageInfo::verbose, _RectangleInfo::width, WidthValue, XValue, and YValue.

Referenced by BlobToImage(), CustomStreamToImage(), DrawPrimitive(), IdentifyImage(), MontageImageList(), PreviewImage(), ReadImages(), ReadStream(), and RenderPostscript().

◆ ReadImages()

◆ ReadInlineImage()

◆ SyncOrientationFromProperties()

static void SyncOrientationFromProperties ( Image image,
ConstituteInfo constitute_info,
ExceptionInfo exception 
)
static

◆ SyncResolutionFromProperties()

◆ WriteImage()

MagickExport MagickBooleanType WriteImage ( const ImageInfo image_info,
Image image,
ExceptionInfo exception 
)

Definition at line 1204 of file constitute.c.

References AcquireExceptionInfo(), AcquireUniqueFilename(), _ImageInfo::adjoin, _ImageInfo::affirm, CloneImageInfo(), CloseBlob(), CopyMagickString(), DestroyExceptionInfo(), DestroyImageInfo(), DisassociateImageStream(), _Image::endian, _ImageInfo::endian, ExtensionPath, _Image::filename, _ImageInfo::filename, FileOpenError, GetBlobError(), GetDelegateInfo(), GetDelegateMode(), GetDelegateThreadSupport(), GetImageEncoder(), GetImageOption(), GetMagickEncoderSeekableStream(), GetMagickEncoderThreadSupport(), GetMagickEndianSupport(), GetMagickInfo(), GetMagickModule, GetMagickRawSupport(), GetNextImageInList(), GetPathComponent(), GetPreviousImageInList(), IdentifyImage(), ImageToFile(), InvokeDelegate(), IsBlobSeekable(), IsCoderAuthorized(), IsEventLogging(), IsPathAccessible(), IsStringTrue(), IsTaintImage(), LocaleCompare(), LockSemaphoreInfo(), LogMagickEvent(), LSBEndian, _Image::magick, _ImageInfo::magick, _Image::magick_filename, MagickCoreSignature, MagickFalse, MagickPathExtent, MagickTrue, MissingDelegateError, MSBEndian, OpenBlob(), _ImageInfo::page, PolicyError, ReadBinaryBlobMode, RelinquishUniqueFileResource(), _DelegateInfo::semaphore, _MagickInfo::semaphore, SetImageInfo(), _ExceptionInfo::severity, _Image::signature, _ImageInfo::signature, SyncImageProfiles(), ThrowMagickException(), ThrowWriterException, TraceEvent, UndefinedEndian, UnlockSemaphoreInfo(), _ImageInfo::verbose, WriteBinaryBlobMode, and WritePolicyRights.

Referenced by ImageToBlob(), ImageToCustomStream(), InjectImageBlob(), InvokeDelegate(), PreviewImage(), WriteImages(), and WriteStream().

◆ WriteImages()