layer.h

Go to the documentation of this file.
00001 /*
00002   Copyright 1999-2020 ImageMagick Studio LLC, a non-profit organization
00003   dedicated to making software imaging solutions freely available.
00004   
00005   You may not use this file except in compliance with the License.  You may
00006   obtain a copy of the License at
00007   
00008     https://imagemagick.org/script/license.php
00009   
00010   Unless required by applicable law or agreed to in writing, software
00011   distributed under the License is distributed on an "AS IS" BASIS,
00012   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
00013   See the License for the specific language governing permissions and
00014   limitations under the License.
00015 
00016   MagickCore image layer methods.
00017 */
00018 #ifndef MAGICKCORE_LAYER_H
00019 #define MAGICKCORE_LAYER_H
00020 
00021 #include "MagickCore/composite.h"
00022 
00023 #if defined(__cplusplus) || defined(c_plusplus)
00024 extern "C" {
00025 #endif
00026 
00027 typedef enum
00028 {
00029   UnrecognizedDispose,
00030   UndefinedDispose = 0,
00031   NoneDispose = 1,
00032   BackgroundDispose = 2,
00033   PreviousDispose = 3
00034 } DisposeType;
00035 
00036 typedef enum
00037 {
00038   UndefinedLayer,
00039   CoalesceLayer,
00040   CompareAnyLayer,
00041   CompareClearLayer,
00042   CompareOverlayLayer,
00043   DisposeLayer,
00044   OptimizeLayer,
00045   OptimizeImageLayer,
00046   OptimizePlusLayer,
00047   OptimizeTransLayer,
00048   RemoveDupsLayer,
00049   RemoveZeroLayer,
00050   CompositeLayer,
00051   MergeLayer,
00052   FlattenLayer,
00053   MosaicLayer,
00054   TrimBoundsLayer
00055 } LayerMethod;
00056 
00057 extern MagickExport Image
00058   *CoalesceImages(const Image *,ExceptionInfo *),
00059   *DisposeImages(const Image *,ExceptionInfo *),
00060   *CompareImagesLayers(const Image *,const LayerMethod,ExceptionInfo *),
00061   *MergeImageLayers(Image *,const LayerMethod,ExceptionInfo *),
00062   *OptimizeImageLayers(const Image *,ExceptionInfo *),
00063   *OptimizePlusImageLayers(const Image *,ExceptionInfo *);
00064 
00065 extern MagickExport void
00066   CompositeLayers(Image *,const CompositeOperator,Image *,const ssize_t,
00067     const ssize_t,ExceptionInfo *),
00068   OptimizeImageTransparency(const Image *,ExceptionInfo *),
00069   RemoveDuplicateLayers(Image **,ExceptionInfo *),
00070   RemoveZeroDelayLayers(Image **,ExceptionInfo *);
00071 
00072 #if defined(__cplusplus) || defined(c_plusplus)
00073 }
00074 #endif
00075 
00076 #endif

Generated on 3 Aug 2020 for MagickCore by  doxygen 1.6.1