]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Sat, 10 Oct 2009 02:46:57 +0000 (02:46 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Sat, 10 Oct 2009 02:46:57 +0000 (02:46 +0000)
coders/dcm.c
magick/xwindow.c

index 307366a9dd1d941e775239ed4219e1bb64a6d80f..43d54e1f44d6485f3873acc6e0a0aad2abd82f55 100644 (file)
@@ -3405,7 +3405,7 @@ static Image *ReadDCMImage(const ImageInfo *image_info,ExceptionInfo *exception)
             stream_info->offsets[i]+=offset;
         }
       /*
-        Handle 2.4.50 lossy JPEG and 2.4.70 lossless JPEG.
+        Handle non-native image formats.
       */
       read_info=CloneImageInfo(image_info);
       SetImageInfoBlob(read_info,(void *) NULL,0);
index b56621728b2ddc0e2680c1cbcbf2ad37ac86a471..3fae76c285af4a90dcb105cff8ea0bd7670a07da 100644 (file)
@@ -5453,7 +5453,9 @@ MagickExport MagickBooleanType XMakeImage(Display *display,
             }
         }
       width=(unsigned int) window->image->columns;
+      assert(width == window->image->columns);
       height=(unsigned int) window->image->rows;
+      assert(height == window->image->rows);
     }
   /*
     Create X image.