MagickCore  7.0.0
constitute.c File Reference
Include dependency graph for constitute.c:

Go to the source code of this file.

Macros

#define WriteImageTag   "Write/Image"
 

Functions

MagickPrivate MagickBooleanType ConstituteComponentGenesis (void)
 
MagickPrivate void ConstituteComponentTerminus (void)
 
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)
 
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)
 

Variables

static SemaphoreInfoconstitute_semaphore = (SemaphoreInfo *) NULL
 

Macro Definition Documentation

#define WriteImageTag   "Write/Image"

Referenced by WriteImages().

Function Documentation

MagickPrivate MagickBooleanType ConstituteComponentGenesis ( void  )

Definition at line 104 of file constitute.c.

References AcquireSemaphoreInfo(), constitute_semaphore, and MagickTrue.

Referenced by MagickCoreGenesis().

MagickPrivate void ConstituteComponentTerminus ( void  )

Definition at line 128 of file constitute.c.

References AcquireSemaphoreInfo(), constitute_semaphore, and DestroySemaphoreInfo().

Referenced by MagickCoreTerminus().

MagickExport Image* ConstituteImage ( 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_unusedimage,
const void *  magick_unusedpixels,
const size_t  columns 
)
static

Definition at line 249 of file constitute.c.

Referenced by PingImage().

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

Definition at line 407 of file constitute.c.

References AcquireExceptionInfo(), AcquireImage(), AcquireSemaphoreInfo(), CloneImageInfo(), CloneImages(), CloseBlob(), CoderPolicyDomain, _Image::columns, constitute_semaphore, CopyMagickString(), CropImage(), _ImageInfo::debug, DecoderThreadSupport, _Image::delay, DeleteImageProperty(), DestroyExceptionInfo(), DestroyImage(), DestroyImageInfo(), DestroyImageList(), DestroyString(), _Image::dispose, _ImageInfo::endian, ErrorException, ExceptionEvent, _ImageInfo::extract, _Image::filename, _ImageInfo::filename, FileOpenError, _Image::filter, FormatMagickTime(), GetBlobError(), GetBlobProperties(), GetDelegateInfo(), GetDelegateThreadSupport(), GetFirstImageInList(), GetImageDecoder(), GetImageOption(), GetImageProfile(), GetImageProperty(), GetMagickEndianSupport(), GetMagickInfo(), GetMagickModule, GetMagickRawSupport(), GetMagickSeekableStream(), GetMagickThreadSupport(), GetNextImageInList(), GetPathComponent(), GreaterValue, _RectangleInfo::height, HeightValue, IdentifyImage(), ImageToFile(), InterpretImageProperties(), InvokeDelegate(), IsBlobSeekable(), IsBlobTemporary(), IsPathAccessible(), IsRightsAuthorized(), IsSceneGeometry(), LessValue, LocaleCompare(), LockSemaphoreInfo(), LogMagickEvent(), LSBEndian, _Image::magick, _ImageInfo::magick, _Image::magick_columns, _Image::magick_filename, _Image::magick_rows, MagickDisposeOptions, MagickFalse, MagickPath, MagickSignature, MagickTrue, MaxTextExtent, MissingDelegateError, MSBEndian, NewImageList(), OpenBlob(), OptionError, _Image::orientation, _Image::page, ParseAbsoluteGeometry(), ParseCommandOption(), ParseGeometry(), ParseRegionGeometry(), PolicyError, ReadBinaryBlobMode, ReadPolicyRights, RelinquishUniqueFileResource(), ReplaceImageInList(), ResizeImage(), _Image::resolution, _GeometryInfo::rho, _Image::rows, _ImageInfo::scenes, SetImageInfo(), SetImageProperty(), _ExceptionInfo::severity, _GeometryInfo::sigma, SigmaValue, _ImageInfo::signature, _ImageInfo::stream, StringToLong(), _Image::taint, _ImageInfo::temporary, ThrowFileException, ThrowMagickException(), _Image::ticks_per_second, TraceEvent, UndefinedEndian, _Image::units, UnlockSemaphoreInfo(), _ImageInfo::verbose, _RectangleInfo::width, WidthValue, _PointInfo::x, XValue, _PointInfo::y, and YValue.

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

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

Definition at line 1010 of file constitute.c.

References AcquireExceptionInfo(), AcquireSemaphoreInfo(), AcquireUniqueFilename(), _ImageInfo::adjoin, _ImageInfo::affirm, CloneImageInfo(), CloseBlob(), CoderPolicyDomain, constitute_semaphore, CopyMagickString(), _Image::debug, DestroyExceptionInfo(), DestroyImageInfo(), EncoderThreadSupport, _Image::endian, _ImageInfo::endian, ExtensionPath, _Image::filename, _ImageInfo::filename, FileOpenError, GetBlobError(), GetDelegateInfo(), GetDelegateMode(), GetDelegateThreadSupport(), GetImageEncoder(), GetImageOption(), GetMagickEndianSupport(), GetMagickInfo(), GetMagickModule, GetMagickRawSupport(), GetMagickSeekableStream(), GetMagickThreadSupport(), GetNextImageInList(), GetPathComponent(), GetPreviousImageInList(), IdentifyImage(), IfMagickFalse, IfMagickTrue, ImageToFile(), InvokeDelegate(), IsBlobSeekable(), IsPathAccessible(), IsRightsAuthorized(), IsStringTrue(), IsTaintImage(), LocaleCompare(), LockSemaphoreInfo(), LogMagickEvent(), LSBEndian, _Image::magick, _ImageInfo::magick, _Image::magick_filename, MagickFalse, MagickSignature, MagickTrue, MaxTextExtent, MissingDelegateError, MissingDelegateWarning, MSBEndian, OpenBlob(), _ImageInfo::page, PolicyError, ReadBinaryBlobMode, RelinquishUniqueFileResource(), SetImageInfo(), _Image::signature, _ImageInfo::signature, SyncImageProfiles(), ThrowBinaryException, ThrowFileException, ThrowMagickException(), TraceEvent, UndefinedEndian, UnlockSemaphoreInfo(), _ImageInfo::verbose, WriteBinaryBlobMode, and WritePolicyRights.

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

Variable Documentation

SemaphoreInfo* constitute_semaphore = (SemaphoreInfo *) NULL
static