channel.c File Reference

#include "MagickCore/studio.h"
#include "MagickCore/cache-private.h"
#include "MagickCore/channel.h"
#include "MagickCore/colorspace-private.h"
#include "MagickCore/composite-private.h"
#include "MagickCore/enhance.h"
#include "MagickCore/image.h"
#include "MagickCore/list.h"
#include "MagickCore/log.h"
#include "MagickCore/monitor.h"
#include "MagickCore/monitor-private.h"
#include "MagickCore/option.h"
#include "MagickCore/pixel-accessor.h"
#include "MagickCore/pixel-private.h"
#include "MagickCore/resource_.h"
#include "MagickCore/string-private.h"
#include "MagickCore/thread-private.h"
#include "MagickCore/token.h"
#include "MagickCore/utility.h"
#include "MagickCore/version.h"

Defines

#define ChannelFxImageTag   "ChannelFx/Image"
#define CombineImageTag   "Combine/Image"
#define GetChannelBit(mask, bit)   (((size_t) (mask) >> (size_t) (bit)) & 0x01)
#define SeparateImageTag   "Separate/Image"

Enumerations

enum  ChannelFx { ExtractChannelOp, AssignChannelOp, ExchangeChannelOp, TransferChannelOp }

Functions

static MagickBooleanType ChannelImage (Image *destination_image, const PixelChannel destination_channel, const ChannelFx channel_op, const Image *source_image, const PixelChannel source_channel, const Quantum pixel, ExceptionInfo *exception)
MagickExport ImageChannelFxImage (const Image *image, const char *expression, ExceptionInfo *exception)
MagickExport ImageCombineImages (const Image *image, const ColorspaceType colorspace, ExceptionInfo *exception)
MagickExport MagickBooleanType GetImageAlphaChannel (const Image *image)
MagickExport ImageSeparateImage (const Image *image, const ChannelType channel_type, ExceptionInfo *exception)
MagickExport ImageSeparateImages (const Image *image, ExceptionInfo *exception)
static void FlattenPixelInfo (const Image *image, const PixelInfo *p, const double alpha, const Quantum *q, const double beta, Quantum *composite)
MagickExport MagickBooleanType SetImageAlphaChannel (Image *image, const AlphaChannelOption alpha_type, ExceptionInfo *exception)

Define Documentation

#define ChannelFxImageTag   "ChannelFx/Image"

Referenced by ChannelFxImage().

#define CombineImageTag   "Combine/Image"

Referenced by CombineImages().

#define GetChannelBit ( mask,
bit   )     (((size_t) (mask) >> (size_t) (bit)) & 0x01)
#define SeparateImageTag   "Separate/Image"

Referenced by SeparateImage().


Enumeration Type Documentation

enum ChannelFx
Enumerator:
ExtractChannelOp 
AssignChannelOp 
ExchangeChannelOp 
TransferChannelOp 

Function Documentation

MagickExport Image* ChannelFxImage ( const Image image,
const char *  expression,
ExceptionInfo exception 
)
static MagickBooleanType ChannelImage ( Image destination_image,
const PixelChannel  destination_channel,
const ChannelFx  channel_op,
const Image source_image,
const PixelChannel  source_channel,
const Quantum  pixel,
ExceptionInfo exception 
) [static]
MagickExport Image* CombineImages ( const Image image,
const ColorspaceType  colorspace,
ExceptionInfo exception 
)
static void FlattenPixelInfo ( const Image image,
const PixelInfo p,
const double  alpha,
const Quantum q,
const double  beta,
Quantum composite 
) [inline, static]
MagickExport MagickBooleanType GetImageAlphaChannel ( const Image image  ) 
MagickExport Image* SeparateImage ( const Image image,
const ChannelType  channel_type,
ExceptionInfo exception 
)
MagickExport Image* SeparateImages ( const Image image,
ExceptionInfo exception 
)
MagickExport MagickBooleanType SetImageAlphaChannel ( Image image,
const AlphaChannelOption  alpha_type,
ExceptionInfo exception 
)

References AcquireAuthenticCacheView(), ActivateAlphaChannel, _PixelInfo::alpha, _PixelInfo::alpha_trait, _Image::alpha_trait, AlphaCompositeOp, AlphaPixelChannel, AssociateAlphaChannel, _Image::background_color, BackgroundAlphaChannel, BlendPixelTrait, _Image::channel_mask, ClampToQuantum(), _Image::columns, CompositeImage(), ConformPixelInfo(), CopyAlphaChannel, CopyPixelTrait, DeactivateAlphaChannel, _Image::debug, DestroyCacheView(), DirectClass, DisassociateAlphaChannel, DiscreteAlphaChannel, ExtractAlphaChannel, FlattenPixelInfo(), GetCacheViewAuthenticPixels(), GetMagickModule, GetPixelAlpha(), GetPixelChannelChannel(), GetPixelChannels(), GetPixelChannelTraits(), GetPixelIntensity(), IntensityCompositeOp, LogMagickEvent(), magick_restrict, MagickCoreSignature, MagickFalse, MagickTrue, OffAlphaChannel, OnAlphaChannel, OpaqueAlpha, OpaqueAlphaChannel, PerceptibleReciprocal(), QuantumScale, RemoveAlphaChannel, _Image::rows, SetAlphaChannel, SetImageAlpha(), SetImageStorageClass(), SetPixelChannel(), SetPixelChannelMask(), SetPixelViaPixelInfo(), ShapeAlphaChannel, _Image::signature, SyncCacheViewAuthenticPixels(), SyncImagePixelCache(), TraceEvent, TransparentAlpha, TransparentAlphaChannel, UndefinedAlphaChannel, UndefinedPixelTrait, and UpdatePixelTrait.

Referenced by CannyEdgeImage(), ClearBounds(), ClutImage(), CompareImages(), CompositeImage(), DistortResizeImage(), DrawPrimitive(), HaldClutImage(), ImplodeImage(), MorphologyApply(), PolaroidImage(), RenderMVGContent(), RenderPostscript(), SetImageBackgroundColor(), SetImageType(), ShadowImage(), ShearImage(), ShearRotateImage(), SimilarityImage(), SwirlImage(), ThumbnailImage(), TransparentPaintImage(), and TransparentPaintImageChroma().


Generated on 3 Aug 2020 for MagickCore by  doxygen 1.6.1