MagickCore 7.1.0
Convert, Edit, Or Compose Bitmap Images
image.c File Reference
#include "MagickCore/studio.h"
#include "MagickCore/animate.h"
#include "MagickCore/artifact.h"
#include "MagickCore/attribute.h"
#include "MagickCore/blob.h"
#include "MagickCore/blob-private.h"
#include "MagickCore/cache.h"
#include "MagickCore/cache-private.h"
#include "MagickCore/cache-view.h"
#include "MagickCore/channel.h"
#include "MagickCore/client.h"
#include "MagickCore/color.h"
#include "MagickCore/color-private.h"
#include "MagickCore/colormap.h"
#include "MagickCore/colorspace.h"
#include "MagickCore/colorspace-private.h"
#include "MagickCore/composite.h"
#include "MagickCore/composite-private.h"
#include "MagickCore/compress.h"
#include "MagickCore/constitute.h"
#include "MagickCore/delegate.h"
#include "MagickCore/display.h"
#include "MagickCore/draw.h"
#include "MagickCore/enhance.h"
#include "MagickCore/exception.h"
#include "MagickCore/exception-private.h"
#include "MagickCore/gem.h"
#include "MagickCore/geometry.h"
#include "MagickCore/histogram.h"
#include "MagickCore/image-private.h"
#include "MagickCore/list.h"
#include "MagickCore/magic.h"
#include "MagickCore/magick.h"
#include "MagickCore/magick-private.h"
#include "MagickCore/memory_.h"
#include "MagickCore/memory-private.h"
#include "MagickCore/module.h"
#include "MagickCore/monitor.h"
#include "MagickCore/monitor-private.h"
#include "MagickCore/option.h"
#include "MagickCore/paint.h"
#include "MagickCore/pixel-accessor.h"
#include "MagickCore/profile.h"
#include "MagickCore/property.h"
#include "MagickCore/quantize.h"
#include "MagickCore/random_.h"
#include "MagickCore/resource_.h"
#include "MagickCore/segment.h"
#include "MagickCore/semaphore.h"
#include "MagickCore/signature-private.h"
#include "MagickCore/statistic.h"
#include "MagickCore/string_.h"
#include "MagickCore/string-private.h"
#include "MagickCore/thread-private.h"
#include "MagickCore/threshold.h"
#include "MagickCore/timer.h"
#include "MagickCore/timer-private.h"
#include "MagickCore/token.h"
#include "MagickCore/token-private.h"
#include "MagickCore/utility.h"
#include "MagickCore/utility-private.h"
#include "MagickCore/version.h"
#include "MagickCore/xwindow-private.h"
Include dependency graph for image.c:

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"
 

Functions

MagickExport ImageAcquireImage (const ImageInfo *image_info, ExceptionInfo *exception)
 
MagickExport ImageInfoAcquireImageInfo (void)
 
MagickExport void AcquireNextImage (const ImageInfo *image_info, Image *image, ExceptionInfo *exception)
 
MagickExport ImageAppendImages (const Image *images, const MagickBooleanType stack, ExceptionInfo *exception)
 
MagickExport ExceptionType CatchImageException (Image *image)
 
MagickExport MagickBooleanType ClipImage (Image *image, ExceptionInfo *exception)
 
MagickExport MagickBooleanType ClipImagePath (Image *image, const char *pathname, const MagickBooleanType inside, ExceptionInfo *exception)
 
MagickExport ImageCloneImage (const Image *image, const size_t columns, const size_t rows, const MagickBooleanType detach, ExceptionInfo *exception)
 
MagickExport ImageInfoCloneImageInfo (const ImageInfo *image_info)
 
MagickExport MagickBooleanType CopyImagePixels (Image *image, const Image *source_image, const RectangleInfo *geometry, const OffsetInfo *offset, ExceptionInfo *exception)
 
MagickExport ImageDestroyImage (Image *image)
 
MagickExport ImageInfoDestroyImageInfo (ImageInfo *image_info)
 
MagickExport void DisassociateImageStream (Image *image)
 
MagickExport void GetImageInfo (ImageInfo *image_info)
 
MagickExport FILE * GetImageInfoFile (const ImageInfo *image_info)
 
MagickExport ImageGetImageMask (const Image *image, const PixelMask type, ExceptionInfo *exception)
 
MagickExport ssize_t GetImageReferenceCount (Image *image)
 
MagickExport VirtualPixelMethod GetImageVirtualPixelMethod (const Image *image)
 
MagickExport size_t InterpretImageFilename (const ImageInfo *image_info, Image *image, const char *format, int value, char *filename, ExceptionInfo *exception)
 
MagickExport MagickBooleanType IsHighDynamicRangeImage (const Image *image, ExceptionInfo *exception)
 
MagickExport MagickBooleanType IsImageObject (const Image *image)
 
MagickExport MagickBooleanType IsTaintImage (const Image *image)
 
MagickExport MagickBooleanType ModifyImage (Image **image, ExceptionInfo *exception)
 
MagickExport ImageNewMagickImage (const ImageInfo *image_info, const size_t width, const size_t height, const PixelInfo *background, ExceptionInfo *exception)
 
MagickExport ImageReferenceImage (Image *image)
 
MagickExport MagickBooleanType ResetImagePage (Image *image, const char *page)
 
MagickExport MagickBooleanType ResetImagePixels (Image *image, ExceptionInfo *exception)
 
MagickExport MagickBooleanType SetImageAlpha (Image *image, const Quantum alpha, ExceptionInfo *exception)
 
MagickExport MagickBooleanType SetImageBackgroundColor (Image *image, ExceptionInfo *exception)
 
MagickExport ChannelType SetImageChannelMask (Image *image, const ChannelType channel_mask)
 
MagickExport MagickBooleanType SetImageColor (Image *image, const PixelInfo *color, ExceptionInfo *exception)
 
MagickExport MagickBooleanType SetImageStorageClass (Image *image, const ClassType storage_class, ExceptionInfo *exception)
 
MagickExport MagickBooleanType SetImageExtent (Image *image, const size_t columns, const size_t rows, ExceptionInfo *exception)
 
static const MagickInfoSetImageInfoFromExtension (ImageInfo *image_info, const char *component, char *magic, ExceptionInfo *exception)
 
MagickExport MagickBooleanType SetImageInfo (ImageInfo *image_info, const unsigned int frames, ExceptionInfo *exception)
 
MagickExport void SetImageInfoBlob (ImageInfo *image_info, const void *blob, const size_t length)
 
MagickExport void SetImageInfoCustomStream (ImageInfo *image_info, CustomStreamInfo *custom_stream)
 
MagickExport void SetImageInfoFile (ImageInfo *image_info, FILE *file)
 
MagickExport MagickBooleanType SetImageMask (Image *image, const PixelMask type, const Image *mask, ExceptionInfo *exception)
 
MagickExport MagickBooleanType SetImageRegionMask (Image *image, const PixelMask type, const RectangleInfo *region, ExceptionInfo *exception)
 
MagickExport VirtualPixelMethod SetImageVirtualPixelMethod (Image *image, const VirtualPixelMethod virtual_pixel_method, ExceptionInfo *exception)
 
static ssize_t SmushXGap (const Image *smush_image, const Image *images, const ssize_t offset, ExceptionInfo *exception)
 
static ssize_t SmushYGap (const Image *smush_image, const Image *images, const ssize_t offset, ExceptionInfo *exception)
 
MagickExport ImageSmushImages (const Image *images, const MagickBooleanType stack, const ssize_t offset, ExceptionInfo *exception)
 
MagickExport MagickBooleanType StripImage (Image *image, ExceptionInfo *exception)
 
static Quantum PushColormapIndex (Image *image, const Quantum index, MagickBooleanType *range_exception)
 
MagickExport MagickBooleanType SyncImage (Image *image, ExceptionInfo *exception)
 
MagickExport MagickBooleanType SyncImagesSettings (ImageInfo *image_info, Image *images, ExceptionInfo *exception)
 
MagickExport MagickBooleanType SyncImageSettings (const ImageInfo *image_info, Image *image, ExceptionInfo *exception)
 

Macro Definition Documentation

◆ AppendImageTag

#define AppendImageTag   "Append/Image"

◆ ClipImagePathTag

#define ClipImagePathTag   "ClipPath/Image"

◆ CopyImageTag

#define CopyImageTag   "Copy/Image"

◆ SmushImageTag

#define SmushImageTag   "Smush/Image"

Function Documentation

◆ AcquireImage()

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

Definition at line 134 of file image.c.

References AcquireCriticalMemory(), AcquirePixelCache(), AcquirePixelChannelMap(), AcquireSemaphoreInfo(), AllCompliance, _Image::background_color, _ImageInfo::background_color, BackgroundColor, _Image::blob, _ChromaticityInfo::blue_primary, _Image::border_color, _ImageInfo::border_color, BorderColor, _Image::cache, _ImageInfo::cache, CastDoubleToLong(), _Image::channel_map, _Image::channel_mask, _Image::chromaticity, _Image::client_data, _ImageInfo::client_data, CloneBlobInfo(), ClonePixelCacheMethods(), CoderEvent, _Image::colorspace, _Image::columns, _Image::compose, _Image::compression, _ImageInfo::compression, CopyMagickString(), _Image::debug, DefaultChannels, _Image::delay, _ImageInfo::density, _Image::depth, _ImageInfo::depth, DestroyString(), DirectClass, _Image::dispose, _Image::dither, _ImageInfo::dither, _Image::endian, _ImageInfo::endian, _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, _Image::interlace, _ImageInfo::interlace, IsEventLogging(), LessValue, LogMagickEvent(), _Image::magick, _ImageInfo::magick, _Image::magick_filename, MAGICKCORE_QUANTUM_DEPTH, MagickCoreSignature, MagickDisposeOptions, MagickFalse, MagickPathExtent, MagickTrue, _Image::matte_color, _ImageInfo::matte_color, MatteColor, 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, QueryColorCompliance(), _ChromaticityInfo::red_primary, _Image::reference_count, _Image::rendering_intent, _Image::resolution, _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, _PointInfo::x, _RectangleInfo::x, _PrimaryInfo::x, XValue, _PointInfo::y, _RectangleInfo::y, _PrimaryInfo::y, YValue, and _PrimaryInfo::z.

Referenced by AcquireNextImage(), AcquireStreamInfo(), ConstituteImage(), DrawClippingMask(), DrawCompositeMask(), DrawPatternPath(), GetImageMask(), InterpretImageProperties(), MatrixToImage(), MontageImageList(), NewMagickImage(), ReadImage(), RenderHoughLines(), and SetImageInfo().

◆ AcquireImageInfo()

◆ AcquireNextImage()

◆ AppendImages()

◆ CatchImageException()

◆ ClipImage()

MagickExport MagickBooleanType ClipImage ( Image image,
ExceptionInfo exception 
)

Definition at line 687 of file image.c.

References ClipImagePath(), and MagickTrue.

◆ ClipImagePath()

◆ CloneImage()

MagickExport Image * CloneImage ( const Image image,
const size_t  columns,
const size_t  rows,
const MagickBooleanType  detach,
ExceptionInfo exception 
)

Definition at line 789 of file image.c.

References AcquireCriticalMemory(), AcquireQuantumMemory(), AcquireSemaphoreInfo(), _Image::alpha_trait, _Image::ascii85, Ascii85Initialize(), _Image::blob, _Image::cache, CastDoubleToLong(), _Image::channel_map, _Image::channel_mask, _Image::channels, _Image::client_data, CloneBlobInfo(), CloneImageArtifacts(), CloneImageInfo(), CloneImageProfiles(), CloneImageProperties(), ClonePixelCache(), ClonePixelChannelMap(), CloneString(), _Image::colormap, _Image::colors, _Image::colorspace, _Image::columns, CopyMagickString(), CorruptImageError, _Image::debug, DestroyImage(), _Image::directory, _Image::dither, _Image::extent, _Image::filename, GetMagickModule, GetTimerInfo(), _RectangleInfo::height, _Image::image_info, IsEventLogging(), _Image::list, LogMagickEvent(), _Image::magick, _Image::magick_columns, _Image::magick_filename, _Image::magick_rows, MagickAbsoluteValue, MagickCoreSignature, MagickFalse, MagickMin, MagickPathExtent, _Image::mask_trait, _Image::metacontent_extent, _Image::montage, NewImageList(), _Image::next, _Image::number_channels, _Image::number_meta_channels, _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(), AdaptiveBlurImage(), AdaptiveSharpenImage(), AdaptiveThresholdImage(), AddNoiseImage(), AppendImages(), AutoOrientImage(), BilateralBlurImage(), BlendConvolveImage(), BlendMagnitudeImage(), BlendMaxMagnitudeImage(), BlendMeanImage(), BlendSumImage(), BlueShiftImage(), BorderImage(), ChannelFxImage(), ChopImage(), CloneDrawInfo(), CloneImageList(), CloneImages(), CoalesceImages(), ColorizeImage(), ColorMatrixImage(), CombineImages(), CompareImages(), CompareImagesLayers(), ComplexImages(), CompositeImage(), CompositeLayers(), ConnectedComponentsImage(), ConsolidateCMYKImages(), CropImage(), CropImageToTiles(), DeskewImage(), DespeckleImage(), DisposeImages(), DistortImage(), DistortResizeImage(), DrawStrokePolygon(), EnhanceImage(), ExcerptImage(), ExtentImage(), FlipImage(), FloodfillPaintImage(), FlopImage(), ForwardFourierTransformImage(), FrameImage(), FxImage(), GetEdgeBoundingBox(), HuffmanEncodeImage(), ImplodeImage(), InjectImageBlob(), IntegralImage(), IntegralRotateImage(), InterpolativeResizeImage(), InverseFourierTransformImage(), KmeansImage(), KuwaharaImage(), LocalContrastImage(), MagnifyImage(), MeanShiftImage(), MergeImageLayers(), ModifyImage(), MontageImageList(), MorphImages(), MorphologyApply(), MotionBlurImage(), OilPaintImage(), OptimizeImageTransparency(), OptimizeLayerFrames(), PolaroidImage(), PreviewImage(), ResizeImage(), RollImage(), RotateImage(), RotationalBlurImage(), SaliencyBlendImage(), SampleImage(), ScaleImage(), SeamlessBlendImage(), SelectiveBlurImage(), SeparateImage(), SepiaToneImage(), ShadeImage(), ShadowImage(), ShearImage(), SimilarityImage(), SketchImage(), SmushImages(), SparseColorImage(), SpliceImage(), SpreadImage(), StatisticImage(), SteganoImage(), StereoAnaglyphImage(), SwirlImage(), TextureImage(), ThumbnailImage(), TintImage(), TransformImage(), TransposeImage(), TransverseImage(), TrimImage(), UniqueImageColors(), VignetteImage(), WaveImage(), and WaveletDenoiseImage().

◆ CloneImageInfo()

MagickExport ImageInfo * CloneImageInfo ( const ImageInfo image_info)

Definition at line 940 of file image.c.

References AcquireImageInfo(), _ImageInfo::adjoin, _ImageInfo::antialias, _ImageInfo::background_color, _ImageInfo::blob, _ImageInfo::border_color, _ImageInfo::cache, _ImageInfo::channel, _ImageInfo::client_data, CloneImageOptions(), CloneString(), CloneStringInfo(), _ImageInfo::colorspace, _ImageInfo::compression, CopyMagickString(), _ImageInfo::custom_stream, _ImageInfo::debug, _ImageInfo::density, _ImageInfo::depth, _ImageInfo::dither, _ImageInfo::endian, _ImageInfo::extract, _ImageInfo::file, _ImageInfo::filename, _ImageInfo::font, _ImageInfo::fuzz, _ImageInfo::interlace, _ImageInfo::length, _ImageInfo::magick, MagickPathExtent, _ImageInfo::matte_color, _ImageInfo::monochrome, _ImageInfo::number_scenes, _ImageInfo::orientation, _ImageInfo::page, _ImageInfo::ping, _ImageInfo::pointsize, _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::temporary, _ImageInfo::texture, _ImageInfo::transparent_color, _ImageInfo::type, _ImageInfo::unique, _ImageInfo::units, and _ImageInfo::verbose.

Referenced by BlobToImage(), CloneImage(), CustomStreamToImage(), GetDrawInfo(), GetImageRegistry(), ImagesToBlob(), ImagesToCustomStream(), ImageToBlob(), ImageToCustomStream(), InjectImageBlob(), InterpretImageProperties(), InvokeDelegate(), MontageImageList(), PingBlob(), PingImage(), PingImages(), ReadImage(), ReadImages(), ReadInlineImage(), ReadStream(), SetImageRegistry(), StreamImage(), SyncImageSettings(), WriteImage(), WriteImages(), WriteStream(), and WriteStreamImage().

◆ CopyImagePixels()

◆ DestroyImage()

MagickExport Image * DestroyImage ( Image image)

Definition at line 1181 of file image.c.

References _Image::ascii85, _Image::channel_map, _Image::colormap, DestroyBlob(), DestroyImageArtifacts(), DestroyImageInfo(), DestroyImagePixels(), DestroyImageProfiles(), DestroyImageProperties(), DestroyPixelChannelMap(), DestroyString(), _Image::directory, _Image::filename, _Image::geometry, GetMagickModule, _Image::image_info, IsEventLogging(), LockSemaphoreInfo(), LogMagickEvent(), MagickCoreSignature, MagickFalse, MagickTrue, _Image::montage, _Image::reference_count, RelinquishMagickMemory(), RelinquishSemaphoreInfo(), _Image::semaphore, _Image::signature, TraceEvent, and UnlockSemaphoreInfo().

Referenced by AdaptiveBlurImage(), AdaptiveSharpenImage(), AdaptiveThresholdImage(), AddNoiseImage(), AppendImages(), BilateralBlurImage(), BlendConvolveImage(), BlendDivergentImage(), BlendMagnitudeImage(), BlendMaxMagnitudeImage(), BlendMeanImage(), BlendSumImage(), BlueShiftImage(), BorderImage(), CannyEdgeImage(), CharcoalImage(), ChopImage(), ClipImagePath(), CloneImage(), CoalesceImages(), ColorizeImage(), ColorMatrixImage(), CombineImages(), CompareImages(), CompareImagesLayers(), CompositeImage(), CompositeLayers(), ConnectedComponentsImage(), ConstituteImage(), CropImage(), CropToFitImage(), DeleteImageFromList(), DeskewImage(), DespeckleImage(), DestroyCacheView(), DestroyDrawInfo(), DestroyResampleFilter(), DestroyStreamInfo(), DisposeImages(), DistortImage(), DistortResizeImage(), DrawClipPath(), DrawClippingMask(), DrawCompositeMask(), DrawPatternPath(), DrawPrimitive(), DrawStrokePolygon(), EnhanceImage(), EvaluateImages(), ExcerptImage(), ExtentImage(), FlipImage(), FloodfillPaintImage(), FlopImage(), ForwardFourierTransformImage(), FrameImage(), FxImage(), GetEdgeBackgroundCensus(), GetEdgeBackgroundColor(), GetEdgeBoundingBox(), GetImageMask(), GetImagePerceptualHash(), GetSimilarityMetric(), HuffmanEncodeImage(), IdentifyImage(), ImplodeImage(), InjectImageBlob(), IntegralImage(), IntegralRotateImage(), InterpolativeResizeImage(), InterpretImageProperties(), InverseFourierTransformImage(), KmeansImage(), KuwaharaImage(), LocalContrastImage(), MagnifyImage(), MatrixToImage(), MeanShiftImage(), MontageImageList(), MorphImages(), MorphologyApply(), MotionBlurImage(), NewMagickImage(), OilPaintImage(), OptimizeImageTransparency(), OptimizeLayerFrames(), PolaroidImage(), PolynomialImage(), PreviewImage(), ReadImage(), RenderMVGContent(), RenderPostscript(), ReplaceImageInList(), ReplaceImageInListReturnLast(), ResamplePixelColor(), ResizeImage(), RollImage(), RotateImage(), RotationalBlurImage(), SaliencyBlendImage(), SampleImage(), ScaleImage(), SeamlessBlendImage(), SelectiveBlurImage(), SeparateImage(), SepiaToneImage(), SetImageInfo(), ShadeImage(), ShadowImage(), ShearImage(), ShearRotateImage(), SimilarityImage(), SketchImage(), SmushImages(), SparseColorImage(), SpliceImage(), SpreadImage(), StatisticImage(), SteganoImage(), StereoAnaglyphImage(), StreamImage(), SwirlImage(), TextureImage(), ThumbnailImage(), TintImage(), TransformImage(), TransposeImage(), TransverseImage(), UniqueImageColors(), UnsharpMaskImage(), VignetteImage(), WaveImage(), and WaveletDenoiseImage().

◆ DestroyImageInfo()

◆ DisassociateImageStream()

MagickExport void DisassociateImageStream ( Image image)

◆ GetImageInfo()

◆ GetImageInfoFile()

MagickExport FILE * GetImageInfoFile ( const ImageInfo image_info)

Definition at line 1409 of file image.c.

References _ImageInfo::file.

◆ GetImageMask()

◆ GetImageReferenceCount()

◆ GetImageVirtualPixelMethod()

◆ InterpretImageFilename()

MagickExport size_t InterpretImageFilename ( const ImageInfo image_info,
Image image,
const char *  format,
int  value,
char *  filename,
ExceptionInfo exception 
)

◆ IsHighDynamicRangeImage()

◆ IsImageObject()

◆ IsTaintImage()

◆ ModifyImage()

◆ NewMagickImage()

◆ PushColormapIndex()

static Quantum PushColormapIndex ( Image image,
const Quantum  index,
MagickBooleanType range_exception 
)
inlinestatic

Definition at line 3894 of file image.c.

References MagickTrue.

Referenced by SyncImage().

◆ ReferenceImage()

◆ ResetImagePage()

◆ ResetImagePixels()

◆ SetImageAlpha()

◆ SetImageBackgroundColor()

◆ SetImageChannelMask()

MagickExport ChannelType SetImageChannelMask ( Image image,
const ChannelType  channel_mask 
)

◆ SetImageColor()

◆ SetImageExtent()

◆ SetImageInfo()

MagickExport MagickBooleanType SetImageInfo ( ImageInfo image_info,
const unsigned int  frames,
ExceptionInfo exception 
)

Definition at line 2788 of file image.c.

References AcquireExceptionInfo(), AcquireImage(), AcquireQuantumMemory(), _ImageInfo::adjoin, _ImageInfo::affirm, BasePathSansCompressExtension, CanonicalPath, CloneString(), CloseBlob(), CopyMagickString(), DestroyExceptionInfo(), DestroyImage(), _ImageInfo::endian, ExtensionPath, _ImageInfo::extract, _Image::filename, _ImageInfo::filename, GetDelegateInfo(), GetMagicInfo(), GetMagickAdjoin(), GetMagickEndianSupport(), GetMagickInfo(), GetMagickModule, GetMagickUseExtension(), GetMagicName(), GetMagicPatternExtent(), GetPathComponent(), ImageToFile(), InterpretImageFilename(), IsBlobExempt(), IsBlobSeekable(), IsEventLogging(), IsGeometry(), IsGlob(), IsMagickConflict(), IsSceneGeometry(), LocaleCompare(), LocaleUpper(), LogMagickEvent(), _ImageInfo::magick, _MagickInfo::magick_module, MagickCoreSignature, MagickFalse, MagickPath, MagickPathExtent, MagickTrue, _MagickInfo::name, _ImageInfo::number_scenes, OpenBlob(), ReadBinaryBlobMode, ReadBlob(), RelinquishMagickMemory(), RelinquishUniqueFileResource(), _ImageInfo::scene, _ImageInfo::scenes, SeekBlob(), SetImageInfoFile(), SetImageInfoFromExtension(), _ImageInfo::signature, StringToUnsignedLong(), SubcanonicalPath, SubimagePath, Swap, _ImageInfo::temporary, TraceEvent, and UndefinedEndian.

Referenced by BlobToImage(), CustomStreamToImage(), DrawPrimitive(), GlobExpression(), ImagesToBlob(), ImagesToCustomStream(), ImageToBlob(), ImageToCustomStream(), InvokeDelegate(), PingBlob(), PingImages(), ReadImage(), ReadImages(), SetImageProperty(), WriteImage(), WriteImages(), and WriteStreamImage().

◆ SetImageInfoBlob()

MagickExport void SetImageInfoBlob ( ImageInfo image_info,
const void *  blob,
const size_t  length 
)

◆ SetImageInfoCustomStream()

MagickExport void SetImageInfoCustomStream ( ImageInfo image_info,
CustomStreamInfo custom_stream 
)

◆ SetImageInfoFile()

◆ SetImageInfoFromExtension()

static const MagickInfo * SetImageInfoFromExtension ( ImageInfo image_info,
const char *  component,
char *  magic,
ExceptionInfo exception 
)
static

◆ SetImageMask()

◆ SetImageRegionMask()

◆ SetImageStorageClass()

MagickExport MagickBooleanType SetImageStorageClass ( Image image,
const ClassType  storage_class,
ExceptionInfo exception 
)

Definition at line 2620 of file image.c.

References _Image::filename, GetMagickModule, IsEventLogging(), LogMagickEvent(), MagickCoreSignature, MagickFalse, _ExceptionInfo::signature, _Image::signature, _Image::storage_class, SyncImagePixelCache(), and TraceEvent.

Referenced by AcquireImageColormap(), AdaptiveBlurImage(), AdaptiveSharpenImage(), AdaptiveThresholdImage(), AddNoiseImage(), AnnotateImage(), AppendImages(), BilateralBlurImage(), BilevelImage(), BlackThresholdImage(), BlueShiftImage(), ChannelFxImage(), ClipImagePath(), ClutImage(), ColorizeImage(), ColorMatrixImage(), CombineImages(), CompareImages(), ComplexImages(), CompositeImage(), ConsolidateCMYKImages(), CopyImagePixels(), DespeckleImage(), DistortImage(), DrawAffineImage(), DuplexTransferImageViewIterator(), EnhanceImage(), EvaluateImage(), EvaluateImages(), FloodfillPaintImage(), FrameImage(), FunctionImage(), FxImage(), GrayscaleImage(), HaldClutImage(), HorizontalFilter(), ImplodeImage(), ImportImagePixels(), IntegralImage(), InterpolativeResizeImage(), KuwaharaImage(), LocalContrastImage(), MeanShiftImage(), MorphImages(), MorphologyApply(), MotionBlurImage(), OilPaintImage(), OpaquePaintImage(), OrderedDitherImage(), PlasmaImage(), PolynomialImage(), ProfileImage(), RaiseImage(), RandomThresholdImage(), RangeThresholdImage(), RenderMVGContent(), RotationalBlurImage(), ScaleImage(), SelectiveBlurImage(), SeparateImage(), SepiaToneImage(), SetCacheViewStorageClass(), SetImageAlphaChannel(), SetImageBackgroundColor(), SetImageType(), SetImageViewIterator(), ShadeImage(), ShearImage(), ShearRotateImage(), SimilarityImage(), SmushImages(), SparseColorImage(), SpliceImage(), SpreadImage(), sRGBTransformImage(), StatisticImage(), SteganoImage(), StereoAnaglyphImage(), SwirlImage(), TextureImage(), TintImage(), TransferImageViewIterator(), TransformsRGBImage(), TransparentPaintImage(), TransparentPaintImageChroma(), UniqueImageColors(), UpdateImageViewIterator(), VerticalFilter(), VignetteImage(), WaveImage(), WaveletDenoiseImage(), WhiteBalanceImage(), and WhiteThresholdImage().

◆ SetImageVirtualPixelMethod()

◆ SmushImages()

◆ SmushXGap()

static ssize_t SmushXGap ( const Image smush_image,
const Image images,
const ssize_t  offset,
ExceptionInfo exception 
)
static

◆ SmushYGap()

static ssize_t SmushYGap ( const Image smush_image,
const Image images,
const ssize_t  offset,
ExceptionInfo exception 
)
static

◆ StripImage()

◆ SyncImage()

◆ SyncImageSettings()

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

Definition at line 4025 of file image.c.

References AllCompliance, _Image::background_color, _Image::black_point_compensation, _ChromaticityInfo::blue_primary, _Image::border_color, _Image::chromaticity, CloneImageInfo(), _Image::compose, _Image::compression, _Image::debug, _Image::depth, DestroyImageInfo(), DestroyString(), _Image::endian, _Image::filename, _Image::filter, _Image::fuzz, GetImageOption(), GetMagickModule, GetPageGeometry(), _Image::gravity, _ChromaticityInfo::green_primary, _Image::image_info, _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, MagickVirtualPixelOptions, _Image::matte_color, _Image::orientation, _Image::page, ParseAbsoluteGeometry(), ParseCommandOption(), ParseGeometry(), PixelsPerCentimeterResolution, PixelsPerInchResolution, _Image::quality, _ImageInfo::quality, QuantumRange, QueryColorCompliance(), _ChromaticityInfo::red_primary, _Image::rendering_intent, _Image::resolution, _GeometryInfo::rho, RhoValue, _Image::scene, SetImageVirtualPixelMethod(), _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, _PointInfo::x, _PrimaryInfo::x, _PointInfo::y, and _PrimaryInfo::y.

Referenced by AcquireImage(), and SyncImagesSettings().

◆ SyncImagesSettings()