cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 1 | /* |
| 2 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 3 | % % |
| 4 | % % |
| 5 | % % |
| 6 | % SSSSS TTTTT AAA TTTTT IIIII CCCC % |
| 7 | % SS T A A T I C % |
| 8 | % SSS T AAAAA T I C % |
| 9 | % SS T A A T I C % |
| 10 | % SSSSS T A A T IIIII CCCC % |
| 11 | % % |
| 12 | % % |
| 13 | % MagickCore Static Methods % |
| 14 | % % |
| 15 | % Software Design % |
| 16 | % John Cristy % |
| 17 | % March 2000 % |
| 18 | % % |
| 19 | % % |
cristy | 7e41fe8 | 2010-12-04 23:12:08 +0000 | [diff] [blame] | 20 | % Copyright 1999-2011 ImageMagick Studio LLC, a non-profit organization % |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 21 | % dedicated to making software imaging solutions freely available. % |
| 22 | % % |
| 23 | % You may not use this file except in compliance with the License. You may % |
| 24 | % obtain a copy of the License at % |
| 25 | % % |
| 26 | % http://www.imagemagick.org/script/license.php % |
| 27 | % % |
| 28 | % Unless required by applicable law or agreed to in writing, software % |
| 29 | % distributed under the License is distributed on an "AS IS" BASIS, % |
| 30 | % WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. % |
| 31 | % See the License for the specific language governing permissions and % |
| 32 | % limitations under the License. % |
| 33 | % % |
| 34 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 35 | % |
| 36 | % |
| 37 | % |
| 38 | */ |
| 39 | |
| 40 | /* |
| 41 | Include declarations. |
| 42 | */ |
| 43 | #include "magick/studio.h" |
| 44 | #include "magick/exception-private.h" |
| 45 | #include "magick/image.h" |
| 46 | #include "magick/module.h" |
| 47 | #include "magick/policy.h" |
| 48 | #include "magick/static.h" |
| 49 | #include "magick/string_.h" |
| 50 | |
| 51 | /* |
| 52 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 53 | % % |
| 54 | % % |
| 55 | % % |
| 56 | % I n v o k e S t a t i c I m a g e F i l t e r % |
| 57 | % % |
| 58 | % % |
| 59 | % % |
| 60 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 61 | % |
| 62 | % InvokeStaticImageFilter() invokes a static image filter. |
| 63 | % |
| 64 | % The format of the InvokeStaticImageFilter method is: |
| 65 | % |
| 66 | % MagickBooleanType InvokeStaticImageFilter(const char *tag,Image **image, |
| 67 | % const int argc,const char **argv) |
| 68 | % |
| 69 | % A description of each parameter follows: |
| 70 | % |
| 71 | % o tag: the module tag. |
| 72 | % |
| 73 | % o image: the image. |
| 74 | % |
| 75 | % o argc: the number of elements in the argument vector. |
| 76 | % |
| 77 | % o argv: A text array containing the command line arguments. |
| 78 | % |
| 79 | % o argv: A text array containing the command line arguments. |
| 80 | % |
| 81 | % o exception: return any errors or warnings in this structure. |
| 82 | % |
| 83 | */ |
| 84 | #if defined(MAGICKCORE_MODULES_SUPPORT) |
| 85 | MagickExport MagickBooleanType InvokeStaticImageFilter(const char *tag, |
| 86 | Image **image,const int argc,const char **argv,ExceptionInfo *exception) |
| 87 | { |
| 88 | PolicyRights |
| 89 | rights; |
| 90 | |
| 91 | assert(image != (Image **) NULL); |
| 92 | assert((*image)->signature == MagickSignature); |
| 93 | if ((*image)->debug != MagickFalse) |
| 94 | (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",(*image)->filename); |
| 95 | rights=ReadPolicyRights; |
| 96 | if (IsRightsAuthorized(FilterPolicyDomain,rights,tag) == MagickFalse) |
| 97 | { |
cristy | a9197f6 | 2010-01-12 02:23:34 +0000 | [diff] [blame] | 98 | errno=EPERM; |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 99 | (void) ThrowMagickException(exception,GetMagickModule(),PolicyError, |
| 100 | "NotAuthorized","`%s'",tag); |
| 101 | return(MagickFalse); |
| 102 | } |
| 103 | #if defined(MAGICKCORE_BUILD_MODULES) |
| 104 | (void) tag; |
| 105 | (void) argc; |
| 106 | (void) argv; |
| 107 | (void) exception; |
| 108 | #else |
| 109 | { |
cristy | bb50337 | 2010-05-27 20:51:26 +0000 | [diff] [blame] | 110 | extern size_t |
cristy | a0b81c3 | 2010-01-22 02:54:33 +0000 | [diff] [blame] | 111 | analyzeImage(Image **,const int,char **,ExceptionInfo *); |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 112 | |
| 113 | ImageFilterHandler |
| 114 | *image_filter; |
| 115 | |
| 116 | image_filter=(ImageFilterHandler *) NULL; |
| 117 | if (LocaleCompare("analyze",tag) == 0) |
cristy | c4c8d13 | 2010-01-07 01:58:38 +0000 | [diff] [blame] | 118 | image_filter=(ImageFilterHandler *) analyzeImage; |
cristy | a6de29a | 2010-06-30 14:34:26 +0000 | [diff] [blame] | 119 | if (image_filter == (ImageFilterHandler *) NULL) |
| 120 | (void) ThrowMagickException(exception,GetMagickModule(),ModuleError, |
| 121 | "UnableToLoadModule","`%s'",tag); |
| 122 | else |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 123 | { |
cristy | bb50337 | 2010-05-27 20:51:26 +0000 | [diff] [blame] | 124 | size_t |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 125 | signature; |
| 126 | |
| 127 | if ((*image)->debug != MagickFalse) |
| 128 | (void) LogMagickEvent(CoderEvent,GetMagickModule(), |
| 129 | "Invoking \"%s\" static image filter",tag); |
| 130 | signature=image_filter(image,argc,argv,exception); |
| 131 | if ((*image)->debug != MagickFalse) |
| 132 | (void) LogMagickEvent(CoderEvent,GetMagickModule(),"\"%s\" completes", |
| 133 | tag); |
| 134 | if (signature != MagickImageFilterSignature) |
| 135 | { |
| 136 | (void) ThrowMagickException(exception,GetMagickModule(),ModuleError, |
cristy | b65b330 | 2010-05-29 16:58:33 +0000 | [diff] [blame] | 137 | "ImageFilterSignatureMismatch","`%s': %8lx != %8lx",tag, |
| 138 | (unsigned long) signature,(unsigned long) |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 139 | MagickImageFilterSignature); |
| 140 | return(MagickFalse); |
| 141 | } |
| 142 | } |
| 143 | } |
| 144 | #endif |
| 145 | return(MagickTrue); |
| 146 | } |
| 147 | #endif |
| 148 | |
| 149 | /* |
| 150 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 151 | % % |
| 152 | % % |
| 153 | % % |
| 154 | % R e g i s t e r S t a t i c M o d u l e s % |
| 155 | % % |
| 156 | % % |
| 157 | % % |
| 158 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 159 | % |
| 160 | % (void) RegisterStaticModules() statically registers all the available module |
| 161 | % handlers. |
| 162 | % |
| 163 | % The format of the RegisterStaticModules method is: |
| 164 | % |
| 165 | % (void) RegisterStaticModules(void) |
| 166 | % |
| 167 | */ |
| 168 | MagickExport void RegisterStaticModules(void) |
| 169 | { |
| 170 | #if !defined(MAGICKCORE_BUILD_MODULES) |
cristy | 397bede | 2011-01-18 23:59:59 +0000 | [diff] [blame] | 171 | (void) RegisterAAIImage(); |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 172 | (void) RegisterARTImage(); |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 173 | (void) RegisterAVSImage(); |
| 174 | (void) RegisterBMPImage(); |
cristy | 1f9ce9f | 2010-04-28 11:55:12 +0000 | [diff] [blame] | 175 | (void) RegisterCALSImage(); |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 176 | (void) RegisterCAPTIONImage(); |
| 177 | (void) RegisterCINImage(); |
| 178 | (void) RegisterCIPImage(); |
| 179 | (void) RegisterCLIPImage(); |
| 180 | #if defined(MAGICKCORE_WINGDI32_DELEGATE) |
| 181 | (void) RegisterCLIPBOARDImage(); |
| 182 | #endif |
| 183 | (void) RegisterCMYKImage(); |
| 184 | (void) RegisterCUTImage(); |
| 185 | (void) RegisterDCMImage(); |
| 186 | (void) RegisterDDSImage(); |
cristy | 2aac09a | 2010-06-06 16:46:43 +0000 | [diff] [blame] | 187 | (void) RegisterDEBUGImage(); |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 188 | (void) RegisterDIBImage(); |
| 189 | #if defined(MAGICKCORE_DJVU_DELEGATE) |
| 190 | (void) RegisterDJVUImage(); |
| 191 | #endif |
| 192 | (void) RegisterDNGImage(); |
cristy | b32b90a | 2009-09-07 21:45:48 +0000 | [diff] [blame] | 193 | #if defined(MAGICKCORE_DPS_DELEGATE) |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 194 | (void) RegisterDPSImage(); |
cristy | b32b90a | 2009-09-07 21:45:48 +0000 | [diff] [blame] | 195 | #endif |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 196 | (void) RegisterDPXImage(); |
| 197 | #if defined(MAGICKCORE_WINGDI32_DELEGATE) |
| 198 | (void) RegisterEMFImage(); |
| 199 | #endif |
| 200 | #if defined(MAGICKCORE_TIFF_DELEGATE) |
| 201 | (void) RegisterEPTImage(); |
| 202 | #endif |
| 203 | #if defined(MAGICKCORE_OPENEXR_DELEGATE) |
| 204 | (void) RegisterEXRImage(); |
| 205 | #endif |
| 206 | (void) RegisterFAXImage(); |
| 207 | (void) RegisterFITSImage(); |
| 208 | #if defined(MAGICKCORE_FPX_DELEGATE) |
| 209 | (void) RegisterFPXImage(); |
| 210 | #endif |
| 211 | (void) RegisterGIFImage(); |
| 212 | (void) RegisterGRAYImage(); |
| 213 | (void) RegisterGRADIENTImage(); |
cristy | 579bc8f | 2011-03-06 17:27:05 +0000 | [diff] [blame^] | 214 | (void) RegisterHALDIMAGEImage(); |
| 215 | (void) RegisterHDRIMAGEImage(); |
| 216 | (void) RegisterHIMAGEImage(); |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 217 | (void) RegisterHISTOGRAMImage(); |
| 218 | (void) RegisterHRZImage(); |
| 219 | (void) RegisterHTMLImage(); |
| 220 | (void) RegisterICONImage(); |
| 221 | (void) RegisterINFOImage(); |
| 222 | (void) RegisterINLINEImage(); |
| 223 | (void) RegisterIPLImage(); |
| 224 | #if defined(MAGICKCORE_JBIG_DELEGATE) |
| 225 | (void) RegisterJBIGImage(); |
| 226 | #endif |
| 227 | #if defined(MAGICKCORE_JPEG_DELEGATE) |
| 228 | (void) RegisterJPEGImage(); |
| 229 | #endif |
| 230 | #if defined(MAGICKCORE_JP2_DELEGATE) |
| 231 | (void) RegisterJP2Image(); |
| 232 | #endif |
| 233 | (void) RegisterLABELImage(); |
cristy | ae29c4f | 2010-12-28 14:45:29 +0000 | [diff] [blame] | 234 | (void) RegisterMACImage(); |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 235 | (void) RegisterMAGICKImage(); |
| 236 | (void) RegisterMAPImage(); |
| 237 | (void) RegisterMATImage(); |
| 238 | (void) RegisterMATTEImage(); |
| 239 | (void) RegisterMETAImage(); |
| 240 | (void) RegisterMIFFImage(); |
| 241 | (void) RegisterMONOImage(); |
| 242 | (void) RegisterMPCImage(); |
| 243 | (void) RegisterMPEGImage(); |
| 244 | (void) RegisterMPRImage(); |
| 245 | (void) RegisterMSLImage(); |
| 246 | (void) RegisterMTVImage(); |
| 247 | (void) RegisterMVGImage(); |
| 248 | (void) RegisterNULLImage(); |
| 249 | (void) RegisterOTBImage(); |
| 250 | (void) RegisterPALMImage(); |
| 251 | (void) RegisterPATTERNImage(); |
| 252 | (void) RegisterPCDImage(); |
| 253 | (void) RegisterPCLImage(); |
| 254 | (void) RegisterPCXImage(); |
| 255 | (void) RegisterPDBImage(); |
| 256 | (void) RegisterPDFImage(); |
cristy | c2e5d6d | 2010-01-24 17:45:00 +0000 | [diff] [blame] | 257 | (void) RegisterPESImage(); |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 258 | (void) RegisterPICTImage(); |
| 259 | (void) RegisterPIXImage(); |
| 260 | (void) RegisterPLASMAImage(); |
| 261 | #if defined(MAGICKCORE_PNG_DELEGATE) |
| 262 | (void) RegisterPNGImage(); |
| 263 | #endif |
| 264 | (void) RegisterPNMImage(); |
| 265 | (void) RegisterPREVIEWImage(); |
| 266 | (void) RegisterPSImage(); |
| 267 | (void) RegisterPS2Image(); |
| 268 | (void) RegisterPS3Image(); |
| 269 | (void) RegisterPSDImage(); |
| 270 | (void) RegisterPWPImage(); |
| 271 | (void) RegisterRAWImage(); |
| 272 | (void) RegisterRGBImage(); |
| 273 | (void) RegisterRLAImage(); |
| 274 | (void) RegisterRLEImage(); |
| 275 | (void) RegisterSCRImage(); |
| 276 | (void) RegisterSCTImage(); |
| 277 | (void) RegisterSFWImage(); |
| 278 | (void) RegisterSGIImage(); |
| 279 | (void) RegisterSTEGANOImage(); |
| 280 | (void) RegisterSUNImage(); |
| 281 | (void) RegisterSVGImage(); |
| 282 | (void) RegisterTGAImage(); |
| 283 | (void) RegisterTHUMBNAILImage(); |
| 284 | #if defined(MAGICKCORE_TIFF_DELEGATE) |
| 285 | (void) RegisterTIFFImage(); |
| 286 | #endif |
| 287 | (void) RegisterTILEImage(); |
| 288 | (void) RegisterTIMImage(); |
| 289 | (void) RegisterTTFImage(); |
| 290 | (void) RegisterTXTImage(); |
| 291 | (void) RegisterUILImage(); |
| 292 | (void) RegisterURLImage(); |
| 293 | (void) RegisterUYVYImage(); |
| 294 | (void) RegisterVICARImage(); |
| 295 | (void) RegisterVIDImage(); |
| 296 | (void) RegisterVIFFImage(); |
| 297 | (void) RegisterWBMPImage(); |
| 298 | #if defined(MAGICKCORE_WMF_DELEGATE) || defined(MAGICKCORE_WMFLITE_DELEGATE) |
| 299 | (void) RegisterWMFImage(); |
| 300 | #endif |
| 301 | (void) RegisterWPGImage(); |
| 302 | #if defined(MAGICKCORE_X11_DELEGATE) |
| 303 | (void) RegisterXImage(); |
| 304 | #endif |
| 305 | (void) RegisterXBMImage(); |
| 306 | (void) RegisterXCImage(); |
| 307 | (void) RegisterXCFImage(); |
| 308 | (void) RegisterXPMImage(); |
| 309 | (void) RegisterXPSImage(); |
| 310 | #if defined(_VISUALC_) |
| 311 | (void) RegisterXTRNImage(); |
| 312 | #endif |
| 313 | #if defined(MAGICKCORE_X11_DELEGATE) |
| 314 | (void) RegisterXWDImage(); |
| 315 | #endif |
| 316 | (void) RegisterYCBCRImage(); |
| 317 | (void) RegisterYUVImage(); |
| 318 | #endif |
| 319 | } |
| 320 | |
| 321 | /* |
| 322 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 323 | % % |
| 324 | % % |
| 325 | % % |
| 326 | % U n r e g i s t e r S t a t i c M o d u l e s % |
| 327 | % % |
| 328 | % % |
| 329 | % % |
| 330 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 331 | % |
| 332 | % UnregisterStaticModules() statically unregisters all the available module |
| 333 | % handlers. |
| 334 | % |
| 335 | % The format of the UnregisterStaticModules method is: |
| 336 | % |
| 337 | % UnregisterStaticModules(void) |
| 338 | % |
| 339 | */ |
| 340 | MagickExport void UnregisterStaticModules(void) |
| 341 | { |
| 342 | #if !defined(MAGICKCORE_BUILD_MODULES) |
cristy | 397bede | 2011-01-18 23:59:59 +0000 | [diff] [blame] | 343 | UnregisterAAIImage(); |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 344 | UnregisterARTImage(); |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 345 | UnregisterAVSImage(); |
| 346 | UnregisterBMPImage(); |
| 347 | UnregisterBRAILLEImage(); |
cristy | 1f9ce9f | 2010-04-28 11:55:12 +0000 | [diff] [blame] | 348 | UnregisterCALSImage(); |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 349 | UnregisterCAPTIONImage(); |
| 350 | UnregisterCINImage(); |
| 351 | UnregisterCIPImage(); |
| 352 | UnregisterCLIPImage(); |
| 353 | #if defined(MAGICKCORE_WINGDI32_DELEGATE) |
| 354 | UnregisterCLIPBOARDImage(); |
| 355 | #endif |
| 356 | UnregisterCMYKImage(); |
| 357 | UnregisterCUTImage(); |
| 358 | UnregisterDCMImage(); |
| 359 | UnregisterDDSImage(); |
cristy | 2aac09a | 2010-06-06 16:46:43 +0000 | [diff] [blame] | 360 | UnregisterDEBUGImage(); |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 361 | UnregisterDIBImage(); |
| 362 | #if defined(MAGICKCORE_DJVU_DELEGATE) |
| 363 | UnregisterDJVUImage(); |
| 364 | #endif |
| 365 | UnregisterDNGImage(); |
cristy | b32b90a | 2009-09-07 21:45:48 +0000 | [diff] [blame] | 366 | #if defined(MAGICKCORE_DPS_DELEGATE) |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 367 | UnregisterDPSImage(); |
cristy | b32b90a | 2009-09-07 21:45:48 +0000 | [diff] [blame] | 368 | #endif |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 369 | UnregisterDPXImage(); |
| 370 | #if defined(MAGICKCORE_WINGDI32_DELEGATE) |
| 371 | UnregisterEMFImage(); |
| 372 | #endif |
| 373 | #if defined(MAGICKCORE_TIFF_DELEGATE) |
| 374 | UnregisterEPTImage(); |
| 375 | #endif |
| 376 | #if defined(MAGICKCORE_OPENEXR_DELEGATE) |
| 377 | UnregisterEXRImage(); |
| 378 | #endif |
| 379 | UnregisterFAXImage(); |
| 380 | UnregisterFITSImage(); |
| 381 | #if defined(MAGICKCORE_FPX_DELEGATE) |
| 382 | UnregisterFPXImage(); |
| 383 | #endif |
| 384 | UnregisterGIFImage(); |
| 385 | UnregisterGRAYImage(); |
| 386 | UnregisterGRADIENTImage(); |
cristy | 579bc8f | 2011-03-06 17:27:05 +0000 | [diff] [blame^] | 387 | UnregisterHALDImage(); |
| 388 | UnregisterHDRImage(); |
| 389 | UnregisterHImage(); |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 390 | UnregisterHISTOGRAMImage(); |
| 391 | UnregisterHRZImage(); |
| 392 | UnregisterHTMLImage(); |
| 393 | UnregisterICONImage(); |
| 394 | UnregisterINFOImage(); |
| 395 | UnregisterINLINEImage(); |
| 396 | UnregisterIPLImage(); |
| 397 | #if defined(MAGICKCORE_JBIG_DELEGATE) |
| 398 | UnregisterJBIGImage(); |
| 399 | #endif |
| 400 | #if defined(MAGICKCORE_JPEG_DELEGATE) |
| 401 | UnregisterJPEGImage(); |
| 402 | #endif |
| 403 | #if defined(MAGICKCORE_JP2_DELEGATE) |
| 404 | UnregisterJP2Image(); |
| 405 | #endif |
| 406 | UnregisterLABELImage(); |
cristy | ae29c4f | 2010-12-28 14:45:29 +0000 | [diff] [blame] | 407 | UnregisterMACImage(); |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 408 | UnregisterMAGICKImage(); |
| 409 | UnregisterMAPImage(); |
| 410 | UnregisterMATImage(); |
| 411 | UnregisterMATTEImage(); |
| 412 | UnregisterMETAImage(); |
| 413 | UnregisterMIFFImage(); |
| 414 | UnregisterMONOImage(); |
| 415 | UnregisterMPCImage(); |
| 416 | UnregisterMPEGImage(); |
| 417 | UnregisterMPRImage(); |
| 418 | UnregisterMSLImage(); |
| 419 | UnregisterMTVImage(); |
| 420 | UnregisterMVGImage(); |
| 421 | UnregisterNULLImage(); |
| 422 | UnregisterOTBImage(); |
| 423 | UnregisterPALMImage(); |
| 424 | UnregisterPATTERNImage(); |
| 425 | UnregisterPCDImage(); |
| 426 | UnregisterPCLImage(); |
| 427 | UnregisterPCXImage(); |
| 428 | UnregisterPDBImage(); |
| 429 | UnregisterPDFImage(); |
cristy | c2e5d6d | 2010-01-24 17:45:00 +0000 | [diff] [blame] | 430 | UnregisterPESImage(); |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 431 | UnregisterPICTImage(); |
| 432 | UnregisterPIXImage(); |
| 433 | UnregisterPLASMAImage(); |
| 434 | #if defined(MAGICKCORE_PNG_DELEGATE) |
| 435 | UnregisterPNGImage(); |
| 436 | #endif |
| 437 | UnregisterPNMImage(); |
| 438 | UnregisterPREVIEWImage(); |
| 439 | UnregisterPSImage(); |
| 440 | UnregisterPS2Image(); |
| 441 | UnregisterPS3Image(); |
| 442 | UnregisterPSDImage(); |
| 443 | UnregisterPWPImage(); |
| 444 | UnregisterRAWImage(); |
| 445 | UnregisterRGBImage(); |
| 446 | UnregisterRLAImage(); |
| 447 | UnregisterRLEImage(); |
| 448 | UnregisterSCRImage(); |
| 449 | UnregisterSCTImage(); |
| 450 | UnregisterSFWImage(); |
| 451 | UnregisterSGIImage(); |
| 452 | UnregisterSTEGANOImage(); |
| 453 | UnregisterSUNImage(); |
| 454 | UnregisterSVGImage(); |
| 455 | UnregisterTGAImage(); |
| 456 | UnregisterTHUMBNAILImage(); |
| 457 | #if defined(MAGICKCORE_TIFF_DELEGATE) |
| 458 | UnregisterTIFFImage(); |
| 459 | #endif |
| 460 | UnregisterTILEImage(); |
| 461 | UnregisterTIMImage(); |
| 462 | UnregisterTTFImage(); |
| 463 | UnregisterTXTImage(); |
| 464 | UnregisterUILImage(); |
| 465 | UnregisterURLImage(); |
| 466 | UnregisterUYVYImage(); |
| 467 | UnregisterVICARImage(); |
| 468 | UnregisterVIDImage(); |
| 469 | UnregisterVIFFImage(); |
| 470 | UnregisterWBMPImage(); |
| 471 | #if defined(MAGICKCORE_WMF_DELEGATE) || defined(MAGICKCORE_WMFLITE_DELEGATE) |
| 472 | UnregisterWMFImage(); |
| 473 | #endif |
| 474 | UnregisterWPGImage(); |
| 475 | #if defined(MAGICKCORE_X11_DELEGATE) |
| 476 | UnregisterXImage(); |
| 477 | #endif |
| 478 | UnregisterXBMImage(); |
| 479 | UnregisterXCImage(); |
| 480 | UnregisterXCFImage(); |
| 481 | UnregisterXPMImage(); |
| 482 | UnregisterXPSImage(); |
| 483 | #if defined(_VISUALC_) |
| 484 | UnregisterXTRNImage(); |
| 485 | #endif |
| 486 | #if defined(MAGICKCORE_X11_DELEGATE) |
| 487 | UnregisterXWDImage(); |
| 488 | #endif |
| 489 | UnregisterYCBCRImage(); |
| 490 | UnregisterYUVImage(); |
| 491 | #endif |
| 492 | } |