import.c/export.c detect pending use of null indexes pointer due to programming error and report it.
authorBob Friesenhahn <bfriesen@GraphicsMagick.org>
Sat, 04 Nov 2017 14:20:07 -0500
changeset 15246 2b7c826d36af
parent 15245 e8086faa52d0
child 15247 75245a215fff
import.c/export.c detect pending use of null indexes pointer due to programming error and report it.
ChangeLog
locale/C.mgk
magick/export.c
magick/gm_messages.mc
magick/import.c
magick/locale_c.h
www/Changelog.html
--- a/ChangeLog	Sat Nov 04 14:16:41 2017 -0500
+++ b/ChangeLog	Sat Nov 04 14:20:07 2017 -0500
@@ -1,5 +1,18 @@
 2017-11-04  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
 
+	* magick/export.c: Add not-null check for indexes pointer where
+	needed.
+
+	* magick/import.c: Add not-null check for indexes pointer with
+	associated exception report where the indexes pointer is needed.
+	(ImportCMYKQuantumType): Was wrongly importing an opacity channel
+	in some cases. Would have crashed if these cases were ever used.
+
+	* coders/wpg.c (ReadWPGImage): Assure that colormapped image is a
+	PseudoClass type with valid colormapped indexes.  Fixes
+	SourceForge bug 519 "Null Pointer Dereference (Write) with
+	malformed WPG Image".
+
 	* coders/sfw.c (ReadSFWImage): Avoid possible heap overflow while
 	copying JFIF magic into buffer. Reject runt files.  Fixes
 	CVE-2017-12983.  Notified of problem via email from Petr Gajdos on
--- a/locale/C.mgk	Sat Nov 04 14:16:41 2017 -0500
+++ b/locale/C.mgk	Sat Nov 04 14:20:07 2017 -0500
@@ -730,6 +730,9 @@
       <Message name="ImageIsNotColormapped">
         image is not colormapped
       </Message>
+      <Message name="CMYKAImageLacksAlphaChannel">
+        CMYKA image lacks an alpha channel (indexes)
+      </Message>
       <Message name="ImageOpacityDiffers">
         image opacity differs
       </Message>
@@ -802,6 +805,12 @@
       <Message name="WidthOrHeightExceedsLimit">
         width or height exceeds limit
       </Message>
+      <Message name="UnableToExportImagePixels">
+        unable to export image pixels
+      </Message>
+      <Message name="UnableToImportImagePixels">
+        unable to import image pixels
+      </Message>
     </Error>
     <FatalError>
       <Message name="UnableToPersistKey">
--- a/magick/export.c	Sat Nov 04 14:16:41 2017 -0500
+++ b/magick/export.c	Sat Nov 04 14:20:07 2017 -0500
@@ -1,5 +1,5 @@
 /*
-  Copyright (C) 2003 - 2015 GraphicsMagick Group
+  Copyright (C) 2003 - 2017 GraphicsMagick Group
   Copyright (C) 2002 ImageMagick Studio
 
   This program is covered by multiple licenses, which are described in
@@ -356,9 +356,13 @@
 
   q=destination;
 
-  assert(indexes != (const IndexPacket *) NULL);
   assert(image->colors <= MaxColormapSize);
 
+  if ((image->storage_class != PseudoClass) ||
+      (image->colors == 0) ||
+      (indexes == (IndexPacket *) NULL))
+    return MagickFail;
+
   if (sample_type == UnsignedQuantumSampleType)
     {
       switch (quantum_size)
@@ -508,6 +512,12 @@
     unsigned_value;
 
   assert(image->colors <= MaxColormapSize);
+
+  if ((image->storage_class != PseudoClass) ||
+      (image->colors == 0) ||
+      (indexes == (IndexPacket *) NULL))
+    return MagickFail;
+
   if (sample_type == UnsignedQuantumSampleType)
     {
       switch (quantum_size)
@@ -626,7 +636,8 @@
 	{
 	case 1:
 	  {
-	    if (image->storage_class == PseudoClass)
+	    if ((image->storage_class == PseudoClass) &&
+                (indexes != (IndexPacket *) NULL))
 	      {
 		/*
 		  Special "fast" support for two-color PsudeoClass.
@@ -1837,6 +1848,9 @@
 
   if (image->colorspace == CMYKColorspace)
     {
+      if (indexes == (IndexPacket *) NULL)
+        return MagickFail;
+
       if (sample_type == UnsignedQuantumSampleType)
 	{
 	  switch (quantum_size)
@@ -2848,6 +2862,9 @@
   register unsigned long
     x;
 
+  if (indexes == (IndexPacket *) NULL)
+    return MagickFail;
+
   if (sample_type == UnsignedQuantumSampleType)
     {
       switch (quantum_size)
--- a/magick/gm_messages.mc	Sat Nov 04 14:16:41 2017 -0500
+++ b/magick/gm_messages.mc	Sat Nov 04 14:20:07 2017 -0500
@@ -1283,6 +1283,12 @@
 .
 
 MessageId       = +1
+SymbolicName    = ImageErrorCMYKAImageLacksAlphaChannel
+Language        = English
+CMYKA image lacks an alpha channel (indexes)
+.
+
+MessageId       = +1
 SymbolicName    = ImageErrorColorspaceColorProfileMismatch
 Language        = English
 Colorspace color profile mismatch
@@ -1421,6 +1427,12 @@
 .
 
 MessageId       = +1
+SymbolicName    = ImageErrorUnableToExportImagePixels
+Language        = English
+unable to export image pixels
+.
+
+MessageId       = +1
 SymbolicName    = ImageErrorUnableToFlattenImage
 Language        = English
 unable to flatten image
@@ -1439,6 +1451,12 @@
 .
 
 MessageId       = +1
+SymbolicName    = ImageErrorUnableToImportImagePixels
+Language        = English
+unable to import image pixels
+.
+
+MessageId       = +1
 SymbolicName    = ImageErrorUnableToResizeImage
 Language        = English
 unable to resize image
--- a/magick/import.c	Sat Nov 04 14:16:41 2017 -0500
+++ b/magick/import.c	Sat Nov 04 14:20:07 2017 -0500
@@ -1,5 +1,5 @@
 /*
-  Copyright (C) 2003 - 2012 GraphicsMagick Group
+  Copyright (C) 2003 - 2017 GraphicsMagick Group
   Copyright (C) 2002 ImageMagick Studio
 
   This program is covered by multiple licenses, which are described in
@@ -357,8 +357,12 @@
     index;
 
   assert(image->colors <= MaxColormapSize);
-  assert(image->colors != 0);
-  assert(indexes != (IndexPacket *) NULL);
+
+  if ((image->storage_class != PseudoClass) ||
+      (image->colors == 0) ||
+      (indexes == (IndexPacket *) NULL))
+    ThrowBinaryException3(ImageError,ImageIsNotColormapped,
+                          UnableToImportImagePixels);
 
   p=source;
   if (sample_type == UnsignedQuantumSampleType)
@@ -522,6 +526,12 @@
 
   assert(image->colors <= MaxColormapSize);
 
+  if ((image->storage_class != PseudoClass) ||
+      (image->colors == 0) ||
+      (indexes == (IndexPacket *) NULL))
+    ThrowBinaryException3(ImageError,ImageIsNotColormapped,
+                          UnableToImportImagePixels);
+
   sample_bits=quantum_size;
   p=source;
 
@@ -836,7 +846,13 @@
 	    colormap order as well.
 	  */
 	  assert(image->colors <= MaxColormapSize);
-                
+
+          if ((image->storage_class != PseudoClass) ||
+              (image->colors == 0) ||
+              (indexes == (IndexPacket *) NULL))
+            ThrowBinaryException3(ImageError,ImageIsNotColormapped,
+                                  UnableToImportImagePixels);
+
 	  switch (quantum_size)
 	    {
 	    case 1:
@@ -1207,6 +1223,12 @@
 
 	  assert(image->colors <= MaxColormapSize);
 
+          if ((image->storage_class != PseudoClass) ||
+              (image->colors == 0) ||
+              (indexes == (IndexPacket *) NULL))
+            ThrowBinaryException3(ImageError,ImageIsNotColormapped,
+                                  UnableToImportImagePixels);
+
 	  if (unsigned_maxvalue > (image->colors-1))
 	    indexes_scale=(unsigned_maxvalue/(image->colors-1));
 
@@ -1910,6 +1932,10 @@
 
   if (image->colorspace == CMYKColorspace)
     {
+      if (indexes == (IndexPacket *) NULL)
+          ThrowBinaryException3(ImageError,CMYKAImageLacksAlphaChannel,
+                                UnableToImportImagePixels);
+
       if (sample_type == UnsignedQuantumSampleType)
 	{
 	  if ( (quantum_size >= 8) && (quantum_size % 8U == 0U) )
@@ -2809,7 +2835,6 @@
 static MagickPassFail
 ImportCMYKQuantumType(const unsigned char *source,
 		      PixelPacket* restrict q,
-		      IndexPacket * restrict indexes,
 		      const unsigned long number_pixels,
 		      const unsigned int quantum_size,
 		      const QuantumSampleType sample_type,
@@ -2919,7 +2944,6 @@
 		    SetMagentaSample(q,MagickBitStreamMSBRead(&stream,quantum_size)*unsigned_scale);
 		    SetYellowSample(q,MagickBitStreamMSBRead(&stream,quantum_size)*unsigned_scale);
 		    SetBlackSample(q,MagickBitStreamMSBRead(&stream,quantum_size)*unsigned_scale);
-		    *indexes++=OpaqueOpacity;
 		    q++;
 		  }
 	      }
@@ -2932,7 +2956,6 @@
 		    SetMagentaSample(q,MagickBitStreamMSBRead(&stream,quantum_size)/unsigned_scale);
 		    SetYellowSample(q,MagickBitStreamMSBRead(&stream,quantum_size)/unsigned_scale);
 		    SetBlackSample(q,MagickBitStreamMSBRead(&stream,quantum_size)/unsigned_scale);
-		    *indexes++=OpaqueOpacity;
 		    q++;
 		  }
 	      }
@@ -2964,7 +2987,6 @@
 		double_value -= double_minvalue;
 		double_value *= double_scale;
 		SetBlackSample(q,RoundDoubleToQuantum(double_value));
-		*indexes++=OpaqueOpacity;
 		q++;
 	      }
 	    break;
@@ -2989,7 +3011,6 @@
 		double_value -= double_minvalue;
 		double_value *= double_scale;
 		SetBlackSample(q,RoundDoubleToQuantum(double_value));
-		*indexes++=OpaqueOpacity;
 		q++;
 	      }
 	    break;
@@ -3014,7 +3035,6 @@
 		double_value -= double_minvalue;
 		double_value *= double_scale;
 		SetBlackSample(q,RoundDoubleToQuantum(double_value));
-		*indexes++=OpaqueOpacity;
 		q++;
 	      }
 	    break;
@@ -3039,7 +3059,6 @@
 		double_value -= double_minvalue;
 		double_value *= double_scale;
 		SetBlackSample(q,RoundDoubleToQuantum(double_value));
-		*indexes++=OpaqueOpacity;
 		q++;
 	      }
 	    break;
@@ -3068,6 +3087,7 @@
 		       const double double_minvalue,
 		       const double double_scale,
 		       const EndianType endian,
+                       Image *image,
 		       ImportPixelAreaInfo *import_info)
 {
   const unsigned char * restrict
@@ -3088,6 +3108,10 @@
   sample_bits=quantum_size;
   p=source;
 
+  if (indexes == (IndexPacket *) NULL)
+    ThrowBinaryException3(ImageError,CMYKAImageLacksAlphaChannel,
+                          UnableToImportImagePixels);
+
   if (sample_type == UnsignedQuantumSampleType)
     {
       switch (quantum_size)
@@ -3675,7 +3699,7 @@
       }
     case CMYKQuantum:
       {
-	status=ImportCMYKQuantumType(source,q,indexes,number_pixels,quantum_size,
+	status=ImportCMYKQuantumType(source,q,number_pixels,quantum_size,
 				     sample_type,unsigned_scale,double_minvalue,
 				     double_scale,endian,import_info);
         break;
@@ -3684,7 +3708,7 @@
       {
 	status=ImportCMYKAQuantumType(source,q,indexes,number_pixels,quantum_size,
 				      sample_type,unsigned_scale,double_minvalue,
-				      double_scale,endian,import_info);
+				      double_scale,endian,image,import_info);
         break;
       }
     case CIEXYZQuantum:
--- a/magick/locale_c.h	Sat Nov 04 14:16:41 2017 -0500
+++ b/magick/locale_c.h	Sat Nov 04 14:20:07 2017 -0500
@@ -3,7 +3,7 @@
 
 extern MagickExport const char *GetLocaleMessageFromID(const int);
 
-#define MAX_LOCALE_MSGS 561
+#define MAX_LOCALE_MSGS 564
 
 #define MGK_BlobErrorUnableToCreateBlob 1
 #define MGK_BlobErrorUnableToObtainOffset 2
@@ -218,354 +218,357 @@
 #define MGK_FileOpenFatalErrorDefault 211
 #define MGK_FileOpenWarningDefault 212
 #define MGK_ImageErrorAngleIsDiscontinuous 213
-#define MGK_ImageErrorColorspaceColorProfileMismatch 214
-#define MGK_ImageErrorImageColorspaceDiffers 215
-#define MGK_ImageErrorImageColorspaceMismatch 216
-#define MGK_ImageErrorImageDifferenceExceedsLimit 217
-#define MGK_ImageErrorImageDoesNotContainResolution 218
-#define MGK_ImageErrorImageIsNotColormapped 219
-#define MGK_ImageErrorImageOpacityDiffers 220
-#define MGK_ImageErrorImageSequenceIsRequired 221
-#define MGK_ImageErrorImageSizeDiffers 222
-#define MGK_ImageErrorInvalidColormapIndex 223
-#define MGK_ImageErrorLeftAndRightImageSizesDiffer 224
-#define MGK_ImageErrorNoImagesWereFound 225
-#define MGK_ImageErrorNoImagesWereLoaded 226
-#define MGK_ImageErrorNoLocaleImageAttribute 227
-#define MGK_ImageErrorTooManyClusters 228
-#define MGK_ImageErrorUnableToAppendImage 229
-#define MGK_ImageErrorUnableToAssignProfile 230
-#define MGK_ImageErrorUnableToAverageImage 231
-#define MGK_ImageErrorUnableToCoalesceImage 232
-#define MGK_ImageErrorUnableToCompareImages 233
-#define MGK_ImageErrorUnableToCreateImageMosaic 234
-#define MGK_ImageErrorUnableToCreateStereoImage 235
-#define MGK_ImageErrorUnableToDeconstructImageSequence 236
-#define MGK_ImageErrorUnableToFlattenImage 237
-#define MGK_ImageErrorUnableToGetClipMask 238
-#define MGK_ImageErrorUnableToHandleImageChannel 239
-#define MGK_ImageErrorUnableToResizeImage 240
-#define MGK_ImageErrorUnableToSegmentImage 241
-#define MGK_ImageErrorUnableToSetClipMask 242
-#define MGK_ImageErrorUnableToShearImage 243
-#define MGK_ImageErrorWidthOrHeightExceedsLimit 244
-#define MGK_ImageFatalErrorUnableToPersistKey 245
-#define MGK_ImageWarningDefault 246
-#define MGK_MissingDelegateErrorDPSLibraryIsNotAvailable 247
-#define MGK_MissingDelegateErrorFPXLibraryIsNotAvailable 248
-#define MGK_MissingDelegateErrorFreeTypeLibraryIsNotAvailable 249
-#define MGK_MissingDelegateErrorJPEGLibraryIsNotAvailable 250
-#define MGK_MissingDelegateErrorLCMSLibraryIsNotAvailable 251
-#define MGK_MissingDelegateErrorLZWEncodingNotEnabled 252
-#define MGK_MissingDelegateErrorNoDecodeDelegateForThisImageFormat 253
-#define MGK_MissingDelegateErrorNoEncodeDelegateForThisImageFormat 254
-#define MGK_MissingDelegateErrorTIFFLibraryIsNotAvailable 255
-#define MGK_MissingDelegateErrorXMLLibraryIsNotAvailable 256
-#define MGK_MissingDelegateErrorXWindowLibraryIsNotAvailable 257
-#define MGK_MissingDelegateErrorZipLibraryIsNotAvailable 258
-#define MGK_MissingDelegateFatalErrorDefault 259
-#define MGK_MissingDelegateWarningDefault 260
-#define MGK_ModuleErrorFailedToCloseModule 261
-#define MGK_ModuleErrorFailedToFindSymbol 262
-#define MGK_ModuleErrorUnableToLoadModule 263
-#define MGK_ModuleErrorUnableToRegisterImageFormat 264
-#define MGK_ModuleErrorUnrecognizedModule 265
-#define MGK_ModuleFatalErrorUnableToInitializeModuleLoader 266
-#define MGK_ModuleWarningDefault 267
-#define MGK_MonitorErrorDefault 268
-#define MGK_MonitorFatalErrorDefault 269
-#define MGK_MonitorFatalErrorUserRequestedTerminationBySignal 270
-#define MGK_MonitorWarningDefault 271
-#define MGK_OptionErrorBevelWidthIsNegative 272
-#define MGK_OptionErrorColorSeparatedImageRequired 273
-#define MGK_OptionErrorFrameIsLessThanImageSize 274
-#define MGK_OptionErrorGeometryDimensionsAreZero 275
-#define MGK_OptionErrorGeometryDoesNotContainImage 276
-#define MGK_OptionErrorHaldClutImageDimensionsInvalid 277
-#define MGK_OptionErrorImagesAreNotTheSameSize 278
-#define MGK_OptionErrorImageSizeMustExceedBevelWidth 279
-#define MGK_OptionErrorImageSmallerThanKernelWidth 280
-#define MGK_OptionErrorImageSmallerThanRadius 281
-#define MGK_OptionErrorImageWidthsOrHeightsDiffer 282
-#define MGK_OptionErrorInputImagesAlreadySpecified 283
-#define MGK_OptionErrorInvalidSubimageSpecification 284
-#define MGK_OptionErrorKernelRadiusIsTooSmall 285
-#define MGK_OptionErrorKernelWidthMustBeAnOddNumber 286
-#define MGK_OptionErrorMatrixIsNotSquare 287
-#define MGK_OptionErrorMatrixOrderOutOfRange 288
-#define MGK_OptionErrorMissingAnImageFilename 289
-#define MGK_OptionErrorMissingArgument 290
-#define MGK_OptionErrorMustSpecifyAnImageName 291
-#define MGK_OptionErrorMustSpecifyImageSize 292
-#define MGK_OptionErrorNoBlobDefined 293
-#define MGK_OptionErrorNoImagesDefined 294
-#define MGK_OptionErrorNonzeroWidthAndHeightRequired 295
-#define MGK_OptionErrorNoProfileNameWasGiven 296
-#define MGK_OptionErrorNullBlobArgument 297
-#define MGK_OptionErrorReferenceImageRequired 298
-#define MGK_OptionErrorReferenceIsNotMyType 299
-#define MGK_OptionErrorRegionAreaExceedsLimit 300
-#define MGK_OptionErrorRequestDidNotReturnAnImage 301
-#define MGK_OptionErrorSteganoImageRequired 302
-#define MGK_OptionErrorStereoImageRequired 303
-#define MGK_OptionErrorSubimageSpecificationReturnsNoImages 304
-#define MGK_OptionErrorUnableToAddOrRemoveProfile 305
-#define MGK_OptionErrorUnableToAverageImageSequence 306
-#define MGK_OptionErrorUnableToBlurImage 307
-#define MGK_OptionErrorUnableToChopImage 308
-#define MGK_OptionErrorUnableToColorMatrixImage 309
-#define MGK_OptionErrorUnableToConstituteImage 310
-#define MGK_OptionErrorUnableToConvolveImage 311
-#define MGK_OptionErrorUnableToEdgeImage 312
-#define MGK_OptionErrorUnableToEqualizeImage 313
-#define MGK_OptionErrorUnableToFilterImage 314
-#define MGK_OptionErrorUnableToFormatImageMetadata 315
-#define MGK_OptionErrorUnableToFrameImage 316
-#define MGK_OptionErrorUnableToOilPaintImage 317
-#define MGK_OptionErrorUnableToPaintImage 318
-#define MGK_OptionErrorUnableToRaiseImage 319
-#define MGK_OptionErrorUnableToSharpenImage 320
-#define MGK_OptionErrorUnableToThresholdImage 321
-#define MGK_OptionErrorUnableToWaveImage 322
-#define MGK_OptionErrorUnrecognizedAttribute 323
-#define MGK_OptionErrorUnrecognizedChannelType 324
-#define MGK_OptionErrorUnrecognizedColor 325
-#define MGK_OptionErrorUnrecognizedColormapType 326
-#define MGK_OptionErrorUnrecognizedColorspace 327
-#define MGK_OptionErrorUnrecognizedCommand 328
-#define MGK_OptionErrorUnrecognizedComposeOperator 329
-#define MGK_OptionErrorUnrecognizedDisposeMethod 330
-#define MGK_OptionErrorUnrecognizedElement 331
-#define MGK_OptionErrorUnrecognizedEndianType 332
-#define MGK_OptionErrorUnrecognizedGravityType 333
-#define MGK_OptionErrorUnrecognizedHighlightStyle 334
-#define MGK_OptionErrorUnrecognizedImageCompression 335
-#define MGK_OptionErrorUnrecognizedImageFilter 336
-#define MGK_OptionErrorUnrecognizedImageFormat 337
-#define MGK_OptionErrorUnrecognizedImageMode 338
-#define MGK_OptionErrorUnrecognizedImageType 339
-#define MGK_OptionErrorUnrecognizedIntentType 340
-#define MGK_OptionErrorUnrecognizedInterlaceType 341
-#define MGK_OptionErrorUnrecognizedListType 342
-#define MGK_OptionErrorUnrecognizedMetric 343
-#define MGK_OptionErrorUnrecognizedModeType 344
-#define MGK_OptionErrorUnrecognizedNoiseType 345
-#define MGK_OptionErrorUnrecognizedOperator 346
-#define MGK_OptionErrorUnrecognizedOption 347
-#define MGK_OptionErrorUnrecognizedPerlMagickMethod 348
-#define MGK_OptionErrorUnrecognizedPixelMap 349
-#define MGK_OptionErrorUnrecognizedPreviewType 350
-#define MGK_OptionErrorUnrecognizedResourceType 351
-#define MGK_OptionErrorUnrecognizedType 352
-#define MGK_OptionErrorUnrecognizedUnitsType 353
-#define MGK_OptionErrorUnrecognizedVirtualPixelMethod 354
-#define MGK_OptionErrorUnsupportedSamplingFactor 355
-#define MGK_OptionErrorUsageError 356
-#define MGK_OptionFatalErrorInvalidColorspaceType 357
-#define MGK_OptionFatalErrorInvalidEndianType 358
-#define MGK_OptionFatalErrorInvalidImageType 359
-#define MGK_OptionFatalErrorInvalidInterlaceType 360
-#define MGK_OptionFatalErrorMissingAnImageFilename 361
-#define MGK_OptionFatalErrorMissingArgument 362
-#define MGK_OptionFatalErrorNoImagesWereLoaded 363
-#define MGK_OptionFatalErrorOptionLengthExceedsLimit 364
-#define MGK_OptionFatalErrorRequestDidNotReturnAnImage 365
-#define MGK_OptionFatalErrorUnableToOpenXServer 366
-#define MGK_OptionFatalErrorUnableToPersistKey 367
-#define MGK_OptionFatalErrorUnrecognizedColormapType 368
-#define MGK_OptionFatalErrorUnrecognizedColorspaceType 369
-#define MGK_OptionFatalErrorUnrecognizedDisposeMethod 370
-#define MGK_OptionFatalErrorUnrecognizedEndianType 371
-#define MGK_OptionFatalErrorUnrecognizedFilterType 372
-#define MGK_OptionFatalErrorUnrecognizedImageCompressionType 373
-#define MGK_OptionFatalErrorUnrecognizedImageType 374
-#define MGK_OptionFatalErrorUnrecognizedInterlaceType 375
-#define MGK_OptionFatalErrorUnrecognizedOption 376
-#define MGK_OptionFatalErrorUnrecognizedResourceType 377
-#define MGK_OptionFatalErrorUnrecognizedVirtualPixelMethod 378
-#define MGK_OptionWarningUnrecognizedColor 379
-#define MGK_RegistryErrorImageExpected 380
-#define MGK_RegistryErrorImageInfoExpected 381
-#define MGK_RegistryErrorStructureSizeMismatch 382
-#define MGK_RegistryErrorUnableToGetRegistryID 383
-#define MGK_RegistryErrorUnableToLocateImage 384
-#define MGK_RegistryErrorUnableToSetRegistry 385
-#define MGK_RegistryFatalErrorDefault 386
-#define MGK_RegistryWarningDefault 387
-#define MGK_ResourceLimitErrorCacheResourcesExhausted 388
-#define MGK_ResourceLimitErrorImagePixelHeightLimitExceeded 389
-#define MGK_ResourceLimitErrorImagePixelLimitExceeded 390
-#define MGK_ResourceLimitErrorImagePixelWidthLimitExceeded 391
-#define MGK_ResourceLimitErrorMemoryAllocationFailed 392
-#define MGK_ResourceLimitErrorNoPixelsDefinedInCache 393
-#define MGK_ResourceLimitErrorPixelCacheAllocationFailed 394
-#define MGK_ResourceLimitErrorUnableToAddColorProfile 395
-#define MGK_ResourceLimitErrorUnableToAddGenericProfile 396
-#define MGK_ResourceLimitErrorUnableToAddIPTCProfile 397
-#define MGK_ResourceLimitErrorUnableToAddOrRemoveProfile 398
-#define MGK_ResourceLimitErrorUnableToAllocateCoefficients 399
-#define MGK_ResourceLimitErrorUnableToAllocateColormap 400
-#define MGK_ResourceLimitErrorUnableToAllocateICCProfile 401
-#define MGK_ResourceLimitErrorUnableToAllocateImage 402
-#define MGK_ResourceLimitErrorUnableToAllocateString 403
-#define MGK_ResourceLimitErrorUnableToAnnotateImage 404
-#define MGK_ResourceLimitErrorUnableToAverageImageSequence 405
-#define MGK_ResourceLimitErrorUnableToCloneDrawingWand 406
-#define MGK_ResourceLimitErrorUnableToCloneImage 407
-#define MGK_ResourceLimitErrorUnableToComputeImageSignature 408
-#define MGK_ResourceLimitErrorUnableToConstituteImage 409
-#define MGK_ResourceLimitErrorUnableToConvertFont 410
-#define MGK_ResourceLimitErrorUnableToConvertStringToTokens 411
-#define MGK_ResourceLimitErrorUnableToCreateColormap 412
-#define MGK_ResourceLimitErrorUnableToCreateColorTransform 413
-#define MGK_ResourceLimitErrorUnableToCreateCommandWidget 414
-#define MGK_ResourceLimitErrorUnableToCreateImageGroup 415
-#define MGK_ResourceLimitErrorUnableToCreateImageMontage 416
-#define MGK_ResourceLimitErrorUnableToCreateXWindow 417
-#define MGK_ResourceLimitErrorUnableToCropImage 418
-#define MGK_ResourceLimitErrorUnableToDespeckleImage 419
-#define MGK_ResourceLimitErrorUnableToDetermineImageClass 420
-#define MGK_ResourceLimitErrorUnableToDetermineTheNumberOfImageColors 421
-#define MGK_ResourceLimitErrorUnableToDitherImage 422
-#define MGK_ResourceLimitErrorUnableToDrawOnImage 423
-#define MGK_ResourceLimitErrorUnableToEdgeImage 424
-#define MGK_ResourceLimitErrorUnableToEmbossImage 425
-#define MGK_ResourceLimitErrorUnableToEnhanceImage 426
-#define MGK_ResourceLimitErrorUnableToFloodfillImage 427
-#define MGK_ResourceLimitErrorUnableToGammaCorrectImage 428
-#define MGK_ResourceLimitErrorUnableToGetBestIconSize 429
-#define MGK_ResourceLimitErrorUnableToGetFromRegistry 430
-#define MGK_ResourceLimitErrorUnableToGetPackageInfo 431
-#define MGK_ResourceLimitErrorUnableToLevelImage 432
-#define MGK_ResourceLimitErrorUnableToMagnifyImage 433
-#define MGK_ResourceLimitErrorUnableToManageColor 434
-#define MGK_ResourceLimitErrorUnableToMapImage 435
-#define MGK_ResourceLimitErrorUnableToMapImageSequence 436
-#define MGK_ResourceLimitErrorUnableToMedianFilterImage 437
-#define MGK_ResourceLimitErrorUnableToMotionBlurImage 438
-#define MGK_ResourceLimitErrorUnableToNoiseFilterImage 439
-#define MGK_ResourceLimitErrorUnableToNormalizeImage 440
-#define MGK_ResourceLimitErrorUnableToOpenColorProfile 441
-#define MGK_ResourceLimitErrorUnableToQuantizeImage 442
-#define MGK_ResourceLimitErrorUnableToQuantizeImageSequence 443
-#define MGK_ResourceLimitErrorUnableToReadTextChunk 444
-#define MGK_ResourceLimitErrorUnableToReadXImage 445
-#define MGK_ResourceLimitErrorUnableToReadXServerColormap 446
-#define MGK_ResourceLimitErrorUnableToResizeImage 447
-#define MGK_ResourceLimitErrorUnableToRotateImage 448
-#define MGK_ResourceLimitErrorUnableToSampleImage 449
-#define MGK_ResourceLimitErrorUnableToScaleImage 450
-#define MGK_ResourceLimitErrorUnableToSelectImage 451
-#define MGK_ResourceLimitErrorUnableToSharpenImage 452
-#define MGK_ResourceLimitErrorUnableToShaveImage 453
-#define MGK_ResourceLimitErrorUnableToShearImage 454
-#define MGK_ResourceLimitErrorUnableToSortImageColormap 455
-#define MGK_ResourceLimitErrorUnableToThresholdImage 456
-#define MGK_ResourceLimitErrorUnableToTransformColorspace 457
-#define MGK_ResourceLimitFatalErrorMemoryAllocationFailed 458
-#define MGK_ResourceLimitFatalErrorSemaporeOperationFailed 459
-#define MGK_ResourceLimitFatalErrorUnableToAllocateAscii85Info 460
-#define MGK_ResourceLimitFatalErrorUnableToAllocateCacheInfo 461
-#define MGK_ResourceLimitFatalErrorUnableToAllocateCacheView 462
-#define MGK_ResourceLimitFatalErrorUnableToAllocateColorInfo 463
-#define MGK_ResourceLimitFatalErrorUnableToAllocateDashPattern 464
-#define MGK_ResourceLimitFatalErrorUnableToAllocateDelegateInfo 465
-#define MGK_ResourceLimitFatalErrorUnableToAllocateDerivatives 466
-#define MGK_ResourceLimitFatalErrorUnableToAllocateDrawContext 467
-#define MGK_ResourceLimitFatalErrorUnableToAllocateDrawInfo 468
-#define MGK_ResourceLimitFatalErrorUnableToAllocateDrawingWand 469
-#define MGK_ResourceLimitFatalErrorUnableToAllocateGammaMap 470
-#define MGK_ResourceLimitFatalErrorUnableToAllocateImage 471
-#define MGK_ResourceLimitFatalErrorUnableToAllocateImagePixels 472
-#define MGK_ResourceLimitFatalErrorUnableToAllocateLogInfo 473
-#define MGK_ResourceLimitFatalErrorUnableToAllocateMagicInfo 474
-#define MGK_ResourceLimitFatalErrorUnableToAllocateMagickInfo 475
-#define MGK_ResourceLimitFatalErrorUnableToAllocateMagickMap 476
-#define MGK_ResourceLimitFatalErrorUnableToAllocateModuleInfo 477
-#define MGK_ResourceLimitFatalErrorUnableToAllocateMontageInfo 478
-#define MGK_ResourceLimitFatalErrorUnableToAllocateQuantizeInfo 479
-#define MGK_ResourceLimitFatalErrorUnableToAllocateRandomKernel 480
-#define MGK_ResourceLimitFatalErrorUnableToAllocateRegistryInfo 481
-#define MGK_ResourceLimitFatalErrorUnableToAllocateSemaphoreInfo 482
-#define MGK_ResourceLimitFatalErrorUnableToAllocateString 483
-#define MGK_ResourceLimitFatalErrorUnableToAllocateTypeInfo 484
-#define MGK_ResourceLimitFatalErrorUnableToAllocateWand 485
-#define MGK_ResourceLimitFatalErrorUnableToAnimateImageSequence 486
-#define MGK_ResourceLimitFatalErrorUnableToCloneBlobInfo 487
-#define MGK_ResourceLimitFatalErrorUnableToCloneCacheInfo 488
-#define MGK_ResourceLimitFatalErrorUnableToCloneImage 489
-#define MGK_ResourceLimitFatalErrorUnableToCloneImageInfo 490
-#define MGK_ResourceLimitFatalErrorUnableToConcatenateString 491
-#define MGK_ResourceLimitFatalErrorUnableToConvertText 492
-#define MGK_ResourceLimitFatalErrorUnableToCreateColormap 493
-#define MGK_ResourceLimitFatalErrorUnableToDestroySemaphore 494
-#define MGK_ResourceLimitFatalErrorUnableToDisplayImage 495
-#define MGK_ResourceLimitFatalErrorUnableToEscapeString 496
-#define MGK_ResourceLimitFatalErrorUnableToInitializeSemaphore 497
-#define MGK_ResourceLimitFatalErrorUnableToInterpretMSLImage 498
-#define MGK_ResourceLimitFatalErrorUnableToLockSemaphore 499
-#define MGK_ResourceLimitFatalErrorUnableToObtainRandomEntropy 500
-#define MGK_ResourceLimitFatalErrorUnableToUnlockSemaphore 501
-#define MGK_ResourceLimitWarningMemoryAllocationFailed 502
-#define MGK_StreamErrorImageDoesNotContainTheStreamGeometry 503
-#define MGK_StreamErrorNoStreamHandlerIsDefined 504
-#define MGK_StreamErrorPixelCacheIsNotOpen 505
-#define MGK_StreamErrorUnableToAcquirePixelStream 506
-#define MGK_StreamErrorUnableToSetPixelStream 507
-#define MGK_StreamErrorUnableToSyncPixelStream 508
-#define MGK_StreamFatalErrorDefault 509
-#define MGK_StreamWarningDefault 510
-#define MGK_TypeErrorFontSubstitutionRequired 511
-#define MGK_TypeErrorUnableToGetTypeMetrics 512
-#define MGK_TypeErrorUnableToInitializeFreetypeLibrary 513
-#define MGK_TypeErrorUnableToReadFont 514
-#define MGK_TypeErrorUnrecognizedFontEncoding 515
-#define MGK_TypeFatalErrorDefault 516
-#define MGK_TypeWarningDefault 517
-#define MGK_WandErrorInvalidColormapIndex 518
-#define MGK_WandErrorWandAPINotImplemented 519
-#define MGK_WandErrorWandContainsNoImageIndexs 520
-#define MGK_WandErrorWandContainsNoImages 521
-#define MGK_XServerErrorColorIsNotKnownToServer 522
-#define MGK_XServerErrorNoWindowWithSpecifiedIDExists 523
-#define MGK_XServerErrorStandardColormapIsNotInitialized 524
-#define MGK_XServerErrorUnableToConnectToRemoteDisplay 525
-#define MGK_XServerErrorUnableToCreateBitmap 526
-#define MGK_XServerErrorUnableToCreateColormap 527
-#define MGK_XServerErrorUnableToCreatePixmap 528
-#define MGK_XServerErrorUnableToCreateProperty 529
-#define MGK_XServerErrorUnableToCreateStandardColormap 530
-#define MGK_XServerErrorUnableToDisplayImageInfo 531
-#define MGK_XServerErrorUnableToGetProperty 532
-#define MGK_XServerErrorUnableToGetStandardColormap 533
-#define MGK_XServerErrorUnableToGetVisual 534
-#define MGK_XServerErrorUnableToGrabMouse 535
-#define MGK_XServerErrorUnableToLoadFont 536
-#define MGK_XServerErrorUnableToMatchVisualToStandardColormap 537
-#define MGK_XServerErrorUnableToOpenXServer 538
-#define MGK_XServerErrorUnableToReadXAttributes 539
-#define MGK_XServerErrorUnableToReadXWindowImage 540
-#define MGK_XServerErrorUnrecognizedColormapType 541
-#define MGK_XServerErrorUnrecognizedGravityType 542
-#define MGK_XServerErrorUnrecognizedVisualSpecifier 543
-#define MGK_XServerFatalErrorUnableToAllocateXHints 544
-#define MGK_XServerFatalErrorUnableToCreateCursor 545
-#define MGK_XServerFatalErrorUnableToCreateGraphicContext 546
-#define MGK_XServerFatalErrorUnableToCreateStandardColormap 547
-#define MGK_XServerFatalErrorUnableToCreateTextProperty 548
-#define MGK_XServerFatalErrorUnableToCreateXImage 549
-#define MGK_XServerFatalErrorUnableToCreateXPixmap 550
-#define MGK_XServerFatalErrorUnableToCreateXWindow 551
-#define MGK_XServerFatalErrorUnableToDisplayImage 552
-#define MGK_XServerFatalErrorUnableToDitherImage 553
-#define MGK_XServerFatalErrorUnableToGetPixelInfo 554
-#define MGK_XServerFatalErrorUnableToGetVisual 555
-#define MGK_XServerFatalErrorUnableToLoadFont 556
-#define MGK_XServerFatalErrorUnableToMakeXWindow 557
-#define MGK_XServerFatalErrorUnableToOpenXServer 558
-#define MGK_XServerFatalErrorUnableToViewFonts 559
-#define MGK_XServerWarningUnableToGetVisual 560
-#define MGK_XServerWarningUsingDefaultVisual 561
+#define MGK_ImageErrorCMYKAImageLacksAlphaChannel 214
+#define MGK_ImageErrorColorspaceColorProfileMismatch 215
+#define MGK_ImageErrorImageColorspaceDiffers 216
+#define MGK_ImageErrorImageColorspaceMismatch 217
+#define MGK_ImageErrorImageDifferenceExceedsLimit 218
+#define MGK_ImageErrorImageDoesNotContainResolution 219
+#define MGK_ImageErrorImageIsNotColormapped 220
+#define MGK_ImageErrorImageOpacityDiffers 221
+#define MGK_ImageErrorImageSequenceIsRequired 222
+#define MGK_ImageErrorImageSizeDiffers 223
+#define MGK_ImageErrorInvalidColormapIndex 224
+#define MGK_ImageErrorLeftAndRightImageSizesDiffer 225
+#define MGK_ImageErrorNoImagesWereFound 226
+#define MGK_ImageErrorNoImagesWereLoaded 227
+#define MGK_ImageErrorNoLocaleImageAttribute 228
+#define MGK_ImageErrorTooManyClusters 229
+#define MGK_ImageErrorUnableToAppendImage 230
+#define MGK_ImageErrorUnableToAssignProfile 231
+#define MGK_ImageErrorUnableToAverageImage 232
+#define MGK_ImageErrorUnableToCoalesceImage 233
+#define MGK_ImageErrorUnableToCompareImages 234
+#define MGK_ImageErrorUnableToCreateImageMosaic 235
+#define MGK_ImageErrorUnableToCreateStereoImage 236
+#define MGK_ImageErrorUnableToDeconstructImageSequence 237
+#define MGK_ImageErrorUnableToExportImagePixels 238
+#define MGK_ImageErrorUnableToFlattenImage 239
+#define MGK_ImageErrorUnableToGetClipMask 240
+#define MGK_ImageErrorUnableToHandleImageChannel 241
+#define MGK_ImageErrorUnableToImportImagePixels 242
+#define MGK_ImageErrorUnableToResizeImage 243
+#define MGK_ImageErrorUnableToSegmentImage 244
+#define MGK_ImageErrorUnableToSetClipMask 245
+#define MGK_ImageErrorUnableToShearImage 246
+#define MGK_ImageErrorWidthOrHeightExceedsLimit 247
+#define MGK_ImageFatalErrorUnableToPersistKey 248
+#define MGK_ImageWarningDefault 249
+#define MGK_MissingDelegateErrorDPSLibraryIsNotAvailable 250
+#define MGK_MissingDelegateErrorFPXLibraryIsNotAvailable 251
+#define MGK_MissingDelegateErrorFreeTypeLibraryIsNotAvailable 252
+#define MGK_MissingDelegateErrorJPEGLibraryIsNotAvailable 253
+#define MGK_MissingDelegateErrorLCMSLibraryIsNotAvailable 254
+#define MGK_MissingDelegateErrorLZWEncodingNotEnabled 255
+#define MGK_MissingDelegateErrorNoDecodeDelegateForThisImageFormat 256
+#define MGK_MissingDelegateErrorNoEncodeDelegateForThisImageFormat 257
+#define MGK_MissingDelegateErrorTIFFLibraryIsNotAvailable 258
+#define MGK_MissingDelegateErrorXMLLibraryIsNotAvailable 259
+#define MGK_MissingDelegateErrorXWindowLibraryIsNotAvailable 260
+#define MGK_MissingDelegateErrorZipLibraryIsNotAvailable 261
+#define MGK_MissingDelegateFatalErrorDefault 262
+#define MGK_MissingDelegateWarningDefault 263
+#define MGK_ModuleErrorFailedToCloseModule 264
+#define MGK_ModuleErrorFailedToFindSymbol 265
+#define MGK_ModuleErrorUnableToLoadModule 266
+#define MGK_ModuleErrorUnableToRegisterImageFormat 267
+#define MGK_ModuleErrorUnrecognizedModule 268
+#define MGK_ModuleFatalErrorUnableToInitializeModuleLoader 269
+#define MGK_ModuleWarningDefault 270
+#define MGK_MonitorErrorDefault 271
+#define MGK_MonitorFatalErrorDefault 272
+#define MGK_MonitorFatalErrorUserRequestedTerminationBySignal 273
+#define MGK_MonitorWarningDefault 274
+#define MGK_OptionErrorBevelWidthIsNegative 275
+#define MGK_OptionErrorColorSeparatedImageRequired 276
+#define MGK_OptionErrorFrameIsLessThanImageSize 277
+#define MGK_OptionErrorGeometryDimensionsAreZero 278
+#define MGK_OptionErrorGeometryDoesNotContainImage 279
+#define MGK_OptionErrorHaldClutImageDimensionsInvalid 280
+#define MGK_OptionErrorImagesAreNotTheSameSize 281
+#define MGK_OptionErrorImageSizeMustExceedBevelWidth 282
+#define MGK_OptionErrorImageSmallerThanKernelWidth 283
+#define MGK_OptionErrorImageSmallerThanRadius 284
+#define MGK_OptionErrorImageWidthsOrHeightsDiffer 285
+#define MGK_OptionErrorInputImagesAlreadySpecified 286
+#define MGK_OptionErrorInvalidSubimageSpecification 287
+#define MGK_OptionErrorKernelRadiusIsTooSmall 288
+#define MGK_OptionErrorKernelWidthMustBeAnOddNumber 289
+#define MGK_OptionErrorMatrixIsNotSquare 290
+#define MGK_OptionErrorMatrixOrderOutOfRange 291
+#define MGK_OptionErrorMissingAnImageFilename 292
+#define MGK_OptionErrorMissingArgument 293
+#define MGK_OptionErrorMustSpecifyAnImageName 294
+#define MGK_OptionErrorMustSpecifyImageSize 295
+#define MGK_OptionErrorNoBlobDefined 296
+#define MGK_OptionErrorNoImagesDefined 297
+#define MGK_OptionErrorNonzeroWidthAndHeightRequired 298
+#define MGK_OptionErrorNoProfileNameWasGiven 299
+#define MGK_OptionErrorNullBlobArgument 300
+#define MGK_OptionErrorReferenceImageRequired 301
+#define MGK_OptionErrorReferenceIsNotMyType 302
+#define MGK_OptionErrorRegionAreaExceedsLimit 303
+#define MGK_OptionErrorRequestDidNotReturnAnImage 304
+#define MGK_OptionErrorSteganoImageRequired 305
+#define MGK_OptionErrorStereoImageRequired 306
+#define MGK_OptionErrorSubimageSpecificationReturnsNoImages 307
+#define MGK_OptionErrorUnableToAddOrRemoveProfile 308
+#define MGK_OptionErrorUnableToAverageImageSequence 309
+#define MGK_OptionErrorUnableToBlurImage 310
+#define MGK_OptionErrorUnableToChopImage 311
+#define MGK_OptionErrorUnableToColorMatrixImage 312
+#define MGK_OptionErrorUnableToConstituteImage 313
+#define MGK_OptionErrorUnableToConvolveImage 314
+#define MGK_OptionErrorUnableToEdgeImage 315
+#define MGK_OptionErrorUnableToEqualizeImage 316
+#define MGK_OptionErrorUnableToFilterImage 317
+#define MGK_OptionErrorUnableToFormatImageMetadata 318
+#define MGK_OptionErrorUnableToFrameImage 319
+#define MGK_OptionErrorUnableToOilPaintImage 320
+#define MGK_OptionErrorUnableToPaintImage 321
+#define MGK_OptionErrorUnableToRaiseImage 322
+#define MGK_OptionErrorUnableToSharpenImage 323
+#define MGK_OptionErrorUnableToThresholdImage 324
+#define MGK_OptionErrorUnableToWaveImage 325
+#define MGK_OptionErrorUnrecognizedAttribute 326
+#define MGK_OptionErrorUnrecognizedChannelType 327
+#define MGK_OptionErrorUnrecognizedColor 328
+#define MGK_OptionErrorUnrecognizedColormapType 329
+#define MGK_OptionErrorUnrecognizedColorspace 330
+#define MGK_OptionErrorUnrecognizedCommand 331
+#define MGK_OptionErrorUnrecognizedComposeOperator 332
+#define MGK_OptionErrorUnrecognizedDisposeMethod 333
+#define MGK_OptionErrorUnrecognizedElement 334
+#define MGK_OptionErrorUnrecognizedEndianType 335
+#define MGK_OptionErrorUnrecognizedGravityType 336
+#define MGK_OptionErrorUnrecognizedHighlightStyle 337
+#define MGK_OptionErrorUnrecognizedImageCompression 338
+#define MGK_OptionErrorUnrecognizedImageFilter 339
+#define MGK_OptionErrorUnrecognizedImageFormat 340
+#define MGK_OptionErrorUnrecognizedImageMode 341
+#define MGK_OptionErrorUnrecognizedImageType 342
+#define MGK_OptionErrorUnrecognizedIntentType 343
+#define MGK_OptionErrorUnrecognizedInterlaceType 344
+#define MGK_OptionErrorUnrecognizedListType 345
+#define MGK_OptionErrorUnrecognizedMetric 346
+#define MGK_OptionErrorUnrecognizedModeType 347
+#define MGK_OptionErrorUnrecognizedNoiseType 348
+#define MGK_OptionErrorUnrecognizedOperator 349
+#define MGK_OptionErrorUnrecognizedOption 350
+#define MGK_OptionErrorUnrecognizedPerlMagickMethod 351
+#define MGK_OptionErrorUnrecognizedPixelMap 352
+#define MGK_OptionErrorUnrecognizedPreviewType 353
+#define MGK_OptionErrorUnrecognizedResourceType 354
+#define MGK_OptionErrorUnrecognizedType 355
+#define MGK_OptionErrorUnrecognizedUnitsType 356
+#define MGK_OptionErrorUnrecognizedVirtualPixelMethod 357
+#define MGK_OptionErrorUnsupportedSamplingFactor 358
+#define MGK_OptionErrorUsageError 359
+#define MGK_OptionFatalErrorInvalidColorspaceType 360
+#define MGK_OptionFatalErrorInvalidEndianType 361
+#define MGK_OptionFatalErrorInvalidImageType 362
+#define MGK_OptionFatalErrorInvalidInterlaceType 363
+#define MGK_OptionFatalErrorMissingAnImageFilename 364
+#define MGK_OptionFatalErrorMissingArgument 365
+#define MGK_OptionFatalErrorNoImagesWereLoaded 366
+#define MGK_OptionFatalErrorOptionLengthExceedsLimit 367
+#define MGK_OptionFatalErrorRequestDidNotReturnAnImage 368
+#define MGK_OptionFatalErrorUnableToOpenXServer 369
+#define MGK_OptionFatalErrorUnableToPersistKey 370
+#define MGK_OptionFatalErrorUnrecognizedColormapType 371
+#define MGK_OptionFatalErrorUnrecognizedColorspaceType 372
+#define MGK_OptionFatalErrorUnrecognizedDisposeMethod 373
+#define MGK_OptionFatalErrorUnrecognizedEndianType 374
+#define MGK_OptionFatalErrorUnrecognizedFilterType 375
+#define MGK_OptionFatalErrorUnrecognizedImageCompressionType 376
+#define MGK_OptionFatalErrorUnrecognizedImageType 377
+#define MGK_OptionFatalErrorUnrecognizedInterlaceType 378
+#define MGK_OptionFatalErrorUnrecognizedOption 379
+#define MGK_OptionFatalErrorUnrecognizedResourceType 380
+#define MGK_OptionFatalErrorUnrecognizedVirtualPixelMethod 381
+#define MGK_OptionWarningUnrecognizedColor 382
+#define MGK_RegistryErrorImageExpected 383
+#define MGK_RegistryErrorImageInfoExpected 384
+#define MGK_RegistryErrorStructureSizeMismatch 385
+#define MGK_RegistryErrorUnableToGetRegistryID 386
+#define MGK_RegistryErrorUnableToLocateImage 387
+#define MGK_RegistryErrorUnableToSetRegistry 388
+#define MGK_RegistryFatalErrorDefault 389
+#define MGK_RegistryWarningDefault 390
+#define MGK_ResourceLimitErrorCacheResourcesExhausted 391
+#define MGK_ResourceLimitErrorImagePixelHeightLimitExceeded 392
+#define MGK_ResourceLimitErrorImagePixelLimitExceeded 393
+#define MGK_ResourceLimitErrorImagePixelWidthLimitExceeded 394
+#define MGK_ResourceLimitErrorMemoryAllocationFailed 395
+#define MGK_ResourceLimitErrorNoPixelsDefinedInCache 396
+#define MGK_ResourceLimitErrorPixelCacheAllocationFailed 397
+#define MGK_ResourceLimitErrorUnableToAddColorProfile 398
+#define MGK_ResourceLimitErrorUnableToAddGenericProfile 399
+#define MGK_ResourceLimitErrorUnableToAddIPTCProfile 400
+#define MGK_ResourceLimitErrorUnableToAddOrRemoveProfile 401
+#define MGK_ResourceLimitErrorUnableToAllocateCoefficients 402
+#define MGK_ResourceLimitErrorUnableToAllocateColormap 403
+#define MGK_ResourceLimitErrorUnableToAllocateICCProfile 404
+#define MGK_ResourceLimitErrorUnableToAllocateImage 405
+#define MGK_ResourceLimitErrorUnableToAllocateString 406
+#define MGK_ResourceLimitErrorUnableToAnnotateImage 407
+#define MGK_ResourceLimitErrorUnableToAverageImageSequence 408
+#define MGK_ResourceLimitErrorUnableToCloneDrawingWand 409
+#define MGK_ResourceLimitErrorUnableToCloneImage 410
+#define MGK_ResourceLimitErrorUnableToComputeImageSignature 411
+#define MGK_ResourceLimitErrorUnableToConstituteImage 412
+#define MGK_ResourceLimitErrorUnableToConvertFont 413
+#define MGK_ResourceLimitErrorUnableToConvertStringToTokens 414
+#define MGK_ResourceLimitErrorUnableToCreateColormap 415
+#define MGK_ResourceLimitErrorUnableToCreateColorTransform 416
+#define MGK_ResourceLimitErrorUnableToCreateCommandWidget 417
+#define MGK_ResourceLimitErrorUnableToCreateImageGroup 418
+#define MGK_ResourceLimitErrorUnableToCreateImageMontage 419
+#define MGK_ResourceLimitErrorUnableToCreateXWindow 420
+#define MGK_ResourceLimitErrorUnableToCropImage 421
+#define MGK_ResourceLimitErrorUnableToDespeckleImage 422
+#define MGK_ResourceLimitErrorUnableToDetermineImageClass 423
+#define MGK_ResourceLimitErrorUnableToDetermineTheNumberOfImageColors 424
+#define MGK_ResourceLimitErrorUnableToDitherImage 425
+#define MGK_ResourceLimitErrorUnableToDrawOnImage 426
+#define MGK_ResourceLimitErrorUnableToEdgeImage 427
+#define MGK_ResourceLimitErrorUnableToEmbossImage 428
+#define MGK_ResourceLimitErrorUnableToEnhanceImage 429
+#define MGK_ResourceLimitErrorUnableToFloodfillImage 430
+#define MGK_ResourceLimitErrorUnableToGammaCorrectImage 431
+#define MGK_ResourceLimitErrorUnableToGetBestIconSize 432
+#define MGK_ResourceLimitErrorUnableToGetFromRegistry 433
+#define MGK_ResourceLimitErrorUnableToGetPackageInfo 434
+#define MGK_ResourceLimitErrorUnableToLevelImage 435
+#define MGK_ResourceLimitErrorUnableToMagnifyImage 436
+#define MGK_ResourceLimitErrorUnableToManageColor 437
+#define MGK_ResourceLimitErrorUnableToMapImage 438
+#define MGK_ResourceLimitErrorUnableToMapImageSequence 439
+#define MGK_ResourceLimitErrorUnableToMedianFilterImage 440
+#define MGK_ResourceLimitErrorUnableToMotionBlurImage 441
+#define MGK_ResourceLimitErrorUnableToNoiseFilterImage 442
+#define MGK_ResourceLimitErrorUnableToNormalizeImage 443
+#define MGK_ResourceLimitErrorUnableToOpenColorProfile 444
+#define MGK_ResourceLimitErrorUnableToQuantizeImage 445
+#define MGK_ResourceLimitErrorUnableToQuantizeImageSequence 446
+#define MGK_ResourceLimitErrorUnableToReadTextChunk 447
+#define MGK_ResourceLimitErrorUnableToReadXImage 448
+#define MGK_ResourceLimitErrorUnableToReadXServerColormap 449
+#define MGK_ResourceLimitErrorUnableToResizeImage 450
+#define MGK_ResourceLimitErrorUnableToRotateImage 451
+#define MGK_ResourceLimitErrorUnableToSampleImage 452
+#define MGK_ResourceLimitErrorUnableToScaleImage 453
+#define MGK_ResourceLimitErrorUnableToSelectImage 454
+#define MGK_ResourceLimitErrorUnableToSharpenImage 455
+#define MGK_ResourceLimitErrorUnableToShaveImage 456
+#define MGK_ResourceLimitErrorUnableToShearImage 457
+#define MGK_ResourceLimitErrorUnableToSortImageColormap 458
+#define MGK_ResourceLimitErrorUnableToThresholdImage 459
+#define MGK_ResourceLimitErrorUnableToTransformColorspace 460
+#define MGK_ResourceLimitFatalErrorMemoryAllocationFailed 461
+#define MGK_ResourceLimitFatalErrorSemaporeOperationFailed 462
+#define MGK_ResourceLimitFatalErrorUnableToAllocateAscii85Info 463
+#define MGK_ResourceLimitFatalErrorUnableToAllocateCacheInfo 464
+#define MGK_ResourceLimitFatalErrorUnableToAllocateCacheView 465
+#define MGK_ResourceLimitFatalErrorUnableToAllocateColorInfo 466
+#define MGK_ResourceLimitFatalErrorUnableToAllocateDashPattern 467
+#define MGK_ResourceLimitFatalErrorUnableToAllocateDelegateInfo 468
+#define MGK_ResourceLimitFatalErrorUnableToAllocateDerivatives 469
+#define MGK_ResourceLimitFatalErrorUnableToAllocateDrawContext 470
+#define MGK_ResourceLimitFatalErrorUnableToAllocateDrawInfo 471
+#define MGK_ResourceLimitFatalErrorUnableToAllocateDrawingWand 472
+#define MGK_ResourceLimitFatalErrorUnableToAllocateGammaMap 473
+#define MGK_ResourceLimitFatalErrorUnableToAllocateImage 474
+#define MGK_ResourceLimitFatalErrorUnableToAllocateImagePixels 475
+#define MGK_ResourceLimitFatalErrorUnableToAllocateLogInfo 476
+#define MGK_ResourceLimitFatalErrorUnableToAllocateMagicInfo 477
+#define MGK_ResourceLimitFatalErrorUnableToAllocateMagickInfo 478
+#define MGK_ResourceLimitFatalErrorUnableToAllocateMagickMap 479
+#define MGK_ResourceLimitFatalErrorUnableToAllocateModuleInfo 480
+#define MGK_ResourceLimitFatalErrorUnableToAllocateMontageInfo 481
+#define MGK_ResourceLimitFatalErrorUnableToAllocateQuantizeInfo 482
+#define MGK_ResourceLimitFatalErrorUnableToAllocateRandomKernel 483
+#define MGK_ResourceLimitFatalErrorUnableToAllocateRegistryInfo 484
+#define MGK_ResourceLimitFatalErrorUnableToAllocateSemaphoreInfo 485
+#define MGK_ResourceLimitFatalErrorUnableToAllocateString 486
+#define MGK_ResourceLimitFatalErrorUnableToAllocateTypeInfo 487
+#define MGK_ResourceLimitFatalErrorUnableToAllocateWand 488
+#define MGK_ResourceLimitFatalErrorUnableToAnimateImageSequence 489
+#define MGK_ResourceLimitFatalErrorUnableToCloneBlobInfo 490
+#define MGK_ResourceLimitFatalErrorUnableToCloneCacheInfo 491
+#define MGK_ResourceLimitFatalErrorUnableToCloneImage 492
+#define MGK_ResourceLimitFatalErrorUnableToCloneImageInfo 493
+#define MGK_ResourceLimitFatalErrorUnableToConcatenateString 494
+#define MGK_ResourceLimitFatalErrorUnableToConvertText 495
+#define MGK_ResourceLimitFatalErrorUnableToCreateColormap 496
+#define MGK_ResourceLimitFatalErrorUnableToDestroySemaphore 497
+#define MGK_ResourceLimitFatalErrorUnableToDisplayImage 498
+#define MGK_ResourceLimitFatalErrorUnableToEscapeString 499
+#define MGK_ResourceLimitFatalErrorUnableToInitializeSemaphore 500
+#define MGK_ResourceLimitFatalErrorUnableToInterpretMSLImage 501
+#define MGK_ResourceLimitFatalErrorUnableToLockSemaphore 502
+#define MGK_ResourceLimitFatalErrorUnableToObtainRandomEntropy 503
+#define MGK_ResourceLimitFatalErrorUnableToUnlockSemaphore 504
+#define MGK_ResourceLimitWarningMemoryAllocationFailed 505
+#define MGK_StreamErrorImageDoesNotContainTheStreamGeometry 506
+#define MGK_StreamErrorNoStreamHandlerIsDefined 507
+#define MGK_StreamErrorPixelCacheIsNotOpen 508
+#define MGK_StreamErrorUnableToAcquirePixelStream 509
+#define MGK_StreamErrorUnableToSetPixelStream 510
+#define MGK_StreamErrorUnableToSyncPixelStream 511
+#define MGK_StreamFatalErrorDefault 512
+#define MGK_StreamWarningDefault 513
+#define MGK_TypeErrorFontSubstitutionRequired 514
+#define MGK_TypeErrorUnableToGetTypeMetrics 515
+#define MGK_TypeErrorUnableToInitializeFreetypeLibrary 516
+#define MGK_TypeErrorUnableToReadFont 517
+#define MGK_TypeErrorUnrecognizedFontEncoding 518
+#define MGK_TypeFatalErrorDefault 519
+#define MGK_TypeWarningDefault 520
+#define MGK_WandErrorInvalidColormapIndex 521
+#define MGK_WandErrorWandAPINotImplemented 522
+#define MGK_WandErrorWandContainsNoImageIndexs 523
+#define MGK_WandErrorWandContainsNoImages 524
+#define MGK_XServerErrorColorIsNotKnownToServer 525
+#define MGK_XServerErrorNoWindowWithSpecifiedIDExists 526
+#define MGK_XServerErrorStandardColormapIsNotInitialized 527
+#define MGK_XServerErrorUnableToConnectToRemoteDisplay 528
+#define MGK_XServerErrorUnableToCreateBitmap 529
+#define MGK_XServerErrorUnableToCreateColormap 530
+#define MGK_XServerErrorUnableToCreatePixmap 531
+#define MGK_XServerErrorUnableToCreateProperty 532
+#define MGK_XServerErrorUnableToCreateStandardColormap 533
+#define MGK_XServerErrorUnableToDisplayImageInfo 534
+#define MGK_XServerErrorUnableToGetProperty 535
+#define MGK_XServerErrorUnableToGetStandardColormap 536
+#define MGK_XServerErrorUnableToGetVisual 537
+#define MGK_XServerErrorUnableToGrabMouse 538
+#define MGK_XServerErrorUnableToLoadFont 539
+#define MGK_XServerErrorUnableToMatchVisualToStandardColormap 540
+#define MGK_XServerErrorUnableToOpenXServer 541
+#define MGK_XServerErrorUnableToReadXAttributes 542
+#define MGK_XServerErrorUnableToReadXWindowImage 543
+#define MGK_XServerErrorUnrecognizedColormapType 544
+#define MGK_XServerErrorUnrecognizedGravityType 545
+#define MGK_XServerErrorUnrecognizedVisualSpecifier 546
+#define MGK_XServerFatalErrorUnableToAllocateXHints 547
+#define MGK_XServerFatalErrorUnableToCreateCursor 548
+#define MGK_XServerFatalErrorUnableToCreateGraphicContext 549
+#define MGK_XServerFatalErrorUnableToCreateStandardColormap 550
+#define MGK_XServerFatalErrorUnableToCreateTextProperty 551
+#define MGK_XServerFatalErrorUnableToCreateXImage 552
+#define MGK_XServerFatalErrorUnableToCreateXPixmap 553
+#define MGK_XServerFatalErrorUnableToCreateXWindow 554
+#define MGK_XServerFatalErrorUnableToDisplayImage 555
+#define MGK_XServerFatalErrorUnableToDitherImage 556
+#define MGK_XServerFatalErrorUnableToGetPixelInfo 557
+#define MGK_XServerFatalErrorUnableToGetVisual 558
+#define MGK_XServerFatalErrorUnableToLoadFont 559
+#define MGK_XServerFatalErrorUnableToMakeXWindow 560
+#define MGK_XServerFatalErrorUnableToOpenXServer 561
+#define MGK_XServerFatalErrorUnableToViewFonts 562
+#define MGK_XServerWarningUnableToGetVisual 563
+#define MGK_XServerWarningUsingDefaultVisual 564
 
 #endif
 
@@ -634,37 +637,37 @@
     { "File/Open/FatalError", 210, FileOpenFatalError },
     { "File/Open/Warning", 211, FileOpenWarning },
     { "Image/Error", 212, ImageError },
-    { "Image/FatalError", 244, ImageFatalError },
-    { "Image/Warning", 245, ImageWarning },
-    { "Missing/Delegate/Error", 246, MissingDelegateError },
-    { "Missing/Delegate/FatalError", 258, MissingDelegateFatalError },
-    { "Missing/Delegate/Warning", 259, MissingDelegateWarning },
-    { "Module/Error", 260, ModuleError },
-    { "Module/FatalError", 265, ModuleFatalError },
-    { "Module/Warning", 266, ModuleWarning },
-    { "Monitor/Error", 267, MonitorError },
-    { "Monitor/FatalError", 268, MonitorFatalError },
-    { "Monitor/Warning", 270, MonitorWarning },
-    { "Option/Error", 271, OptionError },
-    { "Option/FatalError", 356, OptionFatalError },
-    { "Option/Warning", 378, OptionWarning },
-    { "Registry/Error", 379, RegistryError },
-    { "Registry/FatalError", 385, RegistryFatalError },
-    { "Registry/Warning", 386, RegistryWarning },
-    { "Resource/Limit/Error", 387, ResourceLimitError },
-    { "Resource/Limit/FatalError", 457, ResourceLimitFatalError },
-    { "Resource/Limit/Warning", 501, ResourceLimitWarning },
-    { "Stream/Error", 502, StreamError },
-    { "Stream/FatalError", 508, StreamFatalError },
-    { "Stream/Warning", 509, StreamWarning },
-    { "Type/Error", 510, TypeError },
-    { "Type/FatalError", 515, TypeFatalError },
-    { "Type/Warning", 516, TypeWarning },
-    { "Wand/Error", 517, WandError },
-    { "XServer/Error", 521, XServerError },
-    { "XServer/FatalError", 543, XServerFatalError },
-    { "XServer/Warning", 559, XServerWarning },
-    { 0, 561, UndefinedException }
+    { "Image/FatalError", 247, ImageFatalError },
+    { "Image/Warning", 248, ImageWarning },
+    { "Missing/Delegate/Error", 249, MissingDelegateError },
+    { "Missing/Delegate/FatalError", 261, MissingDelegateFatalError },
+    { "Missing/Delegate/Warning", 262, MissingDelegateWarning },
+    { "Module/Error", 263, ModuleError },
+    { "Module/FatalError", 268, ModuleFatalError },
+    { "Module/Warning", 269, ModuleWarning },
+    { "Monitor/Error", 270, MonitorError },
+    { "Monitor/FatalError", 271, MonitorFatalError },
+    { "Monitor/Warning", 273, MonitorWarning },
+    { "Option/Error", 274, OptionError },
+    { "Option/FatalError", 359, OptionFatalError },
+    { "Option/Warning", 381, OptionWarning },
+    { "Registry/Error", 382, RegistryError },
+    { "Registry/FatalError", 388, RegistryFatalError },
+    { "Registry/Warning", 389, RegistryWarning },
+    { "Resource/Limit/Error", 390, ResourceLimitError },
+    { "Resource/Limit/FatalError", 460, ResourceLimitFatalError },
+    { "Resource/Limit/Warning", 504, ResourceLimitWarning },
+    { "Stream/Error", 505, StreamError },
+    { "Stream/FatalError", 511, StreamFatalError },
+    { "Stream/Warning", 512, StreamWarning },
+    { "Type/Error", 513, TypeError },
+    { "Type/FatalError", 518, TypeFatalError },
+    { "Type/Warning", 519, TypeWarning },
+    { "Wand/Error", 520, WandError },
+    { "XServer/Error", 524, XServerError },
+    { "XServer/FatalError", 546, XServerFatalError },
+    { "XServer/Warning", 562, XServerWarning },
+    { 0, 564, UndefinedException }
   };
 #endif
 
@@ -890,354 +893,357 @@
     { "Default", 211 },
     { "Default", 212 },
     { "AngleIsDiscontinuous", 213 },
-    { "ColorspaceColorProfileMismatch", 214 },
-    { "ImageColorspaceDiffers", 215 },
-    { "ImageColorspaceMismatch", 216 },
-    { "ImageDifferenceExceedsLimit", 217 },
-    { "ImageDoesNotContainResolution", 218 },
-    { "ImageIsNotColormapped", 219 },
-    { "ImageOpacityDiffers", 220 },
-    { "ImageSequenceIsRequired", 221 },
-    { "ImageSizeDiffers", 222 },
-    { "InvalidColormapIndex", 223 },
-    { "LeftAndRightImageSizesDiffer", 224 },
-    { "NoImagesWereFound", 225 },
-    { "NoImagesWereLoaded", 226 },
-    { "NoLocaleImageAttribute", 227 },
-    { "TooManyClusters", 228 },
-    { "UnableToAppendImage", 229 },
-    { "UnableToAssignProfile", 230 },
-    { "UnableToAverageImage", 231 },
-    { "UnableToCoalesceImage", 232 },
-    { "UnableToCompareImages", 233 },
-    { "UnableToCreateImageMosaic", 234 },
-    { "UnableToCreateStereoImage", 235 },
-    { "UnableToDeconstructImageSequence", 236 },
-    { "UnableToFlattenImage", 237 },
-    { "UnableToGetClipMask", 238 },
-    { "UnableToHandleImageChannel", 239 },
-    { "UnableToResizeImage", 240 },
-    { "UnableToSegmentImage", 241 },
-    { "UnableToSetClipMask", 242 },
-    { "UnableToShearImage", 243 },
-    { "WidthOrHeightExceedsLimit", 244 },
-    { "UnableToPersistKey", 245 },
-    { "Default", 246 },
-    { "DPSLibraryIsNotAvailable", 247 },
-    { "FPXLibraryIsNotAvailable", 248 },
-    { "FreeTypeLibraryIsNotAvailable", 249 },
-    { "JPEGLibraryIsNotAvailable", 250 },
-    { "LCMSLibraryIsNotAvailable", 251 },
-    { "LZWEncodingNotEnabled", 252 },
-    { "NoDecodeDelegateForThisImageFormat", 253 },
-    { "NoEncodeDelegateForThisImageFormat", 254 },
-    { "TIFFLibraryIsNotAvailable", 255 },
-    { "XMLLibraryIsNotAvailable", 256 },
-    { "XWindowLibraryIsNotAvailable", 257 },
-    { "ZipLibraryIsNotAvailable", 258 },
-    { "Default", 259 },
-    { "Default", 260 },
-    { "FailedToCloseModule", 261 },
-    { "FailedToFindSymbol", 262 },
-    { "UnableToLoadModule", 263 },
-    { "UnableToRegisterImageFormat", 264 },
-    { "UnrecognizedModule", 265 },
-    { "UnableToInitializeModuleLoader", 266 },
-    { "Default", 267 },
-    { "Default", 268 },
-    { "Default", 269 },
-    { "UserRequestedTerminationBySignal", 270 },
+    { "CMYKAImageLacksAlphaChannel", 214 },
+    { "ColorspaceColorProfileMismatch", 215 },
+    { "ImageColorspaceDiffers", 216 },
+    { "ImageColorspaceMismatch", 217 },
+    { "ImageDifferenceExceedsLimit", 218 },
+    { "ImageDoesNotContainResolution", 219 },
+    { "ImageIsNotColormapped", 220 },
+    { "ImageOpacityDiffers", 221 },
+    { "ImageSequenceIsRequired", 222 },
+    { "ImageSizeDiffers", 223 },
+    { "InvalidColormapIndex", 224 },
+    { "LeftAndRightImageSizesDiffer", 225 },
+    { "NoImagesWereFound", 226 },
+    { "NoImagesWereLoaded", 227 },
+    { "NoLocaleImageAttribute", 228 },
+    { "TooManyClusters", 229 },
+    { "UnableToAppendImage", 230 },
+    { "UnableToAssignProfile", 231 },
+    { "UnableToAverageImage", 232 },
+    { "UnableToCoalesceImage", 233 },
+    { "UnableToCompareImages", 234 },
+    { "UnableToCreateImageMosaic", 235 },
+    { "UnableToCreateStereoImage", 236 },
+    { "UnableToDeconstructImageSequence", 237 },
+    { "UnableToExportImagePixels", 238 },
+    { "UnableToFlattenImage", 239 },
+    { "UnableToGetClipMask", 240 },
+    { "UnableToHandleImageChannel", 241 },
+    { "UnableToImportImagePixels", 242 },
+    { "UnableToResizeImage", 243 },
+    { "UnableToSegmentImage", 244 },
+    { "UnableToSetClipMask", 245 },
+    { "UnableToShearImage", 246 },
+    { "WidthOrHeightExceedsLimit", 247 },
+    { "UnableToPersistKey", 248 },
+    { "Default", 249 },
+    { "DPSLibraryIsNotAvailable", 250 },
+    { "FPXLibraryIsNotAvailable", 251 },
+    { "FreeTypeLibraryIsNotAvailable", 252 },
+    { "JPEGLibraryIsNotAvailable", 253 },
+    { "LCMSLibraryIsNotAvailable", 254 },
+    { "LZWEncodingNotEnabled", 255 },
+    { "NoDecodeDelegateForThisImageFormat", 256 },
+    { "NoEncodeDelegateForThisImageFormat", 257 },
+    { "TIFFLibraryIsNotAvailable", 258 },
+    { "XMLLibraryIsNotAvailable", 259 },
+    { "XWindowLibraryIsNotAvailable", 260 },
+    { "ZipLibraryIsNotAvailable", 261 },
+    { "Default", 262 },
+    { "Default", 263 },
+    { "FailedToCloseModule", 264 },
+    { "FailedToFindSymbol", 265 },
+    { "UnableToLoadModule", 266 },
+    { "UnableToRegisterImageFormat", 267 },
+    { "UnrecognizedModule", 268 },
+    { "UnableToInitializeModuleLoader", 269 },
+    { "Default", 270 },
     { "Default", 271 },
-    { "BevelWidthIsNegative", 272 },
-    { "ColorSeparatedImageRequired", 273 },
-    { "FrameIsLessThanImageSize", 274 },
-    { "GeometryDimensionsAreZero", 275 },
-    { "GeometryDoesNotContainImage", 276 },
-    { "HaldClutImageDimensionsInvalid", 277 },
-    { "ImagesAreNotTheSameSize", 278 },
-    { "ImageSizeMustExceedBevelWidth", 279 },
-    { "ImageSmallerThanKernelWidth", 280 },
-    { "ImageSmallerThanRadius", 281 },
-    { "ImageWidthsOrHeightsDiffer", 282 },
-    { "InputImagesAlreadySpecified", 283 },
-    { "InvalidSubimageSpecification", 284 },
-    { "KernelRadiusIsTooSmall", 285 },
-    { "KernelWidthMustBeAnOddNumber", 286 },
-    { "MatrixIsNotSquare", 287 },
-    { "MatrixOrderOutOfRange", 288 },
-    { "MissingAnImageFilename", 289 },
-    { "MissingArgument", 290 },
-    { "MustSpecifyAnImageName", 291 },
-    { "MustSpecifyImageSize", 292 },
-    { "NoBlobDefined", 293 },
-    { "NoImagesDefined", 294 },
-    { "NonzeroWidthAndHeightRequired", 295 },
-    { "NoProfileNameWasGiven", 296 },
-    { "NullBlobArgument", 297 },
-    { "ReferenceImageRequired", 298 },
-    { "ReferenceIsNotMyType", 299 },
-    { "RegionAreaExceedsLimit", 300 },
-    { "RequestDidNotReturnAnImage", 301 },
-    { "SteganoImageRequired", 302 },
-    { "StereoImageRequired", 303 },
-    { "SubimageSpecificationReturnsNoImages", 304 },
-    { "UnableToAddOrRemoveProfile", 305 },
-    { "UnableToAverageImageSequence", 306 },
-    { "UnableToBlurImage", 307 },
-    { "UnableToChopImage", 308 },
-    { "UnableToColorMatrixImage", 309 },
-    { "UnableToConstituteImage", 310 },
-    { "UnableToConvolveImage", 311 },
-    { "UnableToEdgeImage", 312 },
-    { "UnableToEqualizeImage", 313 },
-    { "UnableToFilterImage", 314 },
-    { "UnableToFormatImageMetadata", 315 },
-    { "UnableToFrameImage", 316 },
-    { "UnableToOilPaintImage", 317 },
-    { "UnableToPaintImage", 318 },
-    { "UnableToRaiseImage", 319 },
-    { "UnableToSharpenImage", 320 },
-    { "UnableToThresholdImage", 321 },
-    { "UnableToWaveImage", 322 },
-    { "UnrecognizedAttribute", 323 },
-    { "UnrecognizedChannelType", 324 },
-    { "UnrecognizedColor", 325 },
-    { "UnrecognizedColormapType", 326 },
-    { "UnrecognizedColorspace", 327 },
-    { "UnrecognizedCommand", 328 },
-    { "UnrecognizedComposeOperator", 329 },
-    { "UnrecognizedDisposeMethod", 330 },
-    { "UnrecognizedElement", 331 },
-    { "UnrecognizedEndianType", 332 },
-    { "UnrecognizedGravityType", 333 },
-    { "UnrecognizedHighlightStyle", 334 },
-    { "UnrecognizedImageCompression", 335 },
-    { "UnrecognizedImageFilter", 336 },
-    { "UnrecognizedImageFormat", 337 },
-    { "UnrecognizedImageMode", 338 },
-    { "UnrecognizedImageType", 339 },
-    { "UnrecognizedIntentType", 340 },
-    { "UnrecognizedInterlaceType", 341 },
-    { "UnrecognizedListType", 342 },
-    { "UnrecognizedMetric", 343 },
-    { "UnrecognizedModeType", 344 },
-    { "UnrecognizedNoiseType", 345 },
-    { "UnrecognizedOperator", 346 },
-    { "UnrecognizedOption", 347 },
-    { "UnrecognizedPerlMagickMethod", 348 },
-    { "UnrecognizedPixelMap", 349 },
-    { "UnrecognizedPreviewType", 350 },
-    { "UnrecognizedResourceType", 351 },
-    { "UnrecognizedType", 352 },
-    { "UnrecognizedUnitsType", 353 },
-    { "UnrecognizedVirtualPixelMethod", 354 },
-    { "UnsupportedSamplingFactor", 355 },
-    { "UsageError", 356 },
-    { "InvalidColorspaceType", 357 },
-    { "InvalidEndianType", 358 },
-    { "InvalidImageType", 359 },
-    { "InvalidInterlaceType", 360 },
-    { "MissingAnImageFilename", 361 },
-    { "MissingArgument", 362 },
-    { "NoImagesWereLoaded", 363 },
-    { "OptionLengthExceedsLimit", 364 },
-    { "RequestDidNotReturnAnImage", 365 },
-    { "UnableToOpenXServer", 366 },
-    { "UnableToPersistKey", 367 },
-    { "UnrecognizedColormapType", 368 },
-    { "UnrecognizedColorspaceType", 369 },
-    { "UnrecognizedDisposeMethod", 370 },
-    { "UnrecognizedEndianType", 371 },
-    { "UnrecognizedFilterType", 372 },
-    { "UnrecognizedImageCompressionType", 373 },
-    { "UnrecognizedImageType", 374 },
-    { "UnrecognizedInterlaceType", 375 },
-    { "UnrecognizedOption", 376 },
-    { "UnrecognizedResourceType", 377 },
-    { "UnrecognizedVirtualPixelMethod", 378 },
-    { "UnrecognizedColor", 379 },
-    { "ImageExpected", 380 },
-    { "ImageInfoExpected", 381 },
-    { "StructureSizeMismatch", 382 },
-    { "UnableToGetRegistryID", 383 },
-    { "UnableToLocateImage", 384 },
-    { "UnableToSetRegistry", 385 },
-    { "Default", 386 },
-    { "Default", 387 },
-    { "CacheResourcesExhausted", 388 },
-    { "ImagePixelHeightLimitExceeded", 389 },
-    { "ImagePixelLimitExceeded", 390 },
-    { "ImagePixelWidthLimitExceeded", 391 },
-    { "MemoryAllocationFailed", 392 },
-    { "NoPixelsDefinedInCache", 393 },
-    { "PixelCacheAllocationFailed", 394 },
-    { "UnableToAddColorProfile", 395 },
-    { "UnableToAddGenericProfile", 396 },
-    { "UnableToAddIPTCProfile", 397 },
-    { "UnableToAddOrRemoveProfile", 398 },
-    { "UnableToAllocateCoefficients", 399 },
-    { "UnableToAllocateColormap", 400 },
-    { "UnableToAllocateICCProfile", 401 },
-    { "UnableToAllocateImage", 402 },
-    { "UnableToAllocateString", 403 },
-    { "UnableToAnnotateImage", 404 },
-    { "UnableToAverageImageSequence", 405 },
-    { "UnableToCloneDrawingWand", 406 },
-    { "UnableToCloneImage", 407 },
-    { "UnableToComputeImageSignature", 408 },
-    { "UnableToConstituteImage", 409 },
-    { "UnableToConvertFont", 410 },
-    { "UnableToConvertStringToTokens", 411 },
-    { "UnableToCreateColormap", 412 },
-    { "UnableToCreateColorTransform", 413 },
-    { "UnableToCreateCommandWidget", 414 },
-    { "UnableToCreateImageGroup", 415 },
-    { "UnableToCreateImageMontage", 416 },
-    { "UnableToCreateXWindow", 417 },
-    { "UnableToCropImage", 418 },
-    { "UnableToDespeckleImage", 419 },
-    { "UnableToDetermineImageClass", 420 },
-    { "UnableToDetermineTheNumberOfImageColors", 421 },
-    { "UnableToDitherImage", 422 },
-    { "UnableToDrawOnImage", 423 },
-    { "UnableToEdgeImage", 424 },
-    { "UnableToEmbossImage", 425 },
-    { "UnableToEnhanceImage", 426 },
-    { "UnableToFloodfillImage", 427 },
-    { "UnableToGammaCorrectImage", 428 },
-    { "UnableToGetBestIconSize", 429 },
-    { "UnableToGetFromRegistry", 430 },
-    { "UnableToGetPackageInfo", 431 },
-    { "UnableToLevelImage", 432 },
-    { "UnableToMagnifyImage", 433 },
-    { "UnableToManageColor", 434 },
-    { "UnableToMapImage", 435 },
-    { "UnableToMapImageSequence", 436 },
-    { "UnableToMedianFilterImage", 437 },
-    { "UnableToMotionBlurImage", 438 },
-    { "UnableToNoiseFilterImage", 439 },
-    { "UnableToNormalizeImage", 440 },
-    { "UnableToOpenColorProfile", 441 },
-    { "UnableToQuantizeImage", 442 },
-    { "UnableToQuantizeImageSequence", 443 },
-    { "UnableToReadTextChunk", 444 },
-    { "UnableToReadXImage", 445 },
-    { "UnableToReadXServerColormap", 446 },
-    { "UnableToResizeImage", 447 },
-    { "UnableToRotateImage", 448 },
-    { "UnableToSampleImage", 449 },
-    { "UnableToScaleImage", 450 },
-    { "UnableToSelectImage", 451 },
-    { "UnableToSharpenImage", 452 },
-    { "UnableToShaveImage", 453 },
-    { "UnableToShearImage", 454 },
-    { "UnableToSortImageColormap", 455 },
-    { "UnableToThresholdImage", 456 },
-    { "UnableToTransformColorspace", 457 },
-    { "MemoryAllocationFailed", 458 },
-    { "SemaporeOperationFailed", 459 },
-    { "UnableToAllocateAscii85Info", 460 },
-    { "UnableToAllocateCacheInfo", 461 },
-    { "UnableToAllocateCacheView", 462 },
-    { "UnableToAllocateColorInfo", 463 },
-    { "UnableToAllocateDashPattern", 464 },
-    { "UnableToAllocateDelegateInfo", 465 },
-    { "UnableToAllocateDerivatives", 466 },
-    { "UnableToAllocateDrawContext", 467 },
-    { "UnableToAllocateDrawInfo", 468 },
-    { "UnableToAllocateDrawingWand", 469 },
-    { "UnableToAllocateGammaMap", 470 },
-    { "UnableToAllocateImage", 471 },
-    { "UnableToAllocateImagePixels", 472 },
-    { "UnableToAllocateLogInfo", 473 },
-    { "UnableToAllocateMagicInfo", 474 },
-    { "UnableToAllocateMagickInfo", 475 },
-    { "UnableToAllocateMagickMap", 476 },
-    { "UnableToAllocateModuleInfo", 477 },
-    { "UnableToAllocateMontageInfo", 478 },
-    { "UnableToAllocateQuantizeInfo", 479 },
-    { "UnableToAllocateRandomKernel", 480 },
-    { "UnableToAllocateRegistryInfo", 481 },
-    { "UnableToAllocateSemaphoreInfo", 482 },
-    { "UnableToAllocateString", 483 },
-    { "UnableToAllocateTypeInfo", 484 },
-    { "UnableToAllocateWand", 485 },
-    { "UnableToAnimateImageSequence", 486 },
-    { "UnableToCloneBlobInfo", 487 },
-    { "UnableToCloneCacheInfo", 488 },
-    { "UnableToCloneImage", 489 },
-    { "UnableToCloneImageInfo", 490 },
-    { "UnableToConcatenateString", 491 },
-    { "UnableToConvertText", 492 },
-    { "UnableToCreateColormap", 493 },
-    { "UnableToDestroySemaphore", 494 },
-    { "UnableToDisplayImage", 495 },
-    { "UnableToEscapeString", 496 },
-    { "UnableToInitializeSemaphore", 497 },
-    { "UnableToInterpretMSLImage", 498 },
-    { "UnableToLockSemaphore", 499 },
-    { "UnableToObtainRandomEntropy", 500 },
-    { "UnableToUnlockSemaphore", 501 },
-    { "MemoryAllocationFailed", 502 },
-    { "ImageDoesNotContainTheStreamGeometry", 503 },
-    { "NoStreamHandlerIsDefined", 504 },
-    { "PixelCacheIsNotOpen", 505 },
-    { "UnableToAcquirePixelStream", 506 },
-    { "UnableToSetPixelStream", 507 },
-    { "UnableToSyncPixelStream", 508 },
-    { "Default", 509 },
-    { "Default", 510 },
-    { "FontSubstitutionRequired", 511 },
-    { "UnableToGetTypeMetrics", 512 },
-    { "UnableToInitializeFreetypeLibrary", 513 },
-    { "UnableToReadFont", 514 },
-    { "UnrecognizedFontEncoding", 515 },
-    { "Default", 516 },
-    { "Default", 517 },
-    { "InvalidColormapIndex", 518 },
-    { "WandAPINotImplemented", 519 },
-    { "WandContainsNoImageIndexs", 520 },
-    { "WandContainsNoImages", 521 },
-    { "ColorIsNotKnownToServer", 522 },
-    { "NoWindowWithSpecifiedIDExists", 523 },
-    { "StandardColormapIsNotInitialized", 524 },
-    { "UnableToConnectToRemoteDisplay", 525 },
-    { "UnableToCreateBitmap", 526 },
-    { "UnableToCreateColormap", 527 },
-    { "UnableToCreatePixmap", 528 },
-    { "UnableToCreateProperty", 529 },
-    { "UnableToCreateStandardColormap", 530 },
-    { "UnableToDisplayImageInfo", 531 },
-    { "UnableToGetProperty", 532 },
-    { "UnableToGetStandardColormap", 533 },
-    { "UnableToGetVisual", 534 },
-    { "UnableToGrabMouse", 535 },
-    { "UnableToLoadFont", 536 },
-    { "UnableToMatchVisualToStandardColormap", 537 },
-    { "UnableToOpenXServer", 538 },
-    { "UnableToReadXAttributes", 539 },
-    { "UnableToReadXWindowImage", 540 },
-    { "UnrecognizedColormapType", 541 },
-    { "UnrecognizedGravityType", 542 },
-    { "UnrecognizedVisualSpecifier", 543 },
-    { "UnableToAllocateXHints", 544 },
-    { "UnableToCreateCursor", 545 },
-    { "UnableToCreateGraphicContext", 546 },
-    { "UnableToCreateStandardColormap", 547 },
-    { "UnableToCreateTextProperty", 548 },
-    { "UnableToCreateXImage", 549 },
-    { "UnableToCreateXPixmap", 550 },
-    { "UnableToCreateXWindow", 551 },
-    { "UnableToDisplayImage", 552 },
-    { "UnableToDitherImage", 553 },
-    { "UnableToGetPixelInfo", 554 },
-    { "UnableToGetVisual", 555 },
-    { "UnableToLoadFont", 556 },
-    { "UnableToMakeXWindow", 557 },
-    { "UnableToOpenXServer", 558 },
-    { "UnableToViewFonts", 559 },
-    { "UnableToGetVisual", 560 },
-    { "UsingDefaultVisual", 561 },
+    { "Default", 272 },
+    { "UserRequestedTerminationBySignal", 273 },
+    { "Default", 274 },
+    { "BevelWidthIsNegative", 275 },
+    { "ColorSeparatedImageRequired", 276 },
+    { "FrameIsLessThanImageSize", 277 },
+    { "GeometryDimensionsAreZero", 278 },
+    { "GeometryDoesNotContainImage", 279 },
+    { "HaldClutImageDimensionsInvalid", 280 },
+    { "ImagesAreNotTheSameSize", 281 },
+    { "ImageSizeMustExceedBevelWidth", 282 },
+    { "ImageSmallerThanKernelWidth", 283 },
+    { "ImageSmallerThanRadius", 284 },
+    { "ImageWidthsOrHeightsDiffer", 285 },
+    { "InputImagesAlreadySpecified", 286 },
+    { "InvalidSubimageSpecification", 287 },
+    { "KernelRadiusIsTooSmall", 288 },
+    { "KernelWidthMustBeAnOddNumber", 289 },
+    { "MatrixIsNotSquare", 290 },
+    { "MatrixOrderOutOfRange", 291 },
+    { "MissingAnImageFilename", 292 },
+    { "MissingArgument", 293 },
+    { "MustSpecifyAnImageName", 294 },
+    { "MustSpecifyImageSize", 295 },
+    { "NoBlobDefined", 296 },
+    { "NoImagesDefined", 297 },
+    { "NonzeroWidthAndHeightRequired", 298 },
+    { "NoProfileNameWasGiven", 299 },
+    { "NullBlobArgument", 300 },
+    { "ReferenceImageRequired", 301 },
+    { "ReferenceIsNotMyType", 302 },
+    { "RegionAreaExceedsLimit", 303 },
+    { "RequestDidNotReturnAnImage", 304 },
+    { "SteganoImageRequired", 305 },
+    { "StereoImageRequired", 306 },
+    { "SubimageSpecificationReturnsNoImages", 307 },
+    { "UnableToAddOrRemoveProfile", 308 },
+    { "UnableToAverageImageSequence", 309 },
+    { "UnableToBlurImage", 310 },
+    { "UnableToChopImage", 311 },
+    { "UnableToColorMatrixImage", 312 },
+    { "UnableToConstituteImage", 313 },
+    { "UnableToConvolveImage", 314 },
+    { "UnableToEdgeImage", 315 },
+    { "UnableToEqualizeImage", 316 },
+    { "UnableToFilterImage", 317 },
+    { "UnableToFormatImageMetadata", 318 },
+    { "UnableToFrameImage", 319 },
+    { "UnableToOilPaintImage", 320 },
+    { "UnableToPaintImage", 321 },
+    { "UnableToRaiseImage", 322 },
+    { "UnableToSharpenImage", 323 },
+    { "UnableToThresholdImage", 324 },
+    { "UnableToWaveImage", 325 },
+    { "UnrecognizedAttribute", 326 },
+    { "UnrecognizedChannelType", 327 },
+    { "UnrecognizedColor", 328 },
+    { "UnrecognizedColormapType", 329 },
+    { "UnrecognizedColorspace", 330 },
+    { "UnrecognizedCommand", 331 },
+    { "UnrecognizedComposeOperator", 332 },
+    { "UnrecognizedDisposeMethod", 333 },
+    { "UnrecognizedElement", 334 },
+    { "UnrecognizedEndianType", 335 },
+    { "UnrecognizedGravityType", 336 },
+    { "UnrecognizedHighlightStyle", 337 },
+    { "UnrecognizedImageCompression", 338 },
+    { "UnrecognizedImageFilter", 339 },
+    { "UnrecognizedImageFormat", 340 },
+    { "UnrecognizedImageMode", 341 },
+    { "UnrecognizedImageType", 342 },
+    { "UnrecognizedIntentType", 343 },
+    { "UnrecognizedInterlaceType", 344 },
+    { "UnrecognizedListType", 345 },
+    { "UnrecognizedMetric", 346 },
+    { "UnrecognizedModeType", 347 },
+    { "UnrecognizedNoiseType", 348 },
+    { "UnrecognizedOperator", 349 },
+    { "UnrecognizedOption", 350 },
+    { "UnrecognizedPerlMagickMethod", 351 },
+    { "UnrecognizedPixelMap", 352 },
+    { "UnrecognizedPreviewType", 353 },
+    { "UnrecognizedResourceType", 354 },
+    { "UnrecognizedType", 355 },
+    { "UnrecognizedUnitsType", 356 },
+    { "UnrecognizedVirtualPixelMethod", 357 },
+    { "UnsupportedSamplingFactor", 358 },
+    { "UsageError", 359 },
+    { "InvalidColorspaceType", 360 },
+    { "InvalidEndianType", 361 },
+    { "InvalidImageType", 362 },
+    { "InvalidInterlaceType", 363 },
+    { "MissingAnImageFilename", 364 },
+    { "MissingArgument", 365 },
+    { "NoImagesWereLoaded", 366 },
+    { "OptionLengthExceedsLimit", 367 },
+    { "RequestDidNotReturnAnImage", 368 },
+    { "UnableToOpenXServer", 369 },
+    { "UnableToPersistKey", 370 },
+    { "UnrecognizedColormapType", 371 },
+    { "UnrecognizedColorspaceType", 372 },
+    { "UnrecognizedDisposeMethod", 373 },
+    { "UnrecognizedEndianType", 374 },
+    { "UnrecognizedFilterType", 375 },
+    { "UnrecognizedImageCompressionType", 376 },
+    { "UnrecognizedImageType", 377 },
+    { "UnrecognizedInterlaceType", 378 },
+    { "UnrecognizedOption", 379 },
+    { "UnrecognizedResourceType", 380 },
+    { "UnrecognizedVirtualPixelMethod", 381 },
+    { "UnrecognizedColor", 382 },
+    { "ImageExpected", 383 },
+    { "ImageInfoExpected", 384 },
+    { "StructureSizeMismatch", 385 },
+    { "UnableToGetRegistryID", 386 },
+    { "UnableToLocateImage", 387 },
+    { "UnableToSetRegistry", 388 },
+    { "Default", 389 },
+    { "Default", 390 },
+    { "CacheResourcesExhausted", 391 },
+    { "ImagePixelHeightLimitExceeded", 392 },
+    { "ImagePixelLimitExceeded", 393 },
+    { "ImagePixelWidthLimitExceeded", 394 },
+    { "MemoryAllocationFailed", 395 },
+    { "NoPixelsDefinedInCache", 396 },
+    { "PixelCacheAllocationFailed", 397 },
+    { "UnableToAddColorProfile", 398 },
+    { "UnableToAddGenericProfile", 399 },
+    { "UnableToAddIPTCProfile", 400 },
+    { "UnableToAddOrRemoveProfile", 401 },
+    { "UnableToAllocateCoefficients", 402 },
+    { "UnableToAllocateColormap", 403 },
+    { "UnableToAllocateICCProfile", 404 },
+    { "UnableToAllocateImage", 405 },
+    { "UnableToAllocateString", 406 },
+    { "UnableToAnnotateImage", 407 },
+    { "UnableToAverageImageSequence", 408 },
+    { "UnableToCloneDrawingWand", 409 },
+    { "UnableToCloneImage", 410 },
+    { "UnableToComputeImageSignature", 411 },
+    { "UnableToConstituteImage", 412 },
+    { "UnableToConvertFont", 413 },
+    { "UnableToConvertStringToTokens", 414 },
+    { "UnableToCreateColormap", 415 },
+    { "UnableToCreateColorTransform", 416 },
+    { "UnableToCreateCommandWidget", 417 },
+    { "UnableToCreateImageGroup", 418 },
+    { "UnableToCreateImageMontage", 419 },
+    { "UnableToCreateXWindow", 420 },
+    { "UnableToCropImage", 421 },
+    { "UnableToDespeckleImage", 422 },
+    { "UnableToDetermineImageClass", 423 },
+    { "UnableToDetermineTheNumberOfImageColors", 424 },
+    { "UnableToDitherImage", 425 },
+    { "UnableToDrawOnImage", 426 },
+    { "UnableToEdgeImage", 427 },
+    { "UnableToEmbossImage", 428 },
+    { "UnableToEnhanceImage", 429 },
+    { "UnableToFloodfillImage", 430 },
+    { "UnableToGammaCorrectImage", 431 },
+    { "UnableToGetBestIconSize", 432 },
+    { "UnableToGetFromRegistry", 433 },
+    { "UnableToGetPackageInfo", 434 },
+    { "UnableToLevelImage", 435 },
+    { "UnableToMagnifyImage", 436 },
+    { "UnableToManageColor", 437 },
+    { "UnableToMapImage", 438 },
+    { "UnableToMapImageSequence", 439 },
+    { "UnableToMedianFilterImage", 440 },
+    { "UnableToMotionBlurImage", 441 },
+    { "UnableToNoiseFilterImage", 442 },
+    { "UnableToNormalizeImage", 443 },
+    { "UnableToOpenColorProfile", 444 },
+    { "UnableToQuantizeImage", 445 },
+    { "UnableToQuantizeImageSequence", 446 },
+    { "UnableToReadTextChunk", 447 },
+    { "UnableToReadXImage", 448 },
+    { "UnableToReadXServerColormap", 449 },
+    { "UnableToResizeImage", 450 },
+    { "UnableToRotateImage", 451 },
+    { "UnableToSampleImage", 452 },
+    { "UnableToScaleImage", 453 },
+    { "UnableToSelectImage", 454 },
+    { "UnableToSharpenImage", 455 },
+    { "UnableToShaveImage", 456 },
+    { "UnableToShearImage", 457 },
+    { "UnableToSortImageColormap", 458 },
+    { "UnableToThresholdImage", 459 },
+    { "UnableToTransformColorspace", 460 },
+    { "MemoryAllocationFailed", 461 },
+    { "SemaporeOperationFailed", 462 },
+    { "UnableToAllocateAscii85Info", 463 },
+    { "UnableToAllocateCacheInfo", 464 },
+    { "UnableToAllocateCacheView", 465 },
+    { "UnableToAllocateColorInfo", 466 },
+    { "UnableToAllocateDashPattern", 467 },
+    { "UnableToAllocateDelegateInfo", 468 },
+    { "UnableToAllocateDerivatives", 469 },
+    { "UnableToAllocateDrawContext", 470 },
+    { "UnableToAllocateDrawInfo", 471 },
+    { "UnableToAllocateDrawingWand", 472 },
+    { "UnableToAllocateGammaMap", 473 },
+    { "UnableToAllocateImage", 474 },
+    { "UnableToAllocateImagePixels", 475 },
+    { "UnableToAllocateLogInfo", 476 },
+    { "UnableToAllocateMagicInfo", 477 },
+    { "UnableToAllocateMagickInfo", 478 },
+    { "UnableToAllocateMagickMap", 479 },
+    { "UnableToAllocateModuleInfo", 480 },
+    { "UnableToAllocateMontageInfo", 481 },
+    { "UnableToAllocateQuantizeInfo", 482 },
+    { "UnableToAllocateRandomKernel", 483 },
+    { "UnableToAllocateRegistryInfo", 484 },
+    { "UnableToAllocateSemaphoreInfo", 485 },
+    { "UnableToAllocateString", 486 },
+    { "UnableToAllocateTypeInfo", 487 },
+    { "UnableToAllocateWand", 488 },
+    { "UnableToAnimateImageSequence", 489 },
+    { "UnableToCloneBlobInfo", 490 },
+    { "UnableToCloneCacheInfo", 491 },
+    { "UnableToCloneImage", 492 },
+    { "UnableToCloneImageInfo", 493 },
+    { "UnableToConcatenateString", 494 },
+    { "UnableToConvertText", 495 },
+    { "UnableToCreateColormap", 496 },
+    { "UnableToDestroySemaphore", 497 },
+    { "UnableToDisplayImage", 498 },
+    { "UnableToEscapeString", 499 },
+    { "UnableToInitializeSemaphore", 500 },
+    { "UnableToInterpretMSLImage", 501 },
+    { "UnableToLockSemaphore", 502 },
+    { "UnableToObtainRandomEntropy", 503 },
+    { "UnableToUnlockSemaphore", 504 },
+    { "MemoryAllocationFailed", 505 },
+    { "ImageDoesNotContainTheStreamGeometry", 506 },
+    { "NoStreamHandlerIsDefined", 507 },
+    { "PixelCacheIsNotOpen", 508 },
+    { "UnableToAcquirePixelStream", 509 },
+    { "UnableToSetPixelStream", 510 },
+    { "UnableToSyncPixelStream", 511 },
+    { "Default", 512 },
+    { "Default", 513 },
+    { "FontSubstitutionRequired", 514 },
+    { "UnableToGetTypeMetrics", 515 },
+    { "UnableToInitializeFreetypeLibrary", 516 },
+    { "UnableToReadFont", 517 },
+    { "UnrecognizedFontEncoding", 518 },
+    { "Default", 519 },
+    { "Default", 520 },
+    { "InvalidColormapIndex", 521 },
+    { "WandAPINotImplemented", 522 },
+    { "WandContainsNoImageIndexs", 523 },
+    { "WandContainsNoImages", 524 },
+    { "ColorIsNotKnownToServer", 525 },
+    { "NoWindowWithSpecifiedIDExists", 526 },
+    { "StandardColormapIsNotInitialized", 527 },
+    { "UnableToConnectToRemoteDisplay", 528 },
+    { "UnableToCreateBitmap", 529 },
+    { "UnableToCreateColormap", 530 },
+    { "UnableToCreatePixmap", 531 },
+    { "UnableToCreateProperty", 532 },
+    { "UnableToCreateStandardColormap", 533 },
+    { "UnableToDisplayImageInfo", 534 },
+    { "UnableToGetProperty", 535 },
+    { "UnableToGetStandardColormap", 536 },
+    { "UnableToGetVisual", 537 },
+    { "UnableToGrabMouse", 538 },
+    { "UnableToLoadFont", 539 },
+    { "UnableToMatchVisualToStandardColormap", 540 },
+    { "UnableToOpenXServer", 541 },
+    { "UnableToReadXAttributes", 542 },
+    { "UnableToReadXWindowImage", 543 },
+    { "UnrecognizedColormapType", 544 },
+    { "UnrecognizedGravityType", 545 },
+    { "UnrecognizedVisualSpecifier", 546 },
+    { "UnableToAllocateXHints", 547 },
+    { "UnableToCreateCursor", 548 },
+    { "UnableToCreateGraphicContext", 549 },
+    { "UnableToCreateStandardColormap", 550 },
+    { "UnableToCreateTextProperty", 551 },
+    { "UnableToCreateXImage", 552 },
+    { "UnableToCreateXPixmap", 553 },
+    { "UnableToCreateXWindow", 554 },
+    { "UnableToDisplayImage", 555 },
+    { "UnableToDitherImage", 556 },
+    { "UnableToGetPixelInfo", 557 },
+    { "UnableToGetVisual", 558 },
+    { "UnableToLoadFont", 559 },
+    { "UnableToMakeXWindow", 560 },
+    { "UnableToOpenXServer", 561 },
+    { "UnableToViewFonts", 562 },
+    { "UnableToGetVisual", 563 },
+    { "UsingDefaultVisual", 564 },
     { 0, 0 }
   };
 #endif
@@ -1459,6 +1465,7 @@
     "default error",
     "default warning",
     "angle is discontinuous",
+    "CMYKA image lacks an alpha channel (indexes)",
     "Colorspace color profile mismatch",
     "image colorspace differs",
     "image colorspace mismatch",
@@ -1482,9 +1489,11 @@
     "unable to create image mosaic",
     "unable to create stereo image",
     "unable to deconstruct image sequence",
+    "unable to export image pixels",
     "unable to flatten image",
     "Unable to get clip mask",
     "unable to handle image channel",
+    "unable to import image pixels",
     "unable to resize image",
     "unable to segment image",
     "Unable to set clip mask",
--- a/www/Changelog.html	Sat Nov 04 14:16:41 2017 -0500
+++ b/www/Changelog.html	Sat Nov 04 14:20:07 2017 -0500
@@ -38,6 +38,16 @@
 <p>2017-11-04  Bob Friesenhahn  &lt;<a class="reference external" href="mailto:bfriesen&#37;&#52;&#48;simple&#46;dallas&#46;tx&#46;us">bfriesen<span>&#64;</span>simple<span>&#46;</span>dallas<span>&#46;</span>tx<span>&#46;</span>us</a>&gt;</p>
 <blockquote>
 <ul class="simple">
+<li>magick/export.c: Add not-null check for indexes pointer where
+needed.</li>
+<li>magick/import.c: Add not-null check for indexes pointer with
+associated exception report where the indexes pointer is needed.
+(ImportCMYKQuantumType): Was wrongly importing an opacity channel
+in some cases. Would have crashed if these cases were ever used.</li>
+<li>coders/wpg.c (ReadWPGImage): Assure that colormapped image is a
+PseudoClass type with valid colormapped indexes.  Fixes
+SourceForge bug 519 &quot;Null Pointer Dereference (Write) with
+malformed WPG Image&quot;.</li>
 <li>coders/sfw.c (ReadSFWImage): Avoid possible heap overflow while
 copying JFIF magic into buffer. Reject runt files.  Fixes
 CVE-2017-12983.  Notified of problem via email from Petr Gajdos on