MagickCore 6.9.12
|
#include "magick/studio.h"
#include "magick/animate.h"
#include "magick/artifact.h"
#include "magick/blob.h"
#include "magick/blob-private.h"
#include "magick/cache.h"
#include "magick/cache-private.h"
#include "magick/cache-view.h"
#include "magick/channel.h"
#include "magick/client.h"
#include "magick/color.h"
#include "magick/color-private.h"
#include "magick/colormap.h"
#include "magick/colorspace.h"
#include "magick/colorspace-private.h"
#include "magick/composite.h"
#include "magick/composite-private.h"
#include "magick/compress.h"
#include "magick/constitute.h"
#include "magick/delegate.h"
#include "magick/deprecate.h"
#include "magick/display.h"
#include "magick/draw.h"
#include "magick/enhance.h"
#include "magick/exception.h"
#include "magick/exception-private.h"
#include "magick/gem.h"
#include "magick/geometry.h"
#include "magick/histogram.h"
#include "magick/image-private.h"
#include "magick/list.h"
#include "magick/magic.h"
#include "magick/magick.h"
#include "magick/memory_.h"
#include "magick/memory-private.h"
#include "magick/module.h"
#include "magick/monitor.h"
#include "magick/monitor-private.h"
#include "magick/option.h"
#include "magick/paint.h"
#include "magick/pixel-accessor.h"
#include "magick/pixel-private.h"
#include "magick/profile.h"
#include "magick/property.h"
#include "magick/quantize.h"
#include "magick/random_.h"
#include "magick/resource_.h"
#include "magick/segment.h"
#include "magick/semaphore.h"
#include "magick/signature-private.h"
#include "magick/statistic.h"
#include "magick/string_.h"
#include "magick/string-private.h"
#include "magick/thread-private.h"
#include "magick/threshold.h"
#include "magick/timer.h"
#include "magick/timer-private.h"
#include "magick/token.h"
#include "magick/token-private.h"
#include "magick/utility.h"
#include "magick/version.h"
#include "magick/xwindow-private.h"
Go to the source code of this file.
Macros | |
#define | AppendImageTag "Append/Image" |
#define | ClipImagePathTag "ClipPath/Image" |
#define | CopyImageTag "Copy/Image" |
#define | SmushImageTag "Smush/Image" |
#define AppendImageTag "Append/Image" |
#define ClipImagePathTag "ClipPath/Image" |
#define CopyImageTag "Copy/Image" |
#define SmushImageTag "Smush/Image" |
MagickExport Image * AcquireImage | ( | const ImageInfo * | image_info | ) |
Definition at line 131 of file image.c.
References AcquireCriticalMemory(), AcquirePixelCache(), AllocateSemaphoreInfo(), _Image::background_color, _ImageInfo::background_color, BackgroundColor, _Image::blob, _ChromaticityInfo::blue_primary, _Image::blur, _Image::border_color, _ImageInfo::border_color, BorderColor, _Image::cache, _ImageInfo::cache, CastDoubleToLong(), _Image::chromaticity, _Image::client_data, _ImageInfo::client_data, CloneBlobInfo(), ClonePixelCacheMethods(), CoderEvent, _Image::colorspace, _Image::columns, _Image::compose, _Image::compression, _ImageInfo::compression, CopyMagickString(), _Image::debug, _Image::delay, _ImageInfo::density, _Image::depth, _ImageInfo::depth, DestroyString(), DirectClass, _Image::dispose, _Image::dither, _ImageInfo::dither, _Image::endian, _ImageInfo::endian, _Image::exception, _ImageInfo::extract, _Image::extract_info, _ImageInfo::file, _Image::filename, _ImageInfo::filename, _Image::gamma, GetImageOption(), GetLogEventMask(), GetMagickModule, GetMagickTime(), GetPageGeometry(), GetTimerInfo(), GreaterValue, _ChromaticityInfo::green_primary, _RectangleInfo::height, ImageEvent, InitializeExceptionInfo(), _Image::interlace, _ImageInfo::interlace, IsEventLogging(), LessValue, LogMagickEvent(), _Image::magick, _ImageInfo::magick, _Image::magick_filename, MAGICKCORE_QUANTUM_DEPTH, MagickCoreSignature, MagickDisposeOptions, MagickFalse, MagickTrue, _Image::matte_color, _ImageInfo::matte_color, MatteColor, MaxTextExtent, NoInterlace, _Image::offset, OverCompositeOp, _Image::page, _ImageInfo::page, ParseAbsoluteGeometry(), ParseCommandOption(), ParseGeometry(), PerceptualIntent, _Image::ping, _ImageInfo::ping, _Image::progress_monitor, _ImageInfo::progress_monitor, _Image::quality, _ImageInfo::quality, QueryColorDatabase(), _ChromaticityInfo::red_primary, _Image::reference_count, _Image::rendering_intent, _GeometryInfo::rho, RhoValue, _Image::rows, _Image::semaphore, SetBlobExempt(), _GeometryInfo::sigma, SigmaValue, _Image::signature, _ImageInfo::size, sRGBColorspace, _Image::storage_class, Swap, SyncImageSettings(), _Image::ticks_per_second, _Image::timer, _Image::timestamp, TraceEvent, TransformEvent, _Image::transparent_color, _ImageInfo::transparent_color, TransparentColor, UndefinedTicksPerSecond, _Image::units, _ImageInfo::units, _ChromaticityInfo::white_point, _RectangleInfo::width, _RectangleInfo::x, _PrimaryInfo::x, _Image::x_resolution, XValue, _RectangleInfo::y, _PrimaryInfo::y, _Image::y_resolution, YValue, and _PrimaryInfo::z.
Referenced by AcquireNextImage(), AcquireStreamInfo(), AllocateImage(), ConstituteImage(), DrawClippingMask(), DrawCompositeMask(), DrawPatternPath(), MatrixToImage(), MontageImageList(), NewMagickImage(), OpenDistributeCache(), ReadImage(), RenderHoughLines(), and SetImageInfo().
MagickExport ImageInfo * AcquireImageInfo | ( | void | ) |
Definition at line 317 of file image.c.
References AcquireMagickMemory(), GetImageInfo(), ResourceLimitFatalError, and ThrowFatalException.
Referenced by ClipImagePath(), CloneImageInfo(), DrawPatternPath(), DrawPrimitive(), GlobExpression(), HoughLineImage(), IdentifyImage(), MontageImages(), PreviewImage(), RenderPostscript(), SetImageProperty(), and SetImageType().
MagickExport void AcquireNextImage | ( | const ImageInfo * | image_info, |
Image * | image | ||
) |
Definition at line 357 of file image.c.
References AcquireImage(), _Image::blob, CopyMagickString(), DestroyBlob(), _Image::endian, _Image::filename, _ImageInfo::filename, GetMagickModule, GetNextImageInList(), IsEventLogging(), LogMagickEvent(), MagickCoreSignature, MagickFalse, MaxTextExtent, _Image::next, _Image::previous, ReferenceBlob(), _Image::scene, _Image::signature, and TraceEvent.
Referenced by AllocateNextImage(), and MontageImageList().
MagickExport Image * AppendImages | ( | const Image * | images, |
const MagickBooleanType | stack, | ||
ExceptionInfo * | exception | ||
) |
Definition at line 413 of file image.c.
References AcquireAuthenticCacheView(), AcquireVirtualCacheView(), AppendImageTag, CloneImage(), CMYKColorspace, _Image::colorspace, _Image::columns, _Image::depth, DestroyCacheView(), DestroyImage(), DirectClass, _Image::exception, _Image::filename, GetCacheViewAuthenticIndexQueue(), GetCacheViewVirtualIndexQueue(), GetCacheViewVirtualPixels(), GetMagickModule, GetNextImageInList(), GetPixelBlue, GetPixelGreen, GetPixelIndex, GetPixelOpacity, GetPixelRed, _Image::gravity, GravityAdjustGeometry(), InheritException(), IsEventLogging(), LogMagickEvent(), magick_restrict, MagickCoreSignature, MagickFalse, MagickTrue, _Image::matte, OpaqueOpacity, _Image::page, QueueCacheViewAuthenticPixels(), _Image::rows, SetGeometry(), SetImageBackgroundColor(), SetImageColorspace(), SetImageProgress(), SetImageStorageClass(), SetPixelBlue, SetPixelGreen, SetPixelIndex, SetPixelOpacity, SetPixelRed, _ExceptionInfo::signature, _Image::signature, sRGBColorspace, SyncCacheViewAuthenticPixels(), TraceEvent, _RectangleInfo::x, and _RectangleInfo::y.
MagickExport ExceptionType CatchImageException | ( | Image * | image | ) |
Definition at line 623 of file image.c.
References AcquireExceptionInfo(), CatchException(), DestroyExceptionInfo(), _Image::filename, GetImageException(), GetMagickModule, IsEventLogging(), LogMagickEvent(), MagickCoreSignature, MagickFalse, _ExceptionInfo::severity, _Image::signature, and TraceEvent.
MagickExport MagickBooleanType ClipImage | ( | Image * | image | ) |
Definition at line 674 of file image.c.
References ClipImagePath(), and MagickTrue.
MagickExport MagickBooleanType ClipImagePath | ( | Image * | image, |
const char * | pathname, | ||
const MagickBooleanType | inside | ||
) |
Definition at line 679 of file image.c.
References AcquireImageInfo(), AcquireString(), BlobToImage(), ConcatenateMagickString(), CopyMagickString(), DestroyImage(), DestroyImageInfo(), DestroyString(), DirectClass, _Image::exception, _Image::filename, _ImageInfo::filename, FormatLocaleString(), GetImageProperty(), GetMagickModule, IsEventLogging(), LogMagickEvent(), _Image::magick_filename, MagickCoreSignature, MagickFalse, MagickTrue, MaxTextExtent, NegateImage(), OptionError, PseudoClass, SetImageClipMask(), SetImageStorageClass(), _Image::signature, _Image::storage_class, SyncImage(), ThrowFileException, and TraceEvent.
Referenced by ClipImage(), and ClipPathImage().
MagickExport Image * CloneImage | ( | const Image * | image, |
const size_t | columns, | ||
const size_t | rows, | ||
const MagickBooleanType | detach, | ||
ExceptionInfo * | exception | ||
) |
Definition at line 773 of file image.c.
References AcquireCriticalMemory(), AcquireQuantumMemory(), AllocateSemaphoreInfo(), _Image::ascii85, Ascii85Initialize(), _Image::blob, _Image::cache, CastDoubleToLong(), _Image::channels, _Image::client_data, _Image::clip_mask, CloneBlobInfo(), CloneImage(), CloneImageArtifacts(), CloneImageProfiles(), CloneImageProperties(), ClonePixelCache(), CloneString(), _Image::colormap, _Image::colors, _Image::colorspace, _Image::columns, CopyMagickString(), CorruptImageError, _Image::debug, DestroyImage(), _Image::directory, _Image::dither, _Image::exception, _Image::extent, _Image::filename, GetMagickModule, GetTimerInfo(), _RectangleInfo::height, InheritException(), InitializeExceptionInfo(), IsEventLogging(), _Image::list, LogMagickEvent(), _Image::magick, _Image::magick_columns, _Image::magick_filename, _Image::magick_rows, MagickAbsoluteValue, MagickCoreSignature, MagickFalse, MagickMin, MagickTrue, _Image::mask, _Image::matte, MaxTextExtent, _Image::montage, NewImageList(), _Image::next, _Image::page, _Image::ping, _Image::previous, _Image::progress_monitor, _Image::reference_count, ReferenceBlob(), ReferencePixelCache(), ResourceLimitError, _Image::rows, _Image::semaphore, SetImageExtent(), _ExceptionInfo::signature, _Image::signature, _Image::storage_class, ThrowImageException, ThrowMagickException(), _Image::tile_offset, _Image::timer, TraceEvent, _Image::type, _RectangleInfo::width, _RectangleInfo::x, and _RectangleInfo::y.
Referenced by AcquireImageCanvas(), AdaptiveBlurImageChannel(), AdaptiveSharpenImageChannel(), AdaptiveThresholdImage(), AddNoiseImageChannel(), AppendImages(), AutoOrientImage(), BlueShiftImage(), BorderImage(), ChopImage(), CloneDrawInfo(), CloneImage(), CloneImageList(), CloneImages(), CoalesceImages(), ColorFloodfillImage(), ColorizeImage(), ColorMatrixImage(), CombineImages(), CompareImageChannels(), CompareImageLayers(), ComplexImages(), CompositeImageChannel(), CompositeLayers(), ConnectedComponentsImage(), ConsolidateCMYKImages(), CropImage(), CropImageToTiles(), DeskewImage(), DespeckleImage(), DisposeImages(), DistortImage(), DistortResizeImage(), DrawStrokePolygon(), EnhanceImage(), ExcerptImage(), ExtentImage(), FilterImageChannel(), FlipImage(), FloodfillPaintImage(), FlopImage(), ForwardFourierTransformImage(), FrameImage(), FxImageChannel(), GetEdgeBoundingBox(), GetImageClipMask(), GetImageList(), GetImageMask(), HuffmanEncodeImage(), ImplodeImage(), InjectImageBlob(), IntegralRotateImage(), InterpolativeResizeImage(), InverseFourierTransformImage(), KuwaharaImageChannel(), LocalContrastImage(), MagnifyImage(), MatteFloodfillImage(), MeanShiftImage(), MergeImageLayers(), ModifyImage(), MontageImageList(), MorphImages(), MorphologyApply(), MotionBlurImageChannel(), OilPaintImage(), OptimizeImageTransparency(), OptimizeLayerFrames(), PolaroidImage(), PreviewImage(), ResizeImage(), RollImage(), RotateImage(), RotationalBlurImageChannel(), SampleImage(), ScaleImage(), SelectiveBlurImageChannel(), SeparateImage(), SeparateImages(), SepiaToneImage(), SetImageClipMask(), SetImageMask(), ShadeImage(), ShadowImage(), ShearImage(), SimilarityMetricImage(), SketchImage(), SmushImages(), SparseColorImage(), SpliceImage(), SpreadImage(), StatisticImageChannel(), SteganoImage(), StereoAnaglyphImage(), SwirlImage(), TextureImage(), ThumbnailImage(), TintImage(), TransformImage(), TransposeImage(), TransverseImage(), TrimImage(), UniqueImageColors(), VignetteImage(), WaveImage(), and WaveletDenoiseImage().
MagickExport ImageInfo * CloneImageInfo | ( | const ImageInfo * | image_info | ) |
Definition at line 936 of file image.c.
References AcquireImageInfo(), _ImageInfo::adjoin, _ImageInfo::antialias, _ImageInfo::authenticate, _ImageInfo::background_color, _ImageInfo::blob, _ImageInfo::border_color, _ImageInfo::cache, _ImageInfo::channel, _ImageInfo::client_data, CloneImageOptions(), CloneString(), CloneStringInfo(), _ImageInfo::colors, _ImageInfo::colorspace, _ImageInfo::compression, CopyMagickString(), _ImageInfo::debug, _ImageInfo::density, _ImageInfo::depth, _ImageInfo::dither, _ImageInfo::endian, _ImageInfo::extract, _ImageInfo::file, _ImageInfo::filename, _ImageInfo::font, _ImageInfo::fuzz, _ImageInfo::group, _ImageInfo::interlace, _ImageInfo::length, _ImageInfo::magick, _ImageInfo::matte_color, MaxTextExtent, _ImageInfo::monochrome, _ImageInfo::number_scenes, _ImageInfo::orientation, _ImageInfo::page, _ImageInfo::pen, _ImageInfo::ping, _ImageInfo::pointsize, _ImageInfo::preview_type, _ImageInfo::profile, _ImageInfo::progress_monitor, _ImageInfo::quality, ReferencePixelCache(), _ImageInfo::sampling_factor, _ImageInfo::scene, _ImageInfo::scenes, _ImageInfo::server_name, SetImageInfoBlob(), SetImageInfoFile(), _ImageInfo::signature, _ImageInfo::size, _ImageInfo::stream, _ImageInfo::subimage, _ImageInfo::subrange, _ImageInfo::temporary, _ImageInfo::texture, _ImageInfo::transparent_color, _ImageInfo::type, _ImageInfo::unique, _ImageInfo::units, _ImageInfo::verbose, _ImageInfo::view, _ImageInfo::virtual_pixel_method, and _ImageInfo::zero.
Referenced by BlobToImage(), GetDrawInfo(), GetImageRegistry(), ImagesToBlob(), ImageToBlob(), InjectImageBlob(), InterpretImageProperties(), InvokeDelegate(), MontageImageList(), PingBlob(), PingImage(), PingImages(), ReadImage(), ReadImages(), ReadInlineImage(), ReadStream(), SetImageRegistry(), StreamImage(), WriteImage(), WriteImages(), WriteStream(), and WriteStreamImage().
MagickExport MagickBooleanType CopyImagePixels | ( | Image * | image, |
const Image * | source_image, | ||
const RectangleInfo * | geometry, | ||
const OffsetInfo * | offset, | ||
ExceptionInfo * | exception | ||
) |
Definition at line 1054 of file image.c.
References AcquireAuthenticCacheView(), AcquireVirtualCacheView(), CMYKColorspace, _Image::colorspace, _Image::columns, CopyImageTag, DestroyCacheView(), DirectClass, _Image::filename, GetCacheViewAuthenticIndexQueue(), GetCacheViewAuthenticPixels(), GetCacheViewVirtualIndexQueue(), GetCacheViewVirtualPixels(), GetMagickModule, _RectangleInfo::height, IsEventLogging(), LogMagickEvent(), magick_restrict, MagickFalse, MagickTrue, OptionError, _Image::progress_monitor, _Image::rows, SetImageProgress(), SetImageStorageClass(), SyncCacheViewAuthenticPixels(), ThrowBinaryException, TraceEvent, _RectangleInfo::width, _OffsetInfo::x, _RectangleInfo::x, _OffsetInfo::y, and _RectangleInfo::y.
MagickExport Image * DestroyImage | ( | Image * | image | ) |
Definition at line 1179 of file image.c.
References _Image::ascii85, ClearExceptionInfo(), _Image::clip_mask, _Image::colormap, DestroyBlob(), DestroyImage(), DestroyImageArtifacts(), DestroyImagePixels(), DestroyImageProfiles(), DestroyImageProperties(), DestroySemaphoreInfo(), DestroyString(), _Image::directory, _Image::exception, _Image::filename, _Image::geometry, GetMagickModule, IsEventLogging(), LockSemaphoreInfo(), LogMagickEvent(), MagickCoreSignature, MagickFalse, MagickTrue, _Image::mask, _Image::montage, _Image::reference_count, RelinquishMagickMemory(), _Image::semaphore, _Image::signature, TraceEvent, and UnlockSemaphoreInfo().
Referenced by AdaptiveBlurImageChannel(), AdaptiveSharpenImageChannel(), AdaptiveThresholdImage(), AddNoiseImageChannel(), AppendImages(), BlueShiftImage(), BorderImage(), CannyEdgeImage(), CharcoalImage(), ChopImage(), ClipImagePath(), CloneImage(), CoalesceImages(), ColorFloodfillImage(), ColorizeImage(), ColorMatrixImage(), CombineImages(), CompareImageChannels(), CompareImageLayers(), CompositeImageChannel(), CompositeLayers(), ConnectedComponentsImage(), ConstituteImage(), CropImage(), CropToFitImage(), DeleteImageFromList(), DeskewImage(), DespeckleImage(), DestroyCacheView(), DestroyDrawInfo(), DestroyImage(), DestroyResampleFilter(), DestroyStreamInfo(), DisposeImages(), DistortImage(), DistortResizeImage(), DrawClipPath(), DrawClippingMask(), DrawCompositeMask(), DrawPatternPath(), DrawPrimitive(), DrawStrokePolygon(), EnhanceImage(), EvaluateImages(), ExcerptImage(), ExtentImage(), FilterImageChannel(), FlipImage(), FloodfillPaintImage(), FlopImage(), ForwardFourierTransformImage(), FrameImage(), FxImageChannel(), GetEdgeBackgroundFactor(), GetEdgeBoundingBox(), GetImageChannelPerceptualHash(), GetSimilarityMetric(), HuffmanEncodeImage(), IdentifyImage(), ImplodeImage(), InjectImageBlob(), IntegralRotateImage(), InterpolateMagickPixelPacket(), InterpolatePixelColor(), InterpolativeResizeImage(), InverseFourierTransformImage(), KuwaharaImageChannel(), LocalContrastImage(), MagnifyImage(), MatrixToImage(), MatteFloodfillImage(), MeanShiftImage(), MontageImageList(), MorphImages(), MorphologyApply(), MotionBlurImageChannel(), NewMagickImage(), OilPaintImage(), OptimizeImageTransparency(), OptimizeLayerFrames(), PolaroidImage(), PolynomialImageChannel(), PreviewImage(), ReadImage(), RenderMVGContent(), RenderPostscript(), ReplaceImageInList(), ReplaceImageInListReturnLast(), ResamplePixelColor(), ResizeImage(), RollImage(), RotateImage(), RotationalBlurImageChannel(), SampleImage(), ScaleImage(), SelectiveBlurImageChannel(), SeparateImage(), SepiaToneImage(), SetImageClipMask(), SetImageInfo(), SetImageMask(), ShadeImage(), ShadowImage(), ShearImage(), ShearRotateImage(), SimilarityMetricImage(), SketchImage(), SmushImages(), SparseColorImage(), SpliceImage(), SpreadImage(), StatisticImageChannel(), SteganoImage(), StereoAnaglyphImage(), StreamImage(), SwirlImage(), TextureImage(), ThumbnailImage(), TintImage(), TransformImage(), TransposeImage(), TransverseImage(), UniqueImageColors(), UnsharpMaskImageChannel(), VignetteImage(), WaveImage(), and WaveletDenoiseImage().
MagickExport ImageInfo * DestroyImageInfo | ( | ImageInfo * | image_info | ) |
Definition at line 1252 of file image.c.
References _ImageInfo::authenticate, _ImageInfo::cache, _ImageInfo::density, DestroyImageOptions(), DestroyPixelCache(), DestroyString(), DestroyStringInfo(), _ImageInfo::extract, _ImageInfo::filename, _ImageInfo::font, GetMagickModule, IsEventLogging(), LogMagickEvent(), MagickCoreSignature, MagickFalse, _ImageInfo::page, _ImageInfo::profile, RelinquishMagickMemory(), _ImageInfo::sampling_factor, _ImageInfo::scenes, _ImageInfo::server_name, _ImageInfo::signature, _ImageInfo::size, _ImageInfo::texture, TraceEvent, and _ImageInfo::view.
Referenced by BlobToImage(), ClipImagePath(), DestroyRegistryNode(), DrawPatternPath(), DrawPrimitive(), GetDrawInfo(), GlobExpression(), HoughLineImage(), IdentifyImage(), ImagesToBlob(), ImageToBlob(), InjectImageBlob(), InterpretImageProperties(), InvokeDelegate(), MontageImageList(), MontageImages(), PingBlob(), PingImage(), PingImages(), PreviewImage(), ReadImage(), ReadImages(), ReadInlineImage(), ReadStream(), RenderPostscript(), SetImageProperty(), SetImageType(), StreamImage(), WriteImage(), WriteImages(), WriteStream(), and WriteStreamImage().
MagickExport void DisassociateImageStream | ( | Image * | image | ) |
Definition at line 1319 of file image.c.
References DisassociateBlob(), _Image::filename, GetMagickModule, IsEventLogging(), LogMagickEvent(), MagickCoreSignature, MagickFalse, _Image::signature, and TraceEvent.
Referenced by WriteImage().
MagickExport size_t GetImageChannels | ( | Image * | image | ) |
Definition at line 1553 of file image.c.
References _Image::channels, _Image::filename, GetMagickModule, IsEventLogging(), LogMagickEvent(), MagickCoreSignature, MagickFalse, _Image::signature, and TraceEvent.
MagickExport Image * GetImageClipMask | ( | const Image * | image, |
ExceptionInfo * | exception | ||
) |
Definition at line 1350 of file image.c.
References _Image::clip_mask, CloneImage(), GetMagickModule, IsEventLogging(), LogMagickEvent(), MagickCoreSignature, MagickFalse, MagickTrue, _Image::signature, and TraceEvent.
MagickExport void GetImageException | ( | Image * | image, |
ExceptionInfo * | exception | ||
) |
Definition at line 1387 of file image.c.
References _Image::exception, _Image::filename, GetMagickModule, GetNextImageInList(), InheritException(), IsEventLogging(), LogMagickEvent(), MagickCoreSignature, MagickFalse, _ExceptionInfo::severity, _ExceptionInfo::signature, _Image::signature, TraceEvent, and UndefinedException.
Referenced by CatchImageException(), and WriteImages().
MagickExport void GetImageInfo | ( | ImageInfo * | image_info | ) |
Definition at line 1430 of file image.c.
References AcquireExceptionInfo(), _ImageInfo::adjoin, _ImageInfo::antialias, _ImageInfo::background_color, BackgroundColor, _ImageInfo::border_color, BorderColor, _ImageInfo::channel, _ImageInfo::debug, DefaultChannels, DestroyExceptionInfo(), DestroyString(), _ImageInfo::dither, GetEnvironmentValue(), GetLogEventMask(), GetMagickModule, ImageEvent, _ImageInfo::interlace, IsEventLogging(), IsStringTrue(), LogMagickEvent(), MagickCoreSignature, MagickFalse, MagickTrue, _ImageInfo::matte_color, MatteColor, NoInterlace, _ImageInfo::quality, QueryColorDatabase(), _ImageInfo::signature, _ImageInfo::synchronize, TraceEvent, _ImageInfo::transparent_color, TransparentColor, and UndefinedCompressionQuality.
Referenced by AcquireImageInfo().
MagickExport FILE * GetImageInfoFile | ( | const ImageInfo * | image_info | ) |
Definition at line 1492 of file image.c.
References _ImageInfo::file.
MagickExport Image * GetImageMask | ( | const Image * | image, |
ExceptionInfo * | exception | ||
) |
Definition at line 1519 of file image.c.
References CloneImage(), GetMagickModule, IsEventLogging(), LogMagickEvent(), MagickCoreSignature, MagickFalse, MagickTrue, _Image::mask, _Image::signature, and TraceEvent.
MagickExport ssize_t GetImageReferenceCount | ( | Image * | image | ) |
Definition at line 1584 of file image.c.
References _Image::filename, GetMagickModule, IsEventLogging(), LockSemaphoreInfo(), LogMagickEvent(), MagickCoreSignature, MagickFalse, _Image::reference_count, _Image::semaphore, _Image::signature, TraceEvent, and UnlockSemaphoreInfo().
Referenced by ModifyImage().
MagickExport VirtualPixelMethod GetImageVirtualPixelMethod | ( | const Image * | image | ) |
Definition at line 1623 of file image.c.
References _Image::filename, GetMagickModule, GetPixelCacheVirtualMethod(), IsEventLogging(), LogMagickEvent(), MagickCoreSignature, MagickFalse, _Image::signature, and TraceEvent.
Referenced by AcquireResampleFilter(), AcquireVirtualCacheView(), and DistortResizeImage().
MagickExport size_t InterpretImageFilename | ( | const ImageInfo * | image_info, |
Image * | image, | ||
const char * | format, | ||
int | value, | ||
char * | filename | ||
) |
Definition at line 1665 of file image.c.
References ConcatenateMagickString(), CopyMagickString(), FormatLocaleString(), GetImageArtifact(), GetImageOption(), GetImageProperty(), IsStringTrue(), LocaleNCompare(), MagickFalse, MagickTrue, and MaxTextExtent.
Referenced by OpenBlob(), PingImages(), ReadImages(), and SetImageInfo().
MagickExport MagickBooleanType IsHighDynamicRangeImage | ( | const Image * | image, |
ExceptionInfo * | exception | ||
) |
Definition at line 1822 of file image.c.
References AcquireVirtualCacheView(), _MagickPixelPacket::blue, CMYKColorspace, _MagickPixelPacket::colorspace, _Image::columns, DestroyCacheView(), _Image::filename, GetCacheViewVirtualIndexQueue(), GetCacheViewVirtualPixels(), GetMagickModule, GetMagickPixelPacket(), _MagickPixelPacket::green, _MagickPixelPacket::index, IsEventLogging(), LogMagickEvent(), MagickCoreSignature, MagickFalse, MagickTrue, _MagickPixelPacket::matte, _MagickPixelPacket::opacity, QuantumRange, _MagickPixelPacket::red, _Image::rows, SetMagickPixelPacket(), _Image::signature, and TraceEvent.
MagickExport MagickBooleanType IsImageObject | ( | const Image * | image | ) |
Definition at line 1934 of file image.c.
References GetMagickModule, GetNextImageInList(), IsEventLogging(), LogMagickEvent(), MagickCoreSignature, MagickFalse, MagickTrue, _Image::signature, and TraceEvent.
MagickExport MagickBooleanType IsTaintImage | ( | const Image * | image | ) |
Definition at line 1971 of file image.c.
References CopyMagickString(), _Image::filename, GetMagickModule, GetNextImageInList(), IsEventLogging(), LocaleCompare(), LogMagickEvent(), _Image::magick, MagickCoreSignature, MagickFalse, MagickTrue, MaxTextExtent, _Image::signature, _Image::taint, and TraceEvent.
Referenced by WriteImage().
MagickExport MagickBooleanType ModifyImage | ( | Image ** | image, |
ExceptionInfo * | exception | ||
) |
Definition at line 2024 of file image.c.
References CloneImage(), GetImageReferenceCount(), GetMagickModule, IsEventLogging(), LockSemaphoreInfo(), LogMagickEvent(), MagickCoreSignature, MagickFalse, MagickTrue, TraceEvent, and UnlockSemaphoreInfo().
MagickExport Image * NewMagickImage | ( | const ImageInfo * | image_info, |
const size_t | width, | ||
const size_t | height, | ||
const MagickPixelPacket * | background | ||
) |
Definition at line 2075 of file image.c.
References AcquireAuthenticCacheView(), AcquireImage(), _Image::colorspace, _MagickPixelPacket::colorspace, _Image::columns, _Image::depth, _MagickPixelPacket::depth, DestroyCacheView(), DestroyImage(), _Image::exception, _Image::fuzz, _MagickPixelPacket::fuzz, GetCacheViewAuthenticIndexQueue(), GetMagickModule, IsEventLogging(), LogMagickEvent(), magick_restrict, MagickCoreSignature, MagickFalse, MagickTrue, _Image::matte, _MagickPixelPacket::matte, QueueCacheViewAuthenticPixels(), _Image::rows, SetPixelPacket(), _ImageInfo::signature, SyncCacheViewAuthenticPixels(), and TraceEvent.
|
inlinestatic |
MagickExport Image * ReferenceImage | ( | Image * | image | ) |
Definition at line 2169 of file image.c.
References GetMagickModule, IsEventLogging(), LockSemaphoreInfo(), LogMagickEvent(), MagickCoreSignature, MagickFalse, _Image::reference_count, _Image::semaphore, _Image::signature, TraceEvent, and UnlockSemaphoreInfo().
Referenced by AcquireResampleFilter(), AcquireVirtualCacheView(), CloneCacheView(), and OptimizeLayerFrames().
MagickExport MagickBooleanType ResetImagePage | ( | Image * | image, |
const char * | page | ||
) |
Definition at line 2205 of file image.c.
References AspectValue, _Image::columns, _Image::filename, GetMagickModule, _RectangleInfo::height, HeightValue, IsEventLogging(), LogMagickEvent(), MagickCoreSignature, MagickFalse, MagickTrue, _Image::page, ParseAbsoluteGeometry(), _Image::rows, _Image::signature, TraceEvent, _RectangleInfo::width, WidthValue, _RectangleInfo::x, XValue, _RectangleInfo::y, and YValue.
MagickExport MagickBooleanType ResetImagePixels | ( | Image * | image, |
ExceptionInfo * | exception | ||
) |
Definition at line 2276 of file image.c.
References AcquireAuthenticCacheView(), AcquirePixelCachePixels(), CMYKColorspace, _Image::colorspace, _Image::columns, DestroyCacheView(), GetCacheViewAuthenticIndexQueue(), GetMagickModule, IsEventLogging(), LogMagickEvent(), magick_restrict, MagickCoreSignature, MagickFalse, MagickTrue, PseudoClass, QueueCacheViewAuthenticPixels(), _Image::rows, _Image::signature, _Image::storage_class, SyncCacheViewAuthenticPixels(), and TraceEvent.
Referenced by ConstituteImage().
MagickExport MagickBooleanType SetImageBackgroundColor | ( | Image * | image | ) |
Definition at line 2375 of file image.c.
References AcquireAuthenticCacheView(), _Image::background_color, CMYKColorspace, _Image::colorspace, _Image::columns, ConvertRGBToCMYK(), DestroyCacheView(), DirectClass, _Image::exception, GetCacheViewAuthenticIndexQueue(), GetMagickModule, GetMagickPixelPacket(), IsEventLogging(), IsGrayColorspace(), IsPixelGray(), LogMagickEvent(), magick_restrict, MagickCoreSignature, MagickFalse, MagickTrue, _Image::matte, _PixelPacket::opacity, OpaqueAlphaChannel, OpaqueOpacity, QueueCacheViewAuthenticPixels(), RGBColorspace, _Image::rows, SetImageAlphaChannel(), SetImageStorageClass(), SetMagickPixelPacket(), SetPixelIndex, SetPixelPacket(), _Image::signature, SyncCacheViewAuthenticPixels(), TraceEvent, and TransformImageColorspace().
Referenced by AppendImages(), CoalesceImages(), CombineImages(), CompareImageLayers(), CropImage(), DisposeImages(), DrawClippingMask(), DrawCompositeMask(), DrawPatternPath(), ExtentImage(), MergeImageLayers(), MontageImageList(), OptimizeImageTransparency(), OptimizeLayerFrames(), PolaroidImage(), RenderHoughLines(), SmushImages(), SpliceImage(), TrimImage(), and VignetteImage().
MagickExport MagickBooleanType SetImageChannels | ( | Image * | image, |
const size_t | channels | ||
) |
Definition at line 2483 of file image.c.
References _Image::channels, and MagickTrue.
MagickExport MagickBooleanType SetImageClipMask | ( | Image * | image, |
const Image * | clip_mask | ||
) |
Definition at line 2643 of file image.c.
References _Image::clip_mask, CloneImage(), _Image::columns, DestroyImage(), DirectClass, _Image::exception, _Image::filename, GetMagickModule, ImageError, IsEventLogging(), LogMagickEvent(), MagickCoreSignature, MagickFalse, MagickTrue, NewImageList(), _Image::rows, SetImageStorageClass(), _Image::signature, ThrowBinaryImageException, and TraceEvent.
Referenced by ClipImagePath(), DrawClipPath(), DrawClippingMask(), DrawPrimitive(), and RenderMVGContent().
MagickExport MagickBooleanType SetImageColor | ( | Image * | image, |
const MagickPixelPacket * | color | ||
) |
Definition at line 2515 of file image.c.
References AcquireAuthenticCacheView(), _Image::colorspace, _MagickPixelPacket::colorspace, _Image::columns, _Image::depth, _MagickPixelPacket::depth, DestroyCacheView(), _Image::exception, _Image::fuzz, _MagickPixelPacket::fuzz, GetCacheViewAuthenticIndexQueue(), GetMagickModule, IsEventLogging(), LogMagickEvent(), magick_restrict, MagickCoreSignature, MagickFalse, MagickTrue, _Image::matte, _MagickPixelPacket::matte, QueueCacheViewAuthenticPixels(), _Image::rows, SetPixelPacket(), _Image::signature, SyncCacheViewAuthenticPixels(), and TraceEvent.
MagickExport MagickBooleanType SetImageExtent | ( | Image * | image, |
const size_t | columns, | ||
const size_t | rows | ||
) |
Definition at line 2694 of file image.c.
References _Image::columns, _Image::depth, _Image::exception, _Image::filename, GetMagickModule, ImageError, _Image::rows, SyncImagePixelCache(), ThrowBinaryImageException, and ThrowMagickException().
Referenced by CloneImage(), ConstituteImage(), DrawClippingMask(), DrawCompositeMask(), PolaroidImage(), and RenderHoughLines().
MagickExport MagickBooleanType SetImageInfo | ( | ImageInfo * | image_info, |
const unsigned int | frames, | ||
ExceptionInfo * | exception | ||
) |
Definition at line 2751 of file image.c.
References AcquireExceptionInfo(), AcquireImage(), _ImageInfo::adjoin, _ImageInfo::affirm, BasePathSansCompressExtension, CanonicalPath, CloneString(), CloseBlob(), CopyMagickString(), DestroyExceptionInfo(), DestroyImage(), _ImageInfo::endian, ExplicitFormatType, ExtensionPath, _ImageInfo::extract, _Image::filename, _ImageInfo::filename, _MagickInfo::format_type, GetDelegateInfo(), GetMagicInfo(), GetMagickAdjoin(), GetMagickEndianSupport(), GetMagickInfo(), GetMagickModule, GetMagicName(), GetPathComponent(), ImageToFile(), InterpretImageFilename(), IsBlobExempt(), IsBlobSeekable(), IsEventLogging(), IsGeometry(), IsGlob(), IsMagickConflict(), IsSceneGeometry(), LocaleCompare(), LocaleUpper(), LogMagickEvent(), _ImageInfo::magick, MagickCoreSignature, MagickFalse, MagickPath, MagickTrue, MaxTextExtent, _ImageInfo::number_scenes, OpenBlob(), ReadBinaryBlobMode, ReadBlob(), RelinquishUniqueFileResource(), _ImageInfo::scene, _ImageInfo::scenes, SeekBlob(), SetImageInfoFile(), _ImageInfo::signature, StringToUnsignedLong(), SubcanonicalPath, _ImageInfo::subimage, SubimagePath, _ImageInfo::subrange, Swap, _ImageInfo::temporary, TraceEvent, UndefinedEndian, and UndefinedFormatType.
Referenced by BlobToImage(), DrawPrimitive(), GlobExpression(), ImagesToBlob(), ImageToBlob(), InvokeDelegate(), PingBlob(), PingImages(), ReadImage(), ReadImages(), SetImageProperty(), WriteImage(), WriteImages(), and WriteStreamImage().
MagickExport void SetImageInfoBlob | ( | ImageInfo * | image_info, |
const void * | blob, | ||
const size_t | length | ||
) |
Definition at line 3081 of file image.c.
References _ImageInfo::blob, _ImageInfo::filename, GetMagickModule, IsEventLogging(), _ImageInfo::length, LogMagickEvent(), MagickCoreSignature, MagickFalse, _ImageInfo::signature, and TraceEvent.
Referenced by CloneImageInfo().
MagickExport void SetImageInfoFile | ( | ImageInfo * | image_info, |
FILE * | file | ||
) |
Definition at line 3117 of file image.c.
References _ImageInfo::file, _ImageInfo::filename, GetMagickModule, IsEventLogging(), LogMagickEvent(), MagickCoreSignature, MagickFalse, _ImageInfo::signature, and TraceEvent.
Referenced by CloneImageInfo(), InjectImageBlob(), and SetImageInfo().
MagickExport MagickBooleanType SetImageMask | ( | Image * | image, |
const Image * | mask | ||
) |
Definition at line 3152 of file image.c.
References CloneImage(), _Image::columns, DestroyImage(), DirectClass, _Image::exception, _Image::filename, GetMagickModule, ImageError, IsEventLogging(), LogMagickEvent(), MagickCoreSignature, MagickFalse, MagickTrue, _Image::mask, NewImageList(), _Image::rows, SetImageStorageClass(), _Image::signature, ThrowBinaryImageException, and TraceEvent.
Referenced by CompareImageChannels(), DrawCompositeMask(), DrawPrimitive(), and RenderMVGContent().
MagickExport MagickBooleanType SetImageOpacity | ( | Image * | image, |
const Quantum | opacity | ||
) |
Definition at line 3199 of file image.c.
References AcquireAuthenticCacheView(), _Image::columns, DestroyCacheView(), _Image::exception, GetCacheViewAuthenticPixels(), GetMagickModule, IsEventLogging(), LogMagickEvent(), magick_restrict, MagickCoreSignature, MagickFalse, MagickTrue, _Image::matte, _Image::rows, SetPixelOpacity, _Image::signature, SyncCacheViewAuthenticPixels(), and TraceEvent.
Referenced by ConformMagickPixelPacket(), DrawPrimitive(), and SetImageAlphaChannel().
MagickExport MagickBooleanType SetImageStorageClass | ( | Image * | image, |
const ClassType | storage_class | ||
) |
Definition at line 2605 of file image.c.
References _Image::exception, _Image::filename, GetMagickModule, IsEventLogging(), LogMagickEvent(), MagickCoreSignature, MagickFalse, _Image::signature, _Image::storage_class, SyncImagePixelCache(), and TraceEvent.
Referenced by AcquireImageColormap(), AdaptiveBlurImageChannel(), AdaptiveSharpenImageChannel(), AdaptiveThresholdImage(), AddNoiseImageChannel(), AnnotateImage(), AppendImages(), BilevelImageChannel(), BlackThresholdImageChannel(), BlueShiftImage(), ClipImagePath(), ClutImageChannel(), ColorFloodfillImage(), ColorizeImage(), ColorMatrixImage(), CombineImages(), CompareImageChannels(), ComplexImages(), CompositeImageChannel(), ConsolidateCMYKImages(), CopyImagePixels(), DespeckleImage(), DistortImage(), DrawAffineImage(), DuplexTransferImageViewIterator(), EnhanceImage(), EvaluateImageChannel(), EvaluateImages(), FilterImageChannel(), FloodfillPaintImage(), FrameImage(), FunctionImageChannel(), FxImageChannel(), GrayscaleImage(), HaldClutImageChannel(), HorizontalFilter(), ImplodeImage(), ImportImagePixels(), InterpolativeResizeImage(), KuwaharaImageChannel(), LocalContrastImage(), MatteFloodfillImage(), MeanShiftImage(), MorphImages(), MorphologyApply(), MotionBlurImageChannel(), OilPaintImage(), OpaquePaintImageChannel(), OrderedPosterizeImageChannel(), PlasmaImage(), PolynomialImageChannel(), ProfileImage(), RaiseImage(), RandomThresholdImageChannel(), RenderMVGContent(), RGBTransformImage(), RotationalBlurImageChannel(), ScaleImage(), SelectiveBlurImageChannel(), SeparateImageChannel(), SepiaToneImage(), SetCacheViewStorageClass(), SetImage(), SetImageAlphaChannel(), SetImageBackgroundColor(), SetImageClipMask(), SetImageMask(), SetImageType(), SetImageViewIterator(), ShadeImage(), ShearImage(), ShearRotateImage(), SimilarityMetricImage(), SmushImages(), SparseColorImage(), SpliceImage(), SpreadImage(), StatisticImageChannel(), SteganoImage(), StereoAnaglyphImage(), SwirlImage(), TextureImage(), ThresholdImageChannel(), TintImage(), TransferImageViewIterator(), TransformRGBImage(), TransparentPaintImage(), TransparentPaintImageChroma(), UniqueImageColors(), UpdateImageViewIterator(), VerticalFilter(), VignetteImage(), WaveImage(), WaveletDenoiseImage(), and WhiteThresholdImageChannel().
MagickExport VirtualPixelMethod SetImageVirtualPixelMethod | ( | const Image * | image, |
const VirtualPixelMethod | virtual_pixel_method | ||
) |
Definition at line 3281 of file image.c.
References _Image::filename, GetMagickModule, IsEventLogging(), LogMagickEvent(), MagickCoreSignature, MagickFalse, SetPixelCacheVirtualMethod(), _Image::signature, and TraceEvent.
Referenced by DeskewImage(), DistortResizeImage(), RotateImage(), ShadowImage(), and TextureImage().
MagickExport Image * SmushImages | ( | const Image * | images, |
const MagickBooleanType | stack, | ||
const ssize_t | offset, | ||
ExceptionInfo * | exception | ||
) |
Definition at line 3468 of file image.c.
References AcquireVirtualCacheView(), CloneImage(), _Image::columns, CompositeImage(), DestroyCacheView(), DestroyImage(), DirectClass, _Image::exception, _Image::filename, GetMagickModule, GetNextImageInList(), _Image::gravity, GravityAdjustGeometry(), InheritException(), IsEventLogging(), LogMagickEvent(), MagickCoreSignature, MagickFalse, MagickTrue, _Image::matte, OverCompositeOp, _Image::previous, _Image::rows, SetGeometry(), SetImageBackgroundColor(), SetImageProgress(), SetImageStorageClass(), _ExceptionInfo::signature, _Image::signature, SmushImageTag, SmushXGap(), SmushYGap(), TraceEvent, _RectangleInfo::x, and _RectangleInfo::y.
|
static |
Definition at line 3326 of file image.c.
References AcquireVirtualCacheView(), _Image::columns, DestroyCacheView(), GetCacheViewVirtualPixels(), GetPixelOpacity, _Image::gravity, GravityAdjustGeometry(), _Image::previous, _Image::rows, SetGeometry(), TransparentOpacity, and _RectangleInfo::y.
Referenced by SmushImages().
|
static |
Definition at line 3397 of file image.c.
References AcquireVirtualCacheView(), _Image::columns, DestroyCacheView(), GetCacheViewVirtualPixels(), GetPixelOpacity, _Image::gravity, GravityAdjustGeometry(), _Image::previous, _Image::rows, SetGeometry(), TransparentOpacity, and _RectangleInfo::x.
Referenced by SmushImages().
MagickExport MagickBooleanType StripImage | ( | Image * | image | ) |
Definition at line 3620 of file image.c.
References DeleteImageProperty(), DestroyImageProfiles(), GetMagickModule, IsEventLogging(), LogMagickEvent(), MagickFalse, SetImageArtifact(), and TraceEvent.
MagickExport MagickBooleanType SyncImage | ( | Image * | image | ) |
Definition at line 3670 of file image.c.
References AcquireAuthenticCacheView(), _Image::colormap, _Image::columns, CorruptImageWarning, DestroyCacheView(), _Image::exception, _Image::filename, GetCacheViewAuthenticIndexQueue(), GetCacheViewAuthenticPixels(), GetMagickModule, GetPixelIndex, IsEventLogging(), LogMagickEvent(), magick_restrict, MagickCoreSignature, MagickFalse, MagickTrue, _Image::matte, _Image::ping, PseudoClass, PushColormapIndex(), _Image::rows, SetPixelRgb, SetPixelRGBO, _Image::signature, _Image::storage_class, SyncCacheViewAuthenticPixels(), _Image::taint, ThrowMagickException(), and TraceEvent.
Referenced by AssignImageColors(), ClampImageChannel(), Classify(), ClipImagePath(), ConnectedComponentsImage(), GrayscaleImage(), OpaqueImage(), PerceptibleImageChannel(), RGBTransformImage(), SteganoImage(), and TransformRGBImage().
MagickExport MagickBooleanType SyncImageSettings | ( | const ImageInfo * | image_info, |
Image * | image | ||
) |
Definition at line 3795 of file image.c.
References _Image::background_color, _Image::bias, _Image::black_point_compensation, _ChromaticityInfo::blue_primary, _Image::border_color, _Image::chromaticity, _Image::colors, _Image::compose, _Image::compression, _Image::debug, _Image::depth, DestroyString(), _Image::endian, _Image::exception, _Image::filename, _Image::filter, FormatLocaleString(), _Image::fuzz, GetImageOption(), GetMagickModule, GetNextImageOption(), GetPageGeometry(), _Image::gravity, _ChromaticityInfo::green_primary, _Image::intensity, _Image::interlace, _Image::interpolate, IsEventLogging(), _Image::iterations, LogMagickEvent(), MagickBooleanOptions, MagickComposeOptions, MagickCompressOptions, MagickCoreSignature, MagickEndianOptions, MagickFalse, MagickFilterOptions, MagickGravityOptions, MagickIntentOptions, MagickInterlaceOptions, MagickInterpolateOptions, MagickOrientationOptions, MagickPixelIntensityOptions, MagickResolutionOptions, MagickTrue, MagickTypeOptions, _Image::matte_color, MaxTextExtent, _Image::orientation, _Image::page, ParseAbsoluteGeometry(), ParseCommandOption(), ParseGeometry(), PixelsPerCentimeterResolution, PixelsPerInchResolution, _Image::quality, _ImageInfo::quality, QuantumRange, QueryColorDatabase(), _ChromaticityInfo::red_primary, _Image::rendering_intent, ResetImageOptionIterator(), _GeometryInfo::rho, RhoValue, _Image::scene, SetImageArtifact(), _GeometryInfo::sigma, SigmaValue, _Image::signature, _ImageInfo::signature, StringToDoubleInterval(), StringToUnsignedLong(), _Image::taint, _Image::tile_offset, TraceEvent, _Image::transparent_color, _Image::type, UndefinedCompressionQuality, UndefinedResolution, _Image::units, _ImageInfo::units, _ChromaticityInfo::white_point, _PrimaryInfo::x, _Image::x_resolution, _PrimaryInfo::y, and _Image::y_resolution.
Referenced by AcquireImage(), and SyncImagesSettings().
MagickExport MagickBooleanType SyncImagesSettings | ( | ImageInfo * | image_info, |
Image * | images | ||
) |
Definition at line 3776 of file image.c.
References DeleteImageOption(), _Image::filename, GetMagickModule, GetNextImageInList(), IsEventLogging(), LogMagickEvent(), MagickCoreSignature, MagickFalse, MagickTrue, _Image::signature, _ImageInfo::signature, SyncImageSettings(), and TraceEvent.