]> granicus.if.org Git - imagemagick/commitdiff
Added missing initialization.
authorDirk Lemstra <dirk@lemstra.org>
Fri, 28 Jun 2019 12:58:15 +0000 (14:58 +0200)
committerDirk Lemstra <dirk@lemstra.org>
Fri, 28 Jun 2019 12:58:15 +0000 (14:58 +0200)
coders/pdf.c

index 29a12c8a2c36e8778ca287824b53ee93cae2dc8c..f59c75e960f7a92b7f7d8bc5f66c5fee6466d14b 100644 (file)
@@ -429,6 +429,7 @@ static void ReadPDFInfo(const ImageInfo *image_info,Image *image,PDFInfo *info,
   (void) memset(info,0,sizeof(*info));
   info->cmyk=image_info->colorspace == CMYKColorspace ? MagickTrue : MagickFalse;
   info->cropbox=IsStringTrue(GetImageOption(image_info,"pdf:use-cropbox"));
+  info->trimbox=IsStringTrue(GetImageOption(image_info,"pdf:use-trimbox"));
 
   spotcolor=0;
   (void) memset(buffer,0,sizeof(buffer));