possible bug converting pdf to jpeg
Posted: 2017-05-15T02:11:12-07:00
I am using the following to convert a PDF to JPEG file:
convert -density 400 test.pdf -scale 2000x1000 hi-res%d.jpeg
However, my creating jpeg file is corrupted, with the following message:
Error interpreting JPEG image (Not a JPEG file: starts with 0x25 0x50)
I have gs version 9.18 installed,
Image magick version:
Version: ImageMagick 7.0.5-6 Q16 x86_64 2017-05-15 http://www.imagemagick.org
Copyright: © 1999-2017 ImageMagick Studio LLC
License: http://www.imagemagick.org/script/license.php
Features: Cipher DPC HDRI OpenMP
Delegates (built-in): zlib
Ubuntu Version:
Distributor ID: Ubuntu
Description: Ubuntu 16.04.2 LTS
Release: 16.04
Codename: xenial
Thanks
Marc!
convert -density 400 test.pdf -scale 2000x1000 hi-res%d.jpeg
However, my creating jpeg file is corrupted, with the following message:
Error interpreting JPEG image (Not a JPEG file: starts with 0x25 0x50)
I have gs version 9.18 installed,
Image magick version:
Version: ImageMagick 7.0.5-6 Q16 x86_64 2017-05-15 http://www.imagemagick.org
Copyright: © 1999-2017 ImageMagick Studio LLC
License: http://www.imagemagick.org/script/license.php
Features: Cipher DPC HDRI OpenMP
Delegates (built-in): zlib
Ubuntu Version:
Distributor ID: Ubuntu
Description: Ubuntu 16.04.2 LTS
Release: 16.04
Codename: xenial
Thanks
Marc!