# option.h

Go to the documentation of this file.

    00001 /*
    00002   Copyright 1999-2008 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 option methods.
    00017 */
    00018 #ifndef _MAGICKCORE_OPTION_H
    00019 #define _MAGICKCORE_OPTION_H
    00020
    00021 #if defined(__cplusplus) || defined(c_plusplus)
    00022 extern "C" {
    00023 #endif
    00024
    00025 typedef enum
    00026 {
    00027   MagickUndefinedOptions = -1,
    00028   MagickAlignOptions = 0,
    00029   MagickAlphaOptions,
    00030   MagickBooleanOptions,
    00031   MagickChannelOptions,
    00032   MagickClassOptions,
    00033   MagickClipPathOptions,
    00034   MagickColorspaceOptions,
    00035   MagickCommandOptions,
    00036   MagickComposeOptions,
    00037   MagickCompressOptions,
    00038   MagickDataTypeOptions,
    00039   MagickDebugOptions,
    00040   MagickDecorateOptions,
    00041   MagickDisposeOptions,
    00042   MagickDistortOptions,
    00043   MagickEndianOptions,
    00044   MagickEvaluateOptions,
    00045   MagickFillRuleOptions,
    00046   MagickFilterOptions,
    00047   MagickFontsOptions,
    00048   MagickGravityOptions,
    00049   MagickIntentOptions,
    00050   MagickInterlaceOptions,
    00051   MagickInterpolateOptions,
    00052   MagickLayerOptions,
    00053   MagickLineCapOptions,
    00054   MagickLineJoinOptions,
    00055   MagickListOptions,
    00056   MagickLogEventOptions,
    00057   MagickMetricOptions,
    00058   MagickMethodOptions,
    00059   MagickModeOptions,
    00060   MagickMogrifyOptions,
    00061   MagickNoiseOptions,
    00062   MagickOrientationOptions,
    00063   MagickPreviewOptions,
    00064   MagickPrimitiveOptions,
    00065   MagickQuantumFormatOptions,
    00066   MagickResolutionOptions,
    00067   MagickResourceOptions,
    00068   MagickStorageOptions,
    00069   MagickStretchOptions,
    00070   MagickStyleOptions,
    00071   MagickTypeOptions,
    00072   MagickVirtualPixelOptions,
    00073
    00074   MagickCoderOptions,
    00075   MagickColorOptions,
    00076   MagickConfigureOptions,
    00077   MagickDelegateOptions,
    00078   MagickFontOptions,
    00079   MagickFormatOptions,
    00080   MagickMimeOptions,
    00081   MagickLocaleOptions,
    00082   MagickLogOptions,
    00083   MagickMagicOptions,
    00084   MagickModuleOptions,
    00085
    00086   MagickThresholdOptions
    00087 } MagickOption;
    00088
    00089 typedef struct _OptionInfo
    00090 {
    00091   const char
    00092     *mnemonic;
    00093
    00094   long
    00095     type;
    00096 } OptionInfo;
    00097
    00098 extern MagickExport char
    00099   **GetMagickOptions(const MagickOption),
    00100   *GetNextImageOption(const ImageInfo *),
    00101   *RemoveImageOption(ImageInfo *,const char *);
    00102
    00103 extern MagickExport const char
    00104   *GetImageOption(const ImageInfo *,const char *),
    00105   *MagickOptionToMnemonic(const MagickOption,const long);
    00106
    00107 extern MagickExport long
    00108   ParseChannelOption(const char *),
    00109   ParseMagickOption(const MagickOption,const MagickBooleanType,const char *);
    00110
    00111 extern MagickExport MagickBooleanType
    00112   CloneImageOptions(ImageInfo *,const ImageInfo *),
    00113   DefineImageOption(ImageInfo *,const char *),
    00114   DeleteImageOption(ImageInfo *,const char *),
    00115   IsMagickOption(const char *),
    00116   ListMagickOptions(FILE *,const MagickOption,ExceptionInfo *),
    00117   SetImageOption(ImageInfo *,const char *,const char *),
    00118   SyncImageOptions(const ImageInfo *,Image *);
    00119
    00120 extern MagickExport void
    00121   DestroyImageOptions(ImageInfo *),
    00122   ResetImageOptionIterator(const ImageInfo *);
    00123
    00124 #if defined(__cplusplus) || defined(c_plusplus)
    00125 }
    00126 #endif
    00127
    00128 #endif