MagickCore 6.9.12
|
#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"
Go to the source code of this file.
Macros | |
#define | CombineImageTag "Combine/Image" |
#define | SeparateImageTag "Separate/Image" |
Functions | |
MagickExport Image * | CombineImages (const Image *image, const ChannelType channel, ExceptionInfo *exception) |
MagickExport MagickBooleanType | GetImageAlphaChannel (const Image *image) |
MagickExport Image * | SeparateImage (const Image *image, const ChannelType channel, ExceptionInfo *exception) |
MagickExport MagickBooleanType | SeparateImageChannel (Image *image, const ChannelType channel) |
MagickExport Image * | SeparateImages (const Image *image, const ChannelType channel, ExceptionInfo *exception) |
MagickExport MagickBooleanType | SetImageAlphaChannel (Image *image, const AlphaChannelType alpha_type) |
#define CombineImageTag "Combine/Image" |
#define SeparateImageTag "Separate/Image" |
MagickExport Image * CombineImages | ( | const Image * | image, |
const ChannelType | channel, | ||
ExceptionInfo * | exception | ||
) |
Definition at line 93 of file channel.c.
References AcquireAuthenticCacheView(), AcquireVirtualCacheView(), BlueChannel, ClampToQuantum(), CloneImage(), CMYKColorspace, _Image::colorspace, _Image::columns, CombineImageTag, DestroyCacheView(), DestroyImage(), DirectClass, _Image::exception, _Image::filename, _Image::gamma, GetCacheViewAuthenticIndexQueue(), GetCacheViewAuthenticPixels(), GetCacheViewVirtualPixels(), GetMagickModule, GetNextImageInList(), GetPixelIntensity(), GreenChannel, IndexChannel, InheritException(), IsEventLogging(), IsGrayColorspace(), IssRGBCompatibleColorspace(), LogMagickEvent(), magick_restrict, MagickCoreSignature, MagickEpsilon, MagickFalse, MagickTrue, _Image::matte, OpacityChannel, OptionError, _Image::progress_monitor, RedChannel, RGBColorspace, _Image::rows, SetImageBackgroundColor(), SetImageColorspace(), SetImageProgress(), SetImageStorageClass(), SetPixelAlpha, SetPixelBlue, SetPixelGreen, SetPixelIndex, SetPixelRed, _ExceptionInfo::signature, _Image::signature, sRGBColorspace, SyncCacheViewAuthenticPixels(), ThrowImageException, TraceEvent, and TransformImageColorspace().
MagickExport MagickBooleanType GetImageAlphaChannel | ( | const Image * | image | ) |
Definition at line 317 of file channel.c.
References GetMagickModule, IsEventLogging(), LogMagickEvent(), MagickCoreSignature, MagickFalse, _Image::matte, _Image::signature, and TraceEvent.
MagickExport Image * SeparateImage | ( | const Image * | image, |
const ChannelType | channel, | ||
ExceptionInfo * | exception | ||
) |
Definition at line 356 of file channel.c.
References CloneImage(), DestroyImage(), _Image::filename, GetMagickModule, IsEventLogging(), LogMagickEvent(), MagickCoreSignature, MagickFalse, MagickTrue, SeparateImageChannel(), _ExceptionInfo::signature, _Image::signature, and TraceEvent.
MagickExport MagickBooleanType SeparateImageChannel | ( | Image * | image, |
const ChannelType | channel | ||
) |
Definition at line 383 of file channel.c.
References AcquireAuthenticCacheView(), BlackChannel, BlueChannel, ClampToQuantum(), CMYKColorspace, _Image::colorspace, _Image::columns, DestroyCacheView(), DirectClass, _Image::exception, _Image::filename, GetCacheViewAuthenticIndexQueue(), GetCacheViewAuthenticPixels(), GetMagickModule, GetPixelAlpha, GetPixelBlue, GetPixelGreen, GetPixelIndex, GetPixelIntensity(), GetPixelOpacity, GetPixelRed, GrayChannels, GRAYColorspace, GreenChannel, IsEventLogging(), LogMagickEvent(), magick_restrict, MagickCoreSignature, MagickFalse, MagickTrue, _Image::matte, OpacityChannel, OpaqueAlphaChannel, _Image::progress_monitor, PseudoClass, RedChannel, _Image::rows, SeparateImageTag, SetImageAlphaChannel(), SetImageColorspace(), SetImageProgress(), SetImageStorageClass(), SetPixelAlpha, SetPixelBlue, SetPixelGreen, SetPixelRed, _Image::signature, _Image::storage_class, SyncCacheViewAuthenticPixels(), TraceEvent, and TrueAlphaChannel.
Referenced by ChannelImage(), DistortResizeImage(), DrawClippingMask(), DrawCompositeMask(), SeparateImage(), SeparateImages(), and SetImageAlphaChannel().
MagickExport Image * SeparateImages | ( | const Image * | image, |
const ChannelType | channel, | ||
ExceptionInfo * | exception | ||
) |
Definition at line 577 of file channel.c.
References AlphaChannel, AppendImageToList(), BlackChannel, BlueChannel, CloneImage(), CMYKColorspace, _Image::colorspace, _Image::filename, GetMagickModule, GreenChannel, IsEventLogging(), LogMagickEvent(), MagickCoreSignature, MagickFalse, MagickTrue, NewImageList(), RedChannel, SeparateImageChannel(), _Image::signature, TraceEvent, and TrueAlphaChannel.
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, DestroyCacheView(), DirectClass, DisassociateAlphaChannel, _Image::exception, ExtractAlphaChannel, FlattenAlphaChannel, GetCacheViewAuthenticIndexQueue(), GetCacheViewAuthenticPixels(), GetMagickModule, GetMagickPixelPacket(), GetPixelAlpha, GetPixelBlue, GetPixelGreen, GetPixelRed, GrayChannels, _PixelPacket::green, IsEventLogging(), 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(), TransparentImage(), TransparentPaintImage(), and TransparentPaintImageChroma().