Skip to content

Commit

Permalink
Add -dPrinted=false to the Ghostscript options (#4019)
Browse files Browse the repository at this point in the history
  • Loading branch information
dlemstra committed Aug 31, 2021
1 parent 109e236 commit 5f82ea4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions coders/pdf.c
Original file line number Diff line number Diff line change
Expand Up @@ -579,6 +579,7 @@ static Image *ReadPDFImage(const ImageInfo *image_info,ExceptionInfo *exception)
if ((image_info->page != (char *) NULL) || (fitPage != MagickFalse))
(void) FormatLocaleString(options,MaxTextExtent,"-g%.20gx%.20g ",
(double) page.width,(double) page.height);
(void) ConcatenateMagickString(options,"-dPrinted=false ",MagickPathExtent);
if (fitPage != MagickFalse)
(void) ConcatenateMagickString(options,"-dPSFitPage ",MaxTextExtent);
if (info.cropbox != MagickFalse)
Expand Down

0 comments on commit 5f82ea4

Please sign in to comment.