Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 10:01:21

0001 /*
0002   Copyright @ 2006 ImageMagick Studio LLC, a non-profit organization
0003   dedicated to making software imaging solutions freely available.
0004   
0005   You may not use this file except in compliance with the License.  You may
0006   obtain a copy of the License at
0007   
0008     https://imagemagick.org/script/license.php
0009   
0010   Unless required by applicable law or agreed to in writing, software
0011   distributed under the License is distributed on an "AS IS" BASIS,
0012   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
0013   See the License for the specific language governing permissions and
0014   limitations under the License.
0015 
0016   MagickCore image layer methods.
0017 */
0018 #ifndef MAGICKCORE_LAYER_H
0019 #define MAGICKCORE_LAYER_H
0020 
0021 #include "MagickCore/composite.h"
0022 
0023 #if defined(__cplusplus) || defined(c_plusplus)
0024 extern "C" {
0025 #endif
0026 
0027 typedef enum
0028 {
0029   UnrecognizedDispose,
0030   UndefinedDispose = 0,
0031   NoneDispose = 1,
0032   BackgroundDispose = 2,
0033   PreviousDispose = 3
0034 } DisposeType;
0035 
0036 typedef enum
0037 {
0038   UndefinedLayer,
0039   CoalesceLayer,
0040   CompareAnyLayer,
0041   CompareClearLayer,
0042   CompareOverlayLayer,
0043   DisposeLayer,
0044   OptimizeLayer,
0045   OptimizeImageLayer,
0046   OptimizePlusLayer,
0047   OptimizeTransLayer,
0048   RemoveDupsLayer,
0049   RemoveZeroLayer,
0050   CompositeLayer,
0051   MergeLayer,
0052   FlattenLayer,
0053   MosaicLayer,
0054   TrimBoundsLayer
0055 } LayerMethod;
0056 
0057 extern MagickExport Image
0058   *CoalesceImages(const Image *,ExceptionInfo *),
0059   *DisposeImages(const Image *,ExceptionInfo *),
0060   *CompareImagesLayers(const Image *,const LayerMethod,ExceptionInfo *),
0061   *MergeImageLayers(Image *,const LayerMethod,ExceptionInfo *),
0062   *OptimizeImageLayers(const Image *,ExceptionInfo *),
0063   *OptimizePlusImageLayers(const Image *,ExceptionInfo *);
0064 
0065 extern MagickExport void
0066   CompositeLayers(Image *,const CompositeOperator,Image *,const ssize_t,
0067     const ssize_t,ExceptionInfo *),
0068   OptimizeImageTransparency(const Image *,ExceptionInfo *),
0069   RemoveDuplicateLayers(Image **,ExceptionInfo *),
0070   RemoveZeroDelayLayers(Image **,ExceptionInfo *);
0071 
0072 #if defined(__cplusplus) || defined(c_plusplus)
0073 }
0074 #endif
0075 
0076 #endif