MagickCore  6.9.11
attribute.c File Reference
#include "magick/studio.h"
#include "magick/artifact.h"
#include "magick/attribute.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/client.h"
#include "magick/channel.h"
#include "magick/color.h"
#include "magick/color-private.h"
#include "magick/colormap.h"
#include "magick/colormap-private.h"
#include "magick/colorspace.h"
#include "magick/colorspace-private.h"
#include "magick/composite.h"
#include "magick/composite-private.h"
#include "magick/constitute.h"
#include "magick/deprecate.h"
#include "magick/draw.h"
#include "magick/draw-private.h"
#include "magick/effect.h"
#include "magick/enhance.h"
#include "magick/exception.h"
#include "magick/exception-private.h"
#include "magick/geometry.h"
#include "magick/histogram.h"
#include "magick/identify.h"
#include "magick/image.h"
#include "magick/image-private.h"
#include "magick/list.h"
#include "magick/log.h"
#include "magick/memory_.h"
#include "magick/magick.h"
#include "magick/monitor.h"
#include "magick/monitor-private.h"
#include "magick/option.h"
#include "magick/paint.h"
#include "magick/pixel.h"
#include "magick/pixel-private.h"
#include "magick/property.h"
#include "magick/quantize.h"
#include "magick/random_.h"
#include "magick/resource_.h"
#include "magick/semaphore.h"
#include "magick/segment.h"
#include "magick/splay-tree.h"
#include "magick/string_.h"
#include "magick/string-private.h"
#include "magick/thread-private.h"
#include "magick/threshold.h"
#include "magick/transform.h"
#include "magick/utility.h"
Include dependency graph for attribute.c:

Go to the source code of this file.

Data Structures

struct  _EdgeInfo
 

Typedefs

typedef struct _EdgeInfo EdgeInfo
 

Functions

static double GetEdgeBackgroundFactor (const Image *image, const CacheView *image_view, const GravityType gravity, const size_t width, const size_t height, const ssize_t x_offset, const ssize_t y_offset, ExceptionInfo *exception)
 
static double GetMinEdgeBackgroundFactor (const EdgeInfo *edge)
 
static RectangleInfo GetEdgeBoundingBox (const Image *image, ExceptionInfo *exception)
 
MagickExport RectangleInfo GetImageBoundingBox (const Image *image, ExceptionInfo *exception)
 
MagickExport size_t GetImageDepth (const Image *image, ExceptionInfo *exception)
 
MagickExport size_t GetImageChannelDepth (const Image *image, const ChannelType channel, ExceptionInfo *exception)
 
MagickExport size_t GetImageQuantumDepth (const Image *image, const MagickBooleanType constrain)
 
MagickExport ImageType GetImageType (const Image *image, ExceptionInfo *exception)
 
MagickExport ImageType IdentifyImageGray (const Image *image, ExceptionInfo *exception)
 
MagickExport MagickBooleanType IdentifyImageMonochrome (const Image *image, ExceptionInfo *exception)
 
MagickExport ImageType IdentifyImageType (const Image *image, ExceptionInfo *exception)
 
MagickExport MagickBooleanType IsGrayImage (const Image *image, ExceptionInfo *exception)
 
MagickExport MagickBooleanType IsMonochromeImage (const Image *image, ExceptionInfo *exception)
 
MagickExport MagickBooleanType IsOpaqueImage (const Image *image, ExceptionInfo *exception)
 
MagickExport MagickBooleanType SetImageDepth (Image *image, const size_t depth)
 
MagickExport MagickBooleanType SetImageChannelDepth (Image *image, const ChannelType channel, const size_t depth)
 
MagickExport MagickBooleanType SetImageType (Image *image, const ImageType type)
 

Typedef Documentation

◆ EdgeInfo

typedef struct _EdgeInfo EdgeInfo

Function Documentation

◆ GetEdgeBackgroundFactor()

◆ GetEdgeBoundingBox()

◆ GetImageBoundingBox()

◆ GetImageChannelDepth()

◆ GetImageDepth()

MagickExport size_t GetImageDepth ( const Image image,
ExceptionInfo exception 
)

Definition at line 557 of file attribute.c.

References CompositeChannels, and GetImageChannelDepth().

Referenced by GetMagickProperty(), and IdentifyImage().

◆ GetImageQuantumDepth()

MagickExport size_t GetImageQuantumDepth ( const Image image,
const MagickBooleanType  constrain 
)

Definition at line 849 of file attribute.c.

References _Image::depth, MAGICKCORE_QUANTUM_DEPTH, MagickFalse, and MagickMin.

◆ GetImageType()

◆ GetMinEdgeBackgroundFactor()

static double GetMinEdgeBackgroundFactor ( const EdgeInfo edge)
inlinestatic

Definition at line 241 of file attribute.c.

References _EdgeInfo::bottom, _EdgeInfo::left, MagickMin, _EdgeInfo::right, and _EdgeInfo::top.

Referenced by GetEdgeBoundingBox().

◆ IdentifyImageGray()

◆ IdentifyImageMonochrome()

◆ IdentifyImageType()

◆ IsGrayImage()

◆ IsMonochromeImage()

MagickExport MagickBooleanType IsMonochromeImage ( const Image image,
ExceptionInfo exception 
)

◆ IsOpaqueImage()

◆ SetImageChannelDepth()

◆ SetImageDepth()

MagickExport MagickBooleanType SetImageDepth ( Image image,
const size_t  depth 
)

Definition at line 1327 of file attribute.c.

References CompositeChannels, and SetImageChannelDepth().

◆ SetImageType()