cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 1 | /* |
cristy | 16af1cb | 2009-12-11 21:38:29 +0000 | [diff] [blame] | 2 | Copyright 1999-2010 ImageMagick Studio LLC, a non-profit organization |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 3 | dedicated to making software imaging solutions freely available. |
| 4 | |
| 5 | You may not use this file except in compliance with the License. |
| 6 | obtain a copy of the License at |
| 7 | |
| 8 | http://www.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 layer methods. |
| 17 | */ |
| 18 | #ifndef _MAGICKCORE_LAYER_H |
| 19 | #define _MAGICKCORE_LAYER_H |
| 20 | |
| 21 | #if defined(__cplusplus) || defined(c_plusplus) |
| 22 | extern "C" { |
| 23 | #endif |
| 24 | |
| 25 | typedef enum |
| 26 | { |
| 27 | UnrecognizedDispose, |
| 28 | UndefinedDispose = 0, |
| 29 | NoneDispose = 1, |
| 30 | BackgroundDispose = 2, |
| 31 | PreviousDispose = 3 |
| 32 | } DisposeType; |
| 33 | |
| 34 | typedef enum |
| 35 | { |
| 36 | UndefinedLayer, |
| 37 | CoalesceLayer, |
| 38 | CompareAnyLayer, |
| 39 | CompareClearLayer, |
| 40 | CompareOverlayLayer, |
| 41 | DisposeLayer, |
| 42 | OptimizeLayer, |
| 43 | OptimizeImageLayer, |
| 44 | OptimizePlusLayer, |
| 45 | OptimizeTransLayer, |
| 46 | RemoveDupsLayer, |
| 47 | RemoveZeroLayer, |
| 48 | CompositeLayer, |
| 49 | MergeLayer, |
| 50 | FlattenLayer, |
| 51 | MosaicLayer, |
| 52 | TrimBoundsLayer |
| 53 | } ImageLayerMethod; |
| 54 | |
| 55 | extern MagickExport Image |
| 56 | *CoalesceImages(const Image *,ExceptionInfo *), |
| 57 | *DisposeImages(const Image *,ExceptionInfo *), |
| 58 | *CompareImageLayers(const Image *,const ImageLayerMethod,ExceptionInfo *), |
| 59 | *DeconstructImages(const Image *,ExceptionInfo *), |
| 60 | *MergeImageLayers(Image *,const ImageLayerMethod,ExceptionInfo *), |
| 61 | *OptimizeImageLayers(const Image *,ExceptionInfo *), |
| 62 | *OptimizePlusImageLayers(const Image *,ExceptionInfo *); |
| 63 | |
| 64 | extern MagickExport void |
cristy | 5ed838e | 2010-05-31 00:05:35 +0000 | [diff] [blame^] | 65 | CompositeLayers(Image *,const CompositeOperator,Image *,const ssize_t, |
| 66 | const ssize_t,ExceptionInfo *), |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 67 | OptimizeImageTransparency(const Image *,ExceptionInfo *), |
| 68 | RemoveDuplicateLayers(Image **,ExceptionInfo *), |
| 69 | RemoveZeroDelayLayers(Image **,ExceptionInfo *); |
| 70 | |
| 71 | #if defined(__cplusplus) || defined(c_plusplus) |
| 72 | } |
| 73 | #endif |
| 74 | |
| 75 | #endif |