MagickCore 7.1.1
Convert, Edit, Or Compose Bitmap Images
Loading...
Searching...
No Matches
channel.h
1/*
2 Copyright @ 1999 ImageMagick Studio LLC, a non-profit organization
3 dedicated to making software imaging solutions freely available.
4
5 You may not use this file except in compliance with the License. You may
6 obtain a copy of the License at
7
8 https://imagemagick.org/script/license.php
9
10 Unless required by applicable law or agreed to in writing, software
11 distributed under the License is distributed on an "AS IS" BASIS,
12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 See the License for the specific language governing permissions and
14 limitations under the License.
15
16 MagickCore image channel methods.
17*/
18#ifndef MAGICKCORE_CHANNEL_H
19#define MAGICKCORE_CHANNEL_H
20
21#include <MagickCore/image.h>
22
23#if defined(__cplusplus) || defined(c_plusplus)
24extern "C" {
25#endif
26
27typedef enum
28{
29 UndefinedAlphaChannel,
30 ActivateAlphaChannel,
31 AssociateAlphaChannel,
32 BackgroundAlphaChannel,
33 CopyAlphaChannel,
34 DeactivateAlphaChannel,
35 DiscreteAlphaChannel,
36 DisassociateAlphaChannel,
37 ExtractAlphaChannel,
38 OffAlphaChannel,
39 OnAlphaChannel,
40 OpaqueAlphaChannel,
41 RemoveAlphaChannel,
42 SetAlphaChannel,
43 ShapeAlphaChannel,
44 TransparentAlphaChannel,
45 OffIfOpaqueAlphaChannel
46} AlphaChannelOption;
47
48extern MagickExport Image
49 *ChannelFxImage(const Image *,const char *,ExceptionInfo *),
50 *CombineImages(const Image *,const ColorspaceType,ExceptionInfo *),
51 *SeparateImage(const Image *,const ChannelType,ExceptionInfo *),
52 *SeparateImages(const Image *,ExceptionInfo *);
53
54extern MagickExport MagickBooleanType
55 GetImageAlphaChannel(const Image *),
56 SetImageAlphaChannel(Image *,const AlphaChannelOption,ExceptionInfo *);
57
58#if defined(__cplusplus) || defined(c_plusplus)
59}
60#endif
61
62#endif