# layer.h

Go to the documentation of this file.

    00001 /*
    00002   Copyright 1999-2009 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.
    00006   obtain a copy of the License at
    00007
    00008     http://www.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 #if defined(__cplusplus) || defined(c_plusplus)
    00022 extern "C" {
    00023 #endif
    00024
    00025 typedef enum
    00026 {
    00027   UnrecognizedDispose,
    00028   UndefinedDispose = 0,
    00029   NoneDispose = 1,
    00030   BackgroundDispose = 2,
    00031   PreviousDispose = 3
    00032 } DisposeType;
    00033
    00034 typedef enum
    00035 {
    00036   UndefinedLayer,
    00037   CoalesceLayer,
    00038   CompareAnyLayer,
    00039   CompareClearLayer,
    00040   CompareOverlayLayer,
    00041   DisposeLayer,
    00042   OptimizeLayer,
    00043   OptimizeImageLayer,
    00044   OptimizePlusLayer,
    00045   OptimizeTransLayer,
    00046   RemoveDupsLayer,
    00047   RemoveZeroLayer,
    00048   CompositeLayer,
    00049   MergeLayer,
    00050   FlattenLayer,
    00051   MosaicLayer
    00052 } ImageLayerMethod;
    00053
    00054 extern MagickExport Image
    00055   *CoalesceImages(const Image *,ExceptionInfo *),
    00056   *DisposeImages(const Image *,ExceptionInfo *),
    00057   *CompareImageLayers(const Image *,const ImageLayerMethod,ExceptionInfo *),
    00058   *DeconstructImages(const Image *,ExceptionInfo *),
    00059   *MergeImageLayers(const Image *,const ImageLayerMethod,ExceptionInfo *),
    00060   *OptimizeImageLayers(const Image *,ExceptionInfo *),
    00061   *OptimizePlusImageLayers(const Image *,ExceptionInfo *);
    00062
    00063 extern MagickExport void
    00064   CompositeLayers(Image *,const CompositeOperator,Image *,const long,const long,
    00065     ExceptionInfo *),
    00066   OptimizeImageTransparency(const Image *,ExceptionInfo *),
    00067   RemoveDuplicateLayers(Image **,ExceptionInfo *),
    00068   RemoveZeroDelayLayers(Image **,ExceptionInfo *);
    00069
    00070 #if defined(__cplusplus) || defined(c_plusplus)
    00071 }
    00072 #endif
    00073
    00074 #endif