option.h

Go to the documentation of this file.
00001 /*
00002   Copyright 1999-2010 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   MagickCoderOptions,
00035   MagickColorOptions,
00036   MagickColorspaceOptions,
00037   MagickCommandOptions,
00038   MagickComposeOptions,
00039   MagickCompressOptions,
00040   MagickConfigureOptions,
00041   MagickDataTypeOptions,
00042   MagickDebugOptions,
00043   MagickDecorateOptions,
00044   MagickDelegateOptions,
00045   MagickDisposeOptions,
00046   MagickDistortOptions,
00047   MagickDitherOptions,
00048   MagickEndianOptions,
00049   MagickEvaluateOptions,
00050   MagickFillRuleOptions,
00051   MagickFilterOptions,
00052   MagickFontOptions,
00053   MagickFontsOptions,
00054   MagickFormatOptions,
00055   MagickFunctionOptions,
00056   MagickGravityOptions,
00057   MagickImageListOptions,
00058   MagickIntentOptions,
00059   MagickInterlaceOptions,
00060   MagickInterpolateOptions,
00061   MagickLayerOptions,
00062   MagickLineCapOptions,
00063   MagickLineJoinOptions,
00064   MagickListOptions,
00065   MagickLocaleOptions,
00066   MagickLogEventOptions,
00067   MagickLogOptions,
00068   MagickMagicOptions,
00069   MagickMethodOptions,
00070   MagickMetricOptions,
00071   MagickMimeOptions,
00072   MagickModeOptions,
00073   MagickModuleOptions,
00074   MagickNoiseOptions,
00075   MagickOrientationOptions,
00076   MagickPolicyOptions,
00077   MagickPolicyDomainOptions,
00078   MagickPolicyRightsOptions,
00079   MagickPreviewOptions,
00080   MagickPrimitiveOptions,
00081   MagickQuantumFormatOptions,
00082   MagickResolutionOptions,
00083   MagickResourceOptions,
00084   MagickSparseColorOptions,
00085   MagickStorageOptions,
00086   MagickStretchOptions,
00087   MagickStyleOptions,
00088   MagickThresholdOptions,
00089   MagickTypeOptions,
00090   MagickValidateOptions,
00091   MagickVirtualPixelOptions
00092 } MagickOption;
00093 
00094 typedef enum
00095 {
00096   UndefinedValidate,
00097   NoValidate = 0x00000,
00098   CompareValidate = 0x00001,
00099   CompositeValidate = 0x00002,
00100   ConvertValidate = 0x00004,
00101   FormatsInMemoryValidate = 0x00008,
00102   FormatsOnDiskValidate = 0x00010,
00103   IdentifyValidate = 0x00020,
00104   ImportExportValidate = 0x00040,
00105   MontageValidate = 0x00080,
00106   StreamValidate = 0x00100,
00107   AllValidate = 0x7fffffff
00108 } ValidateType;
00109 
00110 typedef struct _OptionInfo
00111 {
00112   const char
00113     *mnemonic;
00114 
00115   long
00116     type;
00117 
00118   MagickBooleanType
00119     stealth;
00120 } OptionInfo;
00121 
00122 extern MagickExport char
00123   **GetMagickOptions(const MagickOption),
00124   *GetNextImageOption(const ImageInfo *),
00125   *RemoveImageOption(ImageInfo *,const char *);
00126 
00127 extern MagickExport const char
00128   *GetImageOption(const ImageInfo *,const char *),
00129   *MagickOptionToMnemonic(const MagickOption,const long);
00130 
00131 extern MagickExport long
00132   ParseChannelOption(const char *),
00133   ParseMagickOption(const MagickOption,const MagickBooleanType,const char *);
00134 
00135 extern MagickExport MagickBooleanType
00136   CloneImageOptions(ImageInfo *,const ImageInfo *),
00137   DefineImageOption(ImageInfo *,const char *),
00138   DeleteImageOption(ImageInfo *,const char *),
00139   IsMagickOption(const char *),
00140   ListMagickOptions(FILE *,const MagickOption,ExceptionInfo *),
00141   SetImageOption(ImageInfo *,const char *,const char *);
00142 
00143 extern MagickExport void
00144   DestroyImageOptions(ImageInfo *),
00145   ResetImageOptionIterator(const ImageInfo *);
00146 
00147 #if defined(__cplusplus) || defined(c_plusplus)
00148 }
00149 #endif
00150 
00151 #endif

Generated on Thu Jul 2 12:03:20 2009 for MagickCore by  doxygen 1.5.8