MagickCore
7.0.9
Convert, Edit, Or Compose Bitmap Images
|
#include "MagickCore/studio.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/colormap-private.h"
#include "MagickCore/colorspace.h"
#include "MagickCore/colorspace-private.h"
#include "MagickCore/composite.h"
#include "MagickCore/composite-private.h"
#include "MagickCore/constitute.h"
#include "MagickCore/draw.h"
#include "MagickCore/draw-private.h"
#include "MagickCore/effect.h"
#include "MagickCore/enhance.h"
#include "MagickCore/exception.h"
#include "MagickCore/exception-private.h"
#include "MagickCore/geometry.h"
#include "MagickCore/histogram.h"
#include "MagickCore/identify.h"
#include "MagickCore/image.h"
#include "MagickCore/image-private.h"
#include "MagickCore/list.h"
#include "MagickCore/log.h"
#include "MagickCore/memory_.h"
#include "MagickCore/magick.h"
#include "MagickCore/monitor.h"
#include "MagickCore/monitor-private.h"
#include "MagickCore/option.h"
#include "MagickCore/paint.h"
#include "MagickCore/pixel.h"
#include "MagickCore/pixel-accessor.h"
#include "MagickCore/property.h"
#include "MagickCore/quantize.h"
#include "MagickCore/quantum-private.h"
#include "MagickCore/random_.h"
#include "MagickCore/resource_.h"
#include "MagickCore/semaphore.h"
#include "MagickCore/segment.h"
#include "MagickCore/splay-tree.h"
#include "MagickCore/string_.h"
#include "MagickCore/string-private.h"
#include "MagickCore/thread-private.h"
#include "MagickCore/threshold.h"
#include "MagickCore/transform.h"
#include "MagickCore/utility.h"
Data Structures | |
struct | _EdgeInfo |
Typedefs | |
typedef struct _EdgeInfo | EdgeInfo |
|
static |
References AcquireVirtualCacheView(), AllCompliance, _Image::columns, CropImage(), DestroyCacheView(), DestroyImage(), EastGravity, GetCacheViewVirtualPixels(), GetImageArtifact(), GetPixelChannels(), GetPixelInfoPixel(), GravityAdjustGeometry(), _RectangleInfo::height, IsFuzzyEquivalencePixelInfo(), MagickFalse, NorthEastGravity, NorthGravity, NorthWestGravity, QueryColorCompliance(), _Image::rows, SouthEastGravity, SouthGravity, SouthWestGravity, WestGravity, _RectangleInfo::width, _RectangleInfo::x, and _RectangleInfo::y.
Referenced by GetEdgeBoundingBox().
|
static |
References AcquireVirtualCacheView(), _EdgeInfo::bottom, CloneImage(), _Image::debug, DestroyCacheView(), DestroyImage(), EastGravity, _Image::filename, GetEdgeBackgroundFactor(), GetImageArtifact(), GetMagickModule, GetMinEdgeBackgroundFactor(), _RectangleInfo::height, _EdgeInfo::left, LogMagickEvent(), MagickCoreSignature, MagickEpsilon, MagickFalse, MagickMax, MagickMin, MagickTrue, NorthEastGravity, NorthGravity, NorthWestGravity, OptionWarning, _Image::page, ParseAbsoluteGeometry(), _EdgeInfo::right, SetGeometry(), _Image::signature, SouthGravity, SouthWestGravity, StringToDouble(), ThrowMagickException(), _EdgeInfo::top, TraceEvent, WestGravity, _RectangleInfo::width, _RectangleInfo::x, and _RectangleInfo::y.
Referenced by GetImageBoundingBox().
MagickExport RectangleInfo GetImageBoundingBox | ( | const Image * | image, |
ExceptionInfo * | exception | ||
) |
References AcquireVirtualCacheView(), _Image::columns, _Image::debug, DestroyCacheView(), _Image::filename, GetCacheViewVirtualPixels(), GetEdgeBoundingBox(), GetImageArtifact(), GetMagickModule, GetPixelChannels(), GetPixelInfo(), GetPixelInfoPixel(), _RectangleInfo::height, IsFuzzyEquivalencePixelInfo(), LogMagickEvent(), magick_restrict, MagickCoreSignature, MagickFalse, MagickTrue, OptionWarning, _Image::rows, _Image::signature, ThrowMagickException(), TraceEvent, _RectangleInfo::width, _RectangleInfo::x, and _RectangleInfo::y.
Referenced by DeskewImage(), GetMagickPropertyLetter(), RenderPostscript(), and TrimImage().
MagickExport size_t GetImageDepth | ( | const Image * | image, |
ExceptionInfo * | exception | ||
) |
References AcquireQuantumMemory(), AcquireVirtualCacheView(), _Image::alpha_trait, _PixelInfo::blue, ClampToQuantum(), _Image::colormap, _Image::colors, _Image::columns, _Image::debug, DestroyCacheView(), _Image::filename, GetCacheViewVirtualPixels(), GetMagickModule, GetMagickResourceLimit(), GetOpenMPThreadId(), GetPixelBlueTraits(), GetPixelChannelChannel(), GetPixelChannels(), GetPixelChannelTraits(), GetPixelGreenTraits(), GetPixelRedTraits(), GetQuantumRange(), _PixelInfo::green, IsPixelAtDepth(), LogMagickEvent(), magick_restrict, MAGICKCORE_QUANTUM_DEPTH, MagickCoreSignature, MagickFalse, MagickTrue, MaxMap, PseudoClass, QuantumRange, _PixelInfo::red, RelinquishMagickMemory(), ResourceLimitFatalError, _Image::rows, ScaleAnyToQuantum(), ScaleQuantumToAny(), _Image::signature, _Image::storage_class, ThreadResource, ThrowFatalException, TraceEvent, UndefinedPixelTrait, and UpdatePixelTrait.
Referenced by FxChannelStatistics(), FxGetSymbol(), GetMagickProperty(), and IdentifyImage().
MagickExport size_t GetImageQuantumDepth | ( | const Image * | image, |
const MagickBooleanType | constrain | ||
) |
References _Image::depth, MAGICKCORE_QUANTUM_DEPTH, MagickFalse, and MagickMin.
MagickExport ImageType GetImageType | ( | const Image * | image | ) |
References _Image::alpha_trait, BilevelType, CMYKColorspace, ColorSeparationAlphaType, ColorSeparationType, _Image::colorspace, GrayscaleAlphaType, GrayscaleType, IsImageGray(), IsImageMonochrome(), IsPaletteImage(), MagickCoreSignature, MagickFalse, PaletteAlphaType, PaletteType, _Image::signature, TrueColorAlphaType, TrueColorType, and UndefinedPixelTrait.
|
inlinestatic |
References _EdgeInfo::bottom, _EdgeInfo::left, MagickMin, _EdgeInfo::right, and _EdgeInfo::top.
Referenced by GetEdgeBoundingBox().
MagickExport ImageType IdentifyImageGray | ( | const Image * | image, |
ExceptionInfo * | exception | ||
) |
References AcquireVirtualCacheView(), _Image::alpha_trait, BilevelType, _Image::colorspace, _Image::columns, _Image::debug, DestroyCacheView(), _Image::filename, GetCacheViewVirtualPixels(), GetMagickModule, GetPixelChannels(), GrayscaleAlphaType, GrayscaleType, IsPixelGray(), IsPixelMonochrome(), IssRGBCompatibleColorspace(), LogMagickEvent(), MagickCoreSignature, MagickFalse, _Image::rows, _Image::signature, TraceEvent, _Image::type, UndefinedPixelTrait, and UndefinedType.
Referenced by IdentifyImageType(), and SetImageGray().
MagickExport MagickBooleanType IdentifyImageMonochrome | ( | const Image * | image, |
ExceptionInfo * | exception | ||
) |
References AcquireVirtualCacheView(), BilevelType, _Image::colorspace, _Image::columns, _Image::debug, DestroyCacheView(), _Image::filename, GetCacheViewVirtualPixels(), GetMagickModule, GetPixelChannels(), IsPixelMonochrome(), IssRGBCompatibleColorspace(), LogMagickEvent(), MagickCoreSignature, MagickFalse, MagickTrue, _Image::rows, _Image::signature, TraceEvent, and _Image::type.
Referenced by IdentifyImageType(), and SetImageMonochrome().
MagickExport ImageType IdentifyImageType | ( | const Image * | image, |
ExceptionInfo * | exception | ||
) |
References _Image::alpha_trait, BilevelType, CMYKColorspace, ColorSeparationAlphaType, ColorSeparationType, _Image::colorspace, _Image::debug, _Image::filename, GetMagickModule, GrayscaleAlphaType, GrayscaleType, IdentifyImageGray(), IdentifyImageMonochrome(), IdentifyPaletteImage(), LogMagickEvent(), MagickCoreSignature, MagickFalse, PaletteAlphaType, PaletteType, _Image::signature, TraceEvent, TrueColorAlphaType, TrueColorType, UndefinedPixelTrait, and UndefinedType.
Referenced by GetImageColorspaceType(), GetMagickProperty(), and IdentifyImage().
MagickExport MagickBooleanType IsImageGray | ( | const Image * | image | ) |
References BilevelType, GrayscaleAlphaType, GrayscaleType, MagickCoreSignature, MagickFalse, MagickTrue, _Image::signature, and _Image::type.
Referenced by ForwardFourierTransformImage(), GetImageType(), InverseFourierTransformImage(), and SetImageGray().
MagickExport MagickBooleanType IsImageMonochrome | ( | const Image * | image | ) |
References BilevelType, MagickCoreSignature, MagickFalse, MagickTrue, _Image::signature, and _Image::type.
Referenced by GetImageType().
MagickExport MagickBooleanType IsImageOpaque | ( | const Image * | image, |
ExceptionInfo * | exception | ||
) |
References AcquireVirtualCacheView(), _Image::alpha_trait, _Image::columns, _Image::debug, DestroyCacheView(), _Image::filename, GetCacheViewVirtualPixels(), GetMagickModule, GetPixelAlpha(), GetPixelChannels(), LogMagickEvent(), MagickCoreSignature, MagickFalse, MagickTrue, OpaqueAlpha, _Image::rows, _Image::signature, TraceEvent, and UndefinedPixelTrait.
Referenced by GetMagickProperty().
MagickExport MagickBooleanType SetImageDepth | ( | Image * | image, |
const size_t | depth, | ||
ExceptionInfo * | exception | ||
) |
References AcquireAuthenticCacheView(), AcquireQuantumMemory(), _PixelInfo::alpha, _PixelInfo::blue, ClampPixel(), _Image::colormap, _Image::colors, _Image::columns, _Image::debug, _Image::depth, DestroyCacheView(), GetCacheViewAuthenticPixels(), GetMagickModule, GetPixelAlphaTraits(), GetPixelBlueTraits(), GetPixelChannelChannel(), GetPixelChannels(), GetPixelChannelTraits(), GetPixelGreenTraits(), GetPixelRedTraits(), GetQuantumRange(), _PixelInfo::green, LogMagickEvent(), magick_restrict, MAGICKCORE_QUANTUM_DEPTH, MagickCoreSignature, MagickFalse, MagickTrue, MaxMap, PseudoClass, QuantumRange, _PixelInfo::red, RelinquishMagickMemory(), ResourceLimitFatalError, _Image::rows, ScaleAnyToQuantum(), ScaleQuantumToAny(), _Image::signature, _Image::storage_class, SyncCacheViewAuthenticPixels(), ThrowFatalException, TraceEvent, and UpdatePixelTrait.
MagickExport MagickBooleanType SetImageType | ( | Image * | image, |
const ImageType | type, | ||
ExceptionInfo * | exception | ||
) |
References AcquireImageInfo(), AcquireQuantizeInfo(), _Image::alpha_trait, AlphaChannel, BilevelImage(), BilevelType, CMYKColorspace, _Image::colors, ColorSeparationAlphaType, ColorSeparationType, _QuantizeInfo::colorspace, _Image::debug, DestroyImageInfo(), DestroyQuantizeInfo(), DirectClass, _Image::dither, _ImageInfo::dither, GetImageArtifact(), GetMagickModule, GRAYColorspace, GrayscaleAlphaType, GrayscaleType, LogMagickEvent(), MagickCoreSignature, MagickFalse, MagickTrue, NormalizeImage(), _QuantizeInfo::number_colors, OpaqueAlphaChannel, OptimizeType, PaletteAlphaType, PaletteBilevelAlphaType, PaletteType, QuantizeImage(), QuantumRange, SetImageAlphaChannel(), SetImageChannelMask(), SetImageOption(), SetImageStorageClass(), _Image::signature, sRGBColorspace, _Image::storage_class, TraceEvent, TransformImageColorspace(), TransparentColorspace, TrueColorAlphaType, TrueColorType, _Image::type, UndefinedPixelTrait, and UndefinedType.
Referenced by CycleColormapImage(), and HuffmanEncodeImage().