]> granicus.if.org Git - imagemagick/commitdiff
...
authorCristy <mikayla-grace@urban-warrior.org>
Thu, 11 Apr 2019 10:44:28 +0000 (06:44 -0400)
committerCristy <mikayla-grace@urban-warrior.org>
Thu, 11 Apr 2019 10:44:28 +0000 (06:44 -0400)
coders/pdb.c

index 32af400029d112a1c0dec0e8376df1c1635032d7..0765c7f397005cb823775a67f69763aa31b390bd 100644 (file)
@@ -809,6 +809,7 @@ static MagickBooleanType WritePDBImage(const ImageInfo *image_info,Image *image,
   } else {
     bits_per_pixel=4;
   }
+  image->depth=bits_per_pixel;
   (void) memset(&pdb_info,0,sizeof(pdb_info));
   (void) memset(&pdb_image,0,sizeof(pdb_image));
   GetPathComponent(image_info->filename,TailPath,filename);