|
MagickCore
6.7.5
|
#include "MagickCore/studio.h"#include "MagickCore/attribute.h"#include "MagickCore/blob.h"#include "MagickCore/blob-private.h"#include "MagickCore/cache.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/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/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/thread-private.h"#include "MagickCore/threshold.h"#include "MagickCore/transform.h"#include "MagickCore/utility.h"
Go to the source code of this file.
Functions | |
| MagickExport RectangleInfo | GetImageBoundingBox (const Image *image, ExceptionInfo *exception) |
| MagickExport size_t | GetImageDepth (const Image *image, ExceptionInfo *exception) |
| static double | MagickMin (const double x, const double y) |
| MagickExport size_t | GetImageQuantumDepth (const Image *image, const MagickBooleanType constrain) |
| MagickExport ImageType | GetImageType (const Image *image, ExceptionInfo *exception) |
| MagickExport MagickBooleanType | IsImageGray (const Image *image, ExceptionInfo *exception) |
| MagickExport MagickBooleanType | IsImageMonochrome (const Image *image, ExceptionInfo *exception) |
| MagickExport MagickBooleanType | IsImageOpaque (const Image *image, ExceptionInfo *exception) |
| MagickExport MagickBooleanType | SetImageDepth (Image *image, const size_t depth, ExceptionInfo *exception) |
| MagickExport RectangleInfo GetImageBoundingBox | ( | const Image * | image, |
| ExceptionInfo * | exception | ||
| ) |
Definition at line 121 of file attribute.c.
References _Image::signature, MagickSignature, _Image::debug, MagickFalse, LogMagickEvent(), TraceEvent, GetMagickModule, _Image::filename, _RectangleInfo::width, _RectangleInfo::height, _RectangleInfo::x, _Image::columns, _RectangleInfo::y, _Image::rows, GetPixelInfo(), AcquireCacheView(), GetCacheViewVirtualPixels(), DestroyCacheView(), GetPixelInfoPixel(), MagickTrue, IsFuzzyEquivalencePixelInfo(), GetPixelChannels(), ThrowMagickException(), and OptionWarning.
Referenced by RenderPostscript(), InterpretImageProperties(), DeskewImage(), and TrimImage().
| MagickExport size_t GetImageDepth | ( | const Image * | image, |
| ExceptionInfo * | exception | ||
| ) |
Definition at line 267 of file attribute.c.
References _Image::signature, MagickSignature, _Image::debug, MagickFalse, LogMagickEvent(), TraceEvent, GetMagickModule, _Image::filename, GetOpenMPMaximumThreads(), AcquireQuantumMemory(), ThrowFatalException, ResourceLimitFatalError, MagickTrue, _Image::storage_class, PseudoClass, _Image::matte, _Image::colors, GetOpenMPThreadId(), MAGICKCORE_QUANTUM_DEPTH, GetQuantumRange(), GetPixelRedTraits(), UpdatePixelTrait, ClampToQuantum(), _Image::colormap, _PixelInfo::red, ScaleAnyToQuantum(), ScaleQuantumToAny(), GetPixelGreenTraits(), _PixelInfo::green, GetPixelBlueTraits(), _PixelInfo::blue, RelinquishMagickMemory(), AcquireCacheView(), QuantumRange, MaxMap, _Image::rows, GetCacheViewVirtualPixels(), _Image::columns, GetPixelMask(), GetPixelChannels(), GetPixelChannelMapChannel(), GetPixelChannelMapTraits(), UndefinedPixelTrait, IndexPixelChannel, MaskPixelChannel, and DestroyCacheView().
Referenced by FxChannelStatistics(), FxGetSymbol(), and IdentifyImage().
| MagickExport size_t GetImageQuantumDepth | ( | const Image * | image, |
| const MagickBooleanType | constrain | ||
| ) |
Definition at line 551 of file attribute.c.
References _Image::depth, MagickFalse, MagickMin(), and MAGICKCORE_QUANTUM_DEPTH.
| MagickExport ImageType GetImageType | ( | const Image * | image, |
| ExceptionInfo * | exception | ||
| ) |
Definition at line 606 of file attribute.c.
References _Image::signature, MagickSignature, _Image::debug, MagickFalse, LogMagickEvent(), TraceEvent, GetMagickModule, _Image::filename, _Image::colorspace, CMYKColorspace, _Image::matte, ColorSeparationType, ColorSeparationMatteType, IsImageMonochrome(), BilevelType, IsImageGray(), GrayscaleMatteType, GrayscaleType, IsPaletteImage(), PaletteMatteType, PaletteType, TrueColorMatteType, and TrueColorType.
Referenced by IdentifyImage().
| MagickExport MagickBooleanType IsImageGray | ( | const Image * | image, |
| ExceptionInfo * | exception | ||
| ) |
Definition at line 663 of file attribute.c.
References _Image::signature, MagickSignature, _Image::debug, MagickFalse, LogMagickEvent(), TraceEvent, GetMagickModule, _Image::filename, _Image::type, BilevelType, GrayscaleType, GrayscaleMatteType, MagickTrue, IsRGBColorspace(), _Image::colorspace, AcquireCacheView(), _Image::rows, GetCacheViewVirtualPixels(), _Image::columns, IsPixelGray(), UndefinedType, IsPixelMonochrome(), GetPixelChannels(), DestroyCacheView(), and _Image::matte.
Referenced by GetImageType(), ForwardFourierTransformImage(), InverseFourierTransformImage(), IdentifyImage(), SetImageType(), ProfileImage(), GetMagickProperty(), InterpretImageProperties(), QuantizeImage(), and GetQuantumType().
| MagickExport MagickBooleanType IsImageMonochrome | ( | const Image * | image, |
| ExceptionInfo * | exception | ||
| ) |
Definition at line 748 of file attribute.c.
References _Image::signature, MagickSignature, _Image::debug, MagickFalse, LogMagickEvent(), TraceEvent, GetMagickModule, _Image::filename, _Image::type, BilevelType, MagickTrue, IsRGBColorspace(), _Image::colorspace, AcquireCacheView(), _Image::rows, GetCacheViewVirtualPixels(), _Image::columns, IsPixelMonochrome(), UndefinedType, GetPixelChannels(), and DestroyCacheView().
Referenced by GetImageType(), SetImageType(), and SetGrayscaleImage().
| MagickExport MagickBooleanType IsImageOpaque | ( | const Image * | image, |
| ExceptionInfo * | exception | ||
| ) |
Definition at line 826 of file attribute.c.
References _Image::signature, MagickSignature, _Image::debug, MagickFalse, LogMagickEvent(), TraceEvent, GetMagickModule, _Image::filename, _Image::matte, MagickTrue, AcquireCacheView(), _Image::rows, GetCacheViewVirtualPixels(), _Image::columns, GetPixelAlpha(), OpaqueAlpha, GetPixelChannels(), and DestroyCacheView().
Referenced by GetMagickProperty().
| static double MagickMin | ( | const double | x, |
| const double | y | ||
| ) | [inline, static] |
Definition at line 544 of file attribute.c.
Referenced by GetImageQuantumDepth().
| MagickExport MagickBooleanType SetImageDepth | ( | Image * | image, |
| const size_t | depth, | ||
| ExceptionInfo * | exception | ||
| ) |
Definition at line 898 of file attribute.c.
References _Image::debug, MagickFalse, LogMagickEvent(), TraceEvent, GetMagickModule, _Image::signature, MagickSignature, MAGICKCORE_QUANTUM_DEPTH, _Image::depth, MagickTrue, GetQuantumRange(), _Image::storage_class, PseudoClass, _Image::colors, GetPixelRedTraits(), UpdatePixelTrait, _Image::colormap, _PixelInfo::red, ScaleAnyToQuantum(), ScaleQuantumToAny(), ClampToQuantum(), GetPixelGreenTraits(), _PixelInfo::green, GetPixelBlueTraits(), _PixelInfo::blue, GetPixelAlphaTraits(), _PixelInfo::alpha, SyncImage(), AcquireCacheView(), QuantumRange, MaxMap, AcquireQuantumMemory(), ThrowFatalException, ResourceLimitFatalError, _Image::rows, GetCacheViewAuthenticPixels(), _Image::columns, GetPixelMask(), GetPixelChannels(), GetPixelChannelMapChannel(), GetPixelChannelMapTraits(), UndefinedPixelTrait, IndexPixelChannel, MaskPixelChannel, SyncCacheViewAuthenticPixels(), DestroyCacheView(), and RelinquishMagickMemory().