MagickCore  7.0.3
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/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/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/token.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 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)
 
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 SetImageInfoFile (ImageInfo *image_info, FILE *file)
 
MagickExport MagickBooleanType SetImageAlpha (Image *image, const Quantum alpha, ExceptionInfo *exception)
 
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)
 

Variables

const char AlphaColor [] = "#bdbdbd"
 
const char BackgroundColor [] = "#ffffff"
 
const char BorderColor [] = "#dfdfdf"
 
const char DefaultTileFrame [] = "15x15+3+3"
 
const char DefaultTileGeometry [] = "120x120+4+3>"
 
const char DefaultTileLabel [] = "%f\n%G\n%b"
 
const char ForegroundColor [] = "#000"
 
const char LoadImageTag [] = "Load/Image"
 
const char LoadImagesTag [] = "Load/Images"
 
const char PSDensityGeometry [] = "72.0x72.0"
 
const char PSPageGeometry [] = "612x792"
 
const char SaveImageTag [] = "Save/Image"
 
const char SaveImagesTag [] = "Save/Images"
 
const char TransparentColor [] = "#00000000"
 
const double DefaultResolution = 72.0
 

Macro Definition Documentation

§ AppendImageTag

#define AppendImageTag   "Append/Image"

Referenced by AppendImages().

§ ClipImagePathTag

#define ClipImagePathTag   "ClipPath/Image"

§ CopyImageTag

#define CopyImageTag   "Copy/Image"

Referenced by CopyImagePixels().

§ SmushImageTag

#define SmushImageTag   "Smush/Image"

Referenced by SmushImages().

Function Documentation

§ AcquireImage()

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

Definition at line 152 of file image.c.

References AcquireMagickMemory(), AcquirePixelCache(), AcquirePixelChannelMap(), AcquireSemaphoreInfo(), AllCompliance, _Image::alpha_color, _ImageInfo::alpha_color, AlphaColor, _Image::background_color, _ImageInfo::background_color, BackgroundColor, _Image::blob, _ChromaticityInfo::blue_primary, _Image::border_color, _ImageInfo::border_color, BorderColor, _Image::cache, _ImageInfo::cache, _Image::channel_map, _Image::channel_mask, _Image::chromaticity, _Image::client_data, _ImageInfo::client_data, CloneBlobInfo(), ClonePixelCacheMethods(), _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(), GetMagickModule, GetPageGeometry(), GetTimerInfo(), GreaterValue, _ChromaticityInfo::green_primary, _RectangleInfo::height, _ImageView::image, _Image::interlace, _ImageInfo::interlace, IsEventLogging(), LessValue, LogMagickEvent(), _Image::magick, _ImageInfo::magick, _Image::magick_filename, MAGICKCORE_QUANTUM_DEPTH, MagickCoreSignature, MagickDisposeOptions, MagickFalse, MagickPathExtent, MagickTrue, 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, ResetMagickMemory(), _Image::resolution, ResourceLimitFatalError, _GeometryInfo::rho, _Image::rows, _Image::semaphore, SetBlobExempt(), _GeometryInfo::sigma, SigmaValue, _Image::signature, _ImageInfo::size, sRGBColorspace, _Image::storage_class, Swap, SyncImageSettings(), ThrowFatalException, _Image::ticks_per_second, _Image::timer, _Image::timestamp, TraceEvent, _Image::transparent_color, _ImageInfo::transparent_color, TransparentColor, UndefinedTicksPerSecond, _Image::units, _ImageInfo::units, _ChromaticityInfo::white_point, _RectangleInfo::width, _PrimaryInfo::x, _PointInfo::x, _RectangleInfo::x, XValue, _PrimaryInfo::y, _PointInfo::y, _RectangleInfo::y, YValue, and _PrimaryInfo::z.

Referenced by AcquireNextImage(), AcquireStreamInfo(), ConstituteImage(), DrawPatternPath(), MatrixToImage(), MontageImageList(), NewMagickImage(), OpenDistributeCache(), ReadImage(), RenderHoughLines(), and SetImageInfo().

§ AcquireImageInfo()

§ AcquireNextImage()

§ AppendImages()

§ CatchImageException()

§ ClipImage()

MagickExport MagickBooleanType ClipImage ( Image image,
ExceptionInfo exception 
)

Definition at line 693 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 794 of file image.c.

References AcquireMagickMemory(), AcquireQuantumMemory(), AcquireSemaphoreInfo(), _Image::alpha_trait, _Image::ascii85, Ascii85Initialize(), _Image::blob, _Image::cache, _Image::channel_map, _Image::channel_mask, _Image::client_data, CloneBlobInfo(), CloneImageArtifacts(), CloneImageInfo(), CloneImageProfiles(), CloneImageProperties(), ClonePixelCache(), ClonePixelChannelMap(), CloneString(), _Image::colormap, _Image::colors, _Image::colorspace, _Image::columns, CopyMagickMemory(), CopyMagickString(), CorruptImageError, _Image::debug, DestroyImage(), _Image::directory, _Image::dither, _Image::filename, GetMagickModule, GetTimerInfo(), _RectangleInfo::height, _Image::image_info, IsEventLogging(), _Image::list, LogMagickEvent(), _Image::magick, _Image::magick_columns, _Image::magick_filename, _Image::magick_rows, MagickCoreSignature, MagickFalse, MagickPathExtent, _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::read_mask, _Image::reference_count, ReferenceBlob(), ReferencePixelCache(), ResetMagickMemory(), 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, _Image::write_mask, _RectangleInfo::x, and _RectangleInfo::y.

Referenced by AdaptiveBlurImage(), AdaptiveSharpenImage(), AdaptiveThresholdImage(), AddNoiseImage(), AppendImages(), AutoOrientImage(), BlueShiftImage(), BorderImage(), ChannelFxImage(), CharcoalImage(), ChopImage(), CloneDrawInfo(), CloneImageList(), CloneImages(), CoalesceImages(), ColorizeImage(), ColorMatrixImage(), CombineImages(), CompareImages(), CompareImagesLayers(), ComplexImages(), CompositeImage(), CompositeLayers(), ConnectedComponentsImage(), ConsolidateCMYKImages(), CropImage(), CropImageToTiles(), DeskewImage(), DespeckleImage(), DisposeImages(), DistortImage(), DistortResizeImage(), DrawClipPath(), DrawStrokePolygon(), EnhanceImage(), EvaluateImages(), ExcerptImage(), ExtentImage(), FlipImage(), FloodfillPaintImage(), FlopImage(), ForwardFourierTransformImage(), FrameImage(), FxImage(), GetImageMask(), HuffmanEncodeImage(), ImplodeImage(), InjectImageBlob(), IntegralRotateImage(), InterpolativeResizeImage(), InverseFourierTransformImage(), KuwaharaImage(), LocalContrastImage(), MagnifyImage(), MeanShiftImage(), MergeImageLayers(), ModifyImage(), MontageImageList(), MorphImages(), MorphologyApply(), MotionBlurImage(), OilPaintImage(), OptimizeImageTransparency(), OptimizeLayerFrames(), PolaroidImage(), PolynomialImage(), PreviewImage(), ResizeImage(), RollImage(), RotateImage(), RotationalBlurImage(), SampleImage(), ScaleImage(), SelectiveBlurImage(), SeparateImage(), SepiaToneImage(), ShadeImage(), ShadowImage(), ShearImage(), SimilarityImage(), SketchImage(), SmushImages(), SparseColorImage(), SpliceImage(), SpreadImage(), StatisticImage(), SteganoImage(), StereoAnaglyphImage(), SwirlImage(), TextureImage(), TintImage(), TransformImage(), TransposeImage(), TransverseImage(), TrimImage(), UniqueImageColors(), VignetteImage(), WaveImage(), and WaveletDenoiseImage().

§ CloneImageInfo()

MagickExport ImageInfo* CloneImageInfo ( const ImageInfo image_info)

Definition at line 939 of file image.c.

References AcquireImageInfo(), _ImageInfo::adjoin, _ImageInfo::alpha_color, _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::debug, _ImageInfo::density, _ImageInfo::depth, _ImageInfo::dither, _ImageInfo::endian, _ImageInfo::extract, _ImageInfo::file, _ImageInfo::filename, _ImageInfo::font, _ImageInfo::fuzz, _ImageInfo::interlace, IsEventLogging(), _ImageInfo::length, _ImageInfo::magick, MagickPathExtent, _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(), GetDrawInfo(), GetImageRegistry(), ImagesToBlob(), ImageToBlob(), InjectImageBlob(), 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 1168 of file image.c.

References _Image::ascii85, _Image::channel_map, _Image::colormap, _Image::debug, DestroyBlob(), DestroyImageArtifacts(), DestroyImageInfo(), DestroyImagePixels(), DestroyImageProfiles(), DestroyImageProperties(), DestroyPixelChannelMap(), DestroyString(), _Image::directory, _Image::filename, _Image::geometry, GetMagickModule, _Image::image_info, 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(), 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(), DrawPatternPath(), DrawPrimitive(), DrawStrokePolygon(), EnhanceImage(), EvaluateImages(), ExcerptImage(), FlipImage(), FloodfillPaintImage(), FlopImage(), ForwardFourierTransformImage(), FrameImage(), FxImage(), GetImageMask(), GetImagePerceptualHash(), GetSimilarityMetric(), HuffmanEncodeImage(), IdentifyImage(), ImplodeImage(), InjectImageBlob(), IntegralRotateImage(), InterpolativeResizeImage(), InverseFourierTransformImage(), KuwaharaImage(), LocalContrastImage(), MagnifyImage(), MatrixToImage(), MeanShiftImage(), MontageImageList(), MorphImages(), MorphologyApply(), MotionBlurImage(), NewMagickImage(), OilPaintImage(), OptimizeImageTransparency(), OptimizeLayerFrames(), PolaroidImage(), PolynomialImage(), PreviewImage(), ReadImage(), RenderPostscript(), ReplaceImageInList(), ReplaceImageInListReturnLast(), ResamplePixelColor(), ResizeImage(), RollImage(), RotateImage(), RotationalBlurImage(), SampleImage(), ScaleImage(), 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 1394 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 3636 of file image.c.

References MagickTrue.

Referenced by SyncImage().

§ ReferenceImage()

§ ResetImagePage()

§ SetImageAlpha()

§ SetImageBackgroundColor()

§ SetImageChannelMask()

MagickExport ChannelType SetImageChannelMask ( Image image,
const ChannelType  channel_mask 
)

§ SetImageColor()

§ SetImageExtent()

MagickExport MagickBooleanType SetImageExtent ( Image image,
const size_t  columns,
const size_t  rows,
ExceptionInfo exception 
)

§ SetImageInfo()

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

§ SetImageInfoBlob()

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

§ SetImageInfoFile()

§ SetImageMask()

§ SetImageRegionMask()

§ SetImageStorageClass()

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

Definition at line 2413 of file image.c.

References _Image::storage_class, and SyncImagePixelCache().

Referenced by AcquireImageColormap(), AdaptiveBlurImage(), AdaptiveSharpenImage(), AdaptiveThresholdImage(), AddNoiseImage(), AnnotateImage(), AppendImages(), BilevelImage(), BlackThresholdImage(), BlueShiftImage(), ChannelFxImage(), ClipImagePath(), ClutImage(), ColorizeImage(), ColorMatrixImage(), CombineImages(), CompareImages(), ComplexImages(), CompositeImage(), ConsolidateCMYKImages(), CopyImagePixels(), DespeckleImage(), DistortImage(), DrawAffineImage(), DrawImage(), DuplexTransferImageViewIterator(), EnhanceImage(), EvaluateImage(), EvaluateImages(), FloodfillPaintImage(), FrameImage(), FunctionImage(), FxImage(), GrayscaleImage(), HaldClutImage(), HorizontalFilter(), ImplodeImage(), ImportImagePixels(), InterpolativeResizeImage(), KuwaharaImage(), LocalContrastImage(), MeanShiftImage(), MorphImages(), MorphologyApply(), MotionBlurImage(), OilPaintImage(), OpaquePaintImage(), OrderedDitherImage(), PlasmaImage(), PolynomialImage(), ProfileImage(), RaiseImage(), RandomThresholdImage(), RenderType(), 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(), 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 3764 of file image.c.

References AllCompliance, _Image::alpha_color, _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, _ImageView::exception, _Image::filename, _Image::filter, _Image::fuzz, GetImageOption(), GetMagickModule, GetPageGeometry(), _Image::gravity, _ChromaticityInfo::green_primary, _Image::image_info, _Image::intensity, _Image::interlace, _Image::interpolate, _Image::iterations, LogMagickEvent(), MagickBooleanOptions, MagickComposeOptions, MagickCompressOptions, MagickCoreSignature, MagickEndianOptions, MagickFalse, MagickFilterOptions, MagickGravityOptions, MagickIntentOptions, MagickInterlaceOptions, MagickInterpolateOptions, MagickOrientationOptions, MagickPixelIntensityOptions, MagickResolutionOptions, MagickTrue, MagickTypeOptions, MagickVirtualPixelOptions, _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, _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, _PrimaryInfo::x, _PointInfo::x, _PrimaryInfo::y, and _PointInfo::y.

Referenced by AcquireImage(), and SyncImagesSettings().

§ SyncImagesSettings()

Variable Documentation

§ AlphaColor

const char AlphaColor[] = "#bdbdbd"

Definition at line 107 of file image.c.

Referenced by AcquireImage(), and GetImageInfo().

§ BackgroundColor

const char BackgroundColor[] = "#ffffff"

Definition at line 108 of file image.c.

Referenced by AcquireImage(), GetImageInfo(), and QueryColorCompliance().

§ BorderColor

const char BorderColor[] = "#dfdfdf"

Definition at line 109 of file image.c.

Referenced by AcquireImage(), and GetImageInfo().

§ DefaultResolution

const double DefaultResolution = 72.0

Definition at line 123 of file image.c.

Referenced by DrawBoundingRectangles(), RenderHoughLines(), RenderPostscript(), and RenderType().

§ DefaultTileFrame

const char DefaultTileFrame[] = "15x15+3+3"

Definition at line 110 of file image.c.

Referenced by PreviewImage().

§ DefaultTileGeometry

const char DefaultTileGeometry[] = "120x120+4+3>"

Definition at line 111 of file image.c.

Referenced by GetMontageInfo().

§ DefaultTileLabel

const char DefaultTileLabel[] = "%f\n%G\n%b"

Definition at line 112 of file image.c.

Referenced by PreviewImage().

§ ForegroundColor

const char ForegroundColor[] = "#000"

Definition at line 113 of file image.c.

§ LoadImagesTag

const char LoadImagesTag[] = "Load/Images"

Definition at line 115 of file image.c.

§ LoadImageTag

const char LoadImageTag[] = "Load/Image"

Definition at line 114 of file image.c.

Referenced by HuffmanDecodeImage(), and HuffmanEncodeImage().

§ PSDensityGeometry

const char PSDensityGeometry[] = "72.0x72.0"

Definition at line 116 of file image.c.

§ PSPageGeometry

const char PSPageGeometry[] = "612x792"

Definition at line 117 of file image.c.

§ SaveImagesTag

const char SaveImagesTag[] = "Save/Images"

Definition at line 119 of file image.c.

§ SaveImageTag

const char SaveImageTag[] = "Save/Image"

Definition at line 118 of file image.c.

§ TransparentColor

const char TransparentColor[] = "#00000000"

Definition at line 120 of file image.c.

Referenced by AcquireImage(), and GetImageInfo().