MagickCore  6.9.11
channel.c File Reference
#include "magick/studio.h"
#include "magick/cache-private.h"
#include "magick/channel.h"
#include "magick/color-private.h"
#include "magick/colorspace-private.h"
#include "magick/composite-private.h"
#include "magick/exception-private.h"
#include "magick/enhance.h"
#include "magick/image.h"
#include "magick/list.h"
#include "magick/log.h"
#include "magick/monitor.h"
#include "magick/monitor-private.h"
#include "magick/option.h"
#include "magick/pixel-accessor.h"
#include "magick/resource_.h"
#include "magick/string-private.h"
#include "magick/thread-private.h"
#include "magick/token.h"
#include "magick/utility.h"
#include "magick/version.h"
Include dependency graph for channel.c:

Go to the source code of this file.

Macros

#define CombineImageTag   "Combine/Image"
 
#define SeparateImageTag   "Separate/Image"
 

Functions

MagickExport ImageCombineImages (const Image *image, const ChannelType channel, ExceptionInfo *exception)
 
MagickExport MagickBooleanType GetImageAlphaChannel (const Image *image)
 
MagickExport ImageSeparateImage (const Image *image, const ChannelType channel, ExceptionInfo *exception)
 
MagickExport MagickBooleanType SeparateImageChannel (Image *image, const ChannelType channel)
 
MagickExport ImageSeparateImages (const Image *image, const ChannelType channel, ExceptionInfo *exception)
 
MagickExport MagickBooleanType SetImageAlphaChannel (Image *image, const AlphaChannelType alpha_type)
 

Macro Definition Documentation

◆ CombineImageTag

#define CombineImageTag   "Combine/Image"

Referenced by CombineImages().

◆ SeparateImageTag

#define SeparateImageTag   "Separate/Image"

Referenced by SeparateImageChannel().

Function Documentation

◆ CombineImages()

◆ GetImageAlphaChannel()

◆ SeparateImage()

◆ SeparateImageChannel()

◆ SeparateImages()

◆ SetImageAlphaChannel()

MagickExport MagickBooleanType SetImageAlphaChannel ( Image image,
const AlphaChannelType  alpha_type 
)

Definition at line 652 of file channel.c.

References AcquireAuthenticCacheView(), ActivateAlphaChannel, AssociateAlphaChannel, _Image::background_color, BackgroundAlphaChannel, _PixelPacket::blue, ClampToQuantum(), CMYKColorspace, _Image::colorspace, _Image::columns, ConvertRGBToCMYK(), CopyAlphaChannel, DeactivateAlphaChannel, _Image::debug, DestroyCacheView(), DirectClass, DisassociateAlphaChannel, _Image::exception, ExtractAlphaChannel, FlattenAlphaChannel, GetCacheViewAuthenticIndexQueue(), GetCacheViewAuthenticPixels(), GetMagickModule, GetMagickPixelPacket(), GetPixelAlpha, GetPixelBlue, GetPixelGreen, GetPixelRed, GrayChannels, _PixelPacket::green, LevelColorsImage(), LogMagickEvent(), magick_restrict, MagickCoreSignature, MagickFalse, MagickOver_(), MagickTrue, _Image::matte, _PixelPacket::opacity, OpaqueAlphaChannel, OpaqueOpacity, PerceptibleReciprocal(), QuantumRange, QuantumScale, _PixelPacket::red, RemoveAlphaChannel, ResetAlphaChannel, _Image::rows, SeparateImageChannel(), SetAlphaChannel, SetImageOpacity(), SetImageStorageClass(), SetMagickPixelPacket(), SetPixelBlue, SetPixelGreen, SetPixelIndex, SetPixelPacket(), SetPixelRed, ShapeAlphaChannel, _Image::signature, SyncCacheViewAuthenticPixels(), SyncImagePixelCache(), TraceEvent, TransparentAlphaChannel, TransparentOpacity, TrueAlphaChannel, and UndefinedAlphaChannel.

Referenced by CannyEdgeImage(), ClearBounds(), ClutImageChannel(), ColorFloodfillImage(), ColorizeImage(), CompareImageChannels(), CompositeImageChannel(), DistortResizeImage(), DrawPrimitive(), FloodfillPaintImage(), FrameImage(), HaldClutImageChannel(), MatteFloodfillImage(), MorphologyApply(), PolaroidImage(), RenderMVGContent(), RenderPostscript(), SeparateImageChannel(), SetImageBackgroundColor(), SetImageType(), ShadowImage(), ShearImage(), ShearRotateImage(), SimilarityMetricImage(), ThumbnailImage(), TransparentImage(), TransparentPaintImage(), and TransparentPaintImageChroma().