El Capitan error pdf to tif - unable to read image data pnm.c

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
Neh
Posts: 2
Joined: 2016-04-01T22:15:38-07:00
Authentication code: 1151

El Capitan error pdf to tif - unable to read image data pnm.c

Post by Neh »

I made a fresh install of ImageMagick on El Capitan with macport. It installed Ghostscript as well. I can see the delegates include gs.

When I try this command: convert -monochrome density 200 -compress none -debug all JobDescription_FE.pdf test.tif


I get an error below. Could someone please help. I have spent 3 days trying to figure out.

Thanks!

Code: Select all

convert -monochrome -density 200 -compress none -debug all JobDescription_FE.pdf test.tif
2016-04-01T22:23:39-07:00 0:00.010 0.000u 6.9.3 Configure convert[46359]: utility.c/ExpandFilenames/940/Configure
  Command line: convert {-monochrome} {-density} {200} {-compress} {none} {-debug} {all} {JobDescription_FE.pdf} {test.tif}
2016-04-01T22:23:39-07:00 0:00.010 0.000u 6.9.3 Configure convert[46359]: configure.c/GetConfigureOptions/679/Configure
  Searching for configure file: "/opt/local/share/ImageMagick-6/coder.xml"
2016-04-01T22:23:39-07:00 0:00.010 0.000u 6.9.3 Configure convert[46359]: configure.c/GetConfigureOptions/679/Configure
  Searching for configure file: "/opt/local/lib/ImageMagick-6.9.3//config-Q16/coder.xml"
2016-04-01T22:23:39-07:00 0:00.010 0.000u 6.9.3 Configure convert[46359]: configure.c/GetConfigureOptions/679/Configure
  Searching for configure file: "/opt/local/etc/ImageMagick-6/coder.xml"
2016-04-01T22:23:39-07:00 0:00.010 0.000u 6.9.3 Configure convert[46359]: configure.c/GetConfigureOptions/679/Configure
  Searching for configure file: "/opt/local/share/doc/ImageMagick-6/coder.xml"
2016-04-01T22:23:39-07:00 0:00.010 0.000u 6.9.3 Configure convert[46359]: configure.c/GetConfigureOptions/679/Configure
  Searching for configure file: "/Users/nehaldantwala/.config/ImageMagick/coder.xml"
2016-04-01T22:23:39-07:00 0:00.010 0.000u 6.9.3 Configure convert[46359]: configure.c/GetConfigureOptions/679/Configure
  Searching for configure file: "/Users/nehaldantwala/.magick/coder.xml"
2016-04-01T22:23:39-07:00 0:00.010 0.000u 6.9.3 Configure convert[46359]: coder.c/LoadCoderCache/823/Configure
  Loading coder configuration file "/opt/local/etc/ImageMagick-6/coder.xml" ...
2016-04-01T22:23:39-07:00 0:00.010 0.000u 6.9.3 Module convert[46359]: module.c/OpenModule/1286/Module
  Searching for module "PDF" using filename "pdf.la"
2016-04-01T22:23:39-07:00 0:00.010 0.000u 6.9.3 Module convert[46359]: module.c/GetMagickModulePath/556/Module
  Searching for coder module file "pdf.la" ...
2016-04-01T22:23:39-07:00 0:00.010 0.000u 6.9.3 Module convert[46359]: module.c/OpenModule/1295/Module
  Opening module at path "/opt/local/lib/ImageMagick-6.9.3//modules-Q16/coders/pdf.la"
2016-04-01T22:23:39-07:00 0:00.010 0.000u 6.9.3 Module convert[46359]: module.c/OpenModule/1322/Module
  Method "RegisterPDFImage" in module "PDF" at address 0x1087e3cf0
2016-04-01T22:23:39-07:00 0:00.010 0.000u 6.9.3 Module convert[46359]: module.c/OpenModule/1336/Module
  Method "UnregisterPDFImage" in module "PDF" at address 0x1087ea2c7
2016-04-01T22:23:39-07:00 0:00.010 0.000u 6.9.3 Policy convert[46359]: policy.c/IsRightsAuthorized/574/Policy
  Domain: Path; rights=Read; pattern="JobDescription_FE.pdf" ...
2016-04-01T22:23:39-07:00 0:00.010 0.000u 6.9.3 Blob convert[46359]: blob.c/OpenBlob/2594/Blob
    read 3 magic header bytes
2016-04-01T22:23:39-07:00 0:00.010 0.000u 6.9.3 Cache convert[46359]: cache.c/DestroyPixelCache/999/Cache
  destroy 
2016-04-01T22:23:39-07:00 0:00.010 0.000u 6.9.3 Configure convert[46359]: configure.c/GetConfigureOptions/679/Configure
  Searching for configure file: "/opt/local/share/ImageMagick-6/magic.xml"
2016-04-01T22:23:39-07:00 0:00.010 0.000u 6.9.3 Configure convert[46359]: configure.c/GetConfigureOptions/679/Configure
  Searching for configure file: "/opt/local/lib/ImageMagick-6.9.3//config-Q16/magic.xml"
2016-04-01T22:23:39-07:00 0:00.010 0.000u 6.9.3 Configure convert[46359]: configure.c/GetConfigureOptions/679/Configure
  Searching for configure file: "/opt/local/etc/ImageMagick-6/magic.xml"
2016-04-01T22:23:39-07:00 0:00.010 0.000u 6.9.3 Configure convert[46359]: configure.c/GetConfigureOptions/679/Configure
  Searching for configure file: "/opt/local/share/doc/ImageMagick-6/magic.xml"
2016-04-01T22:23:39-07:00 0:00.010 0.000u 6.9.3 Configure convert[46359]: configure.c/GetConfigureOptions/679/Configure
  Searching for configure file: "/Users/nehaldantwala/.config/ImageMagick/magic.xml"
2016-04-01T22:23:39-07:00 0:00.010 0.000u 6.9.3 Configure convert[46359]: configure.c/GetConfigureOptions/679/Configure
  Searching for configure file: "/Users/nehaldantwala/.magick/magic.xml"
2016-04-01T22:23:39-07:00 0:00.010 0.000u 6.9.3 Configure convert[46359]: magic.c/LoadMagicCache/789/Configure
  Loading magic configure file "/opt/local/etc/ImageMagick-6/magic.xml" ...
2016-04-01T22:23:39-07:00 0:00.010 0.000u 6.9.3 Policy convert[46359]: policy.c/IsRightsAuthorized/574/Policy
  Domain: Coder; rights=Read; pattern="PDF" ...
2016-04-01T22:23:39-07:00 0:00.010 0.000u 6.9.3 Policy convert[46359]: policy.c/IsRightsAuthorized/574/Policy
  Domain: Path; rights=Read; pattern="JobDescription_FE.pdf" ...
2016-04-01T22:23:39-07:00 0:00.010 0.000u 6.9.3 Blob convert[46359]: blob.c/OpenBlob/2594/Blob
    read 3 magic header bytes
2016-04-01T22:23:39-07:00 0:00.010 0.000u 6.9.3 Cache convert[46359]: cache.c/DestroyPixelCache/999/Cache
  destroy 
2016-04-01T22:23:39-07:00 0:00.010 0.000u 6.9.3 Policy convert[46359]: policy.c/IsRightsAuthorized/574/Policy
  Domain: Path; rights=Read; pattern="JobDescription_FE.pdf" ...
2016-04-01T22:23:39-07:00 0:00.010 0.000u 6.9.3 Blob convert[46359]: blob.c/OpenBlob/2594/Blob
    read 3 magic header bytes
2016-04-01T22:23:39-07:00 0:00.010 0.000u 6.9.3 Resource convert[46359]: resource.c/AcquireUniqueFileResource/502/Resource
  ...
2016-04-01T22:23:39-07:00 0:00.010 0.000u 6.9.3 Resource convert[46359]: resource.c/AcquireUniqueFileResource/553/Resource
  Acquire magick-46359BpI5m1AdehMv
2016-04-01T22:23:39-07:00 0:00.010 0.000u 6.9.3 Resource convert[46359]: resource.c/RelinquishUniqueFileResource/1042/Resource
  Relinquish magick-46359BpI5m1AdehMv
2016-04-01T22:23:39-07:00 0:00.010 0.000u 6.9.3 Exception convert[46359]: utility.c/ShredFile/1822/Exception
  Failed to remove: magick-46359BpI5m1AdehMv.cache
2016-04-01T22:23:39-07:00 0:00.020 0.000u 6.9.3 Resource convert[46359]: resource.c/AcquireUniqueFileResource/502/Resource
  ...
2016-04-01T22:23:39-07:00 0:00.020 0.000u 6.9.3 Resource convert[46359]: resource.c/AcquireUniqueFileResource/553/Resource
  Acquire magick-46359nbSbdailWMzr
2016-04-01T22:23:39-07:00 0:00.020 0.000u 6.9.3 Configure convert[46359]: configure.c/GetConfigureOptions/679/Configure
  Searching for configure file: "/opt/local/share/ImageMagick-6/delegates.xml"
2016-04-01T22:23:39-07:00 0:00.020 0.000u 6.9.3 Configure convert[46359]: configure.c/GetConfigureOptions/679/Configure
  Searching for configure file: "/opt/local/lib/ImageMagick-6.9.3//config-Q16/delegates.xml"
2016-04-01T22:23:39-07:00 0:00.020 0.000u 6.9.3 Configure convert[46359]: configure.c/GetConfigureOptions/679/Configure
  Searching for configure file: "/opt/local/etc/ImageMagick-6/delegates.xml"
2016-04-01T22:23:39-07:00 0:00.020 0.000u 6.9.3 Configure convert[46359]: configure.c/GetConfigureOptions/679/Configure
  Searching for configure file: "/opt/local/share/doc/ImageMagick-6/delegates.xml"
2016-04-01T22:23:39-07:00 0:00.020 0.000u 6.9.3 Configure convert[46359]: configure.c/GetConfigureOptions/679/Configure
  Searching for configure file: "/Users/nehaldantwala/.config/ImageMagick/delegates.xml"
2016-04-01T22:23:39-07:00 0:00.020 0.000u 6.9.3 Configure convert[46359]: configure.c/GetConfigureOptions/679/Configure
  Searching for configure file: "/Users/nehaldantwala/.magick/delegates.xml"
2016-04-01T22:23:39-07:00 0:00.020 0.000u 6.9.3 Configure convert[46359]: delegate.c/LoadDelegateCache/1497/Configure
  Loading delegate configuration file "/opt/local/etc/ImageMagick-6/delegates.xml" ...
2016-04-01T22:23:39-07:00 0:00.020 0.000u 6.9.3 Resource convert[46359]: resource.c/AcquireUniqueFileResource/502/Resource
  ...
2016-04-01T22:23:39-07:00 0:00.020 0.000u 6.9.3 Resource convert[46359]: resource.c/AcquireUniqueFileResource/553/Resource
  Acquire magick-46359xUxr4pEAjaqL
2016-04-01T22:23:39-07:00 0:00.020 0.000u 6.9.3 Resource convert[46359]: resource.c/RelinquishUniqueFileResource/1042/Resource
  Relinquish magick-46359xUxr4pEAjaqL
2016-04-01T22:23:39-07:00 0:00.020 0.000u 6.9.3 Exception convert[46359]: utility.c/ShredFile/1822/Exception
  Failed to remove: magick-46359xUxr4pEAjaqL.cache
2016-04-01T22:23:39-07:00 0:00.120 0.110u 6.9.3 Resource convert[46359]: resource.c/RelinquishUniqueFileResource/1042/Resource
  Relinquish magick-46359nbSbdailWMzr
2016-04-01T22:23:39-07:00 0:00.120 0.110u 6.9.3 Exception convert[46359]: utility.c/ShredFile/1822/Exception
  Failed to remove: magick-46359nbSbdailWMzr.cache
2016-04-01T22:23:39-07:00 0:00.120 0.110u 6.9.3 Resource convert[46359]: resource.c/RelinquishUniqueFileResource/1042/Resource
  Relinquish magick-46359BpI5m1AdehMv
2016-04-01T22:23:39-07:00 0:00.120 0.110u 6.9.3 Exception convert[46359]: utility.c/ShredFile/1822/Exception
  Failed to remove: magick-46359BpI5m1AdehMv.cache
2016-04-01T22:23:39-07:00 0:00.120 0.110u 6.9.3 Policy convert[46359]: policy.c/IsRightsAuthorized/574/Policy
  Domain: Path; rights=Read; pattern="magick-46359xUxr4pEAjaqL1" ...
2016-04-01T22:23:39-07:00 0:00.120 0.110u 6.9.3 Blob convert[46359]: blob.c/OpenBlob/2594/Blob
    read 3 magic header bytes
2016-04-01T22:23:39-07:00 0:00.120 0.110u 6.9.3 Cache convert[46359]: cache.c/DestroyPixelCache/999/Cache
  destroy 
2016-04-01T22:23:39-07:00 0:00.120 0.110u 6.9.3 Module convert[46359]: module.c/OpenModule/1286/Module
  Searching for module "PNM" using filename "pnm.la"
2016-04-01T22:23:39-07:00 0:00.120 0.110u 6.9.3 Module convert[46359]: module.c/GetMagickModulePath/556/Module
  Searching for coder module file "pnm.la" ...
2016-04-01T22:23:39-07:00 0:00.120 0.110u 6.9.3 Module convert[46359]: module.c/OpenModule/1295/Module
  Opening module at path "/opt/local/lib/ImageMagick-6.9.3//modules-Q16/coders/pnm.la"
2016-04-01T22:23:39-07:00 0:00.120 0.110u 6.9.3 Module convert[46359]: module.c/OpenModule/1322/Module
  Method "RegisterPNMImage" in module "PNM" at address 0x109706540
2016-04-01T22:23:39-07:00 0:00.120 0.110u 6.9.3 Module convert[46359]: module.c/OpenModule/1336/Module
  Method "UnregisterPNMImage" in module "PNM" at address 0x10970c54e
2016-04-01T22:23:39-07:00 0:00.120 0.110u 6.9.3 Policy convert[46359]: policy.c/IsRightsAuthorized/574/Policy
  Domain: Coder; rights=Read; pattern="PBM" ...
2016-04-01T22:23:39-07:00 0:00.120 0.110u 6.9.3 Policy convert[46359]: policy.c/IsRightsAuthorized/574/Policy
  Domain: Path; rights=Read; pattern="magick-46359xUxr4pEAjaqL1" ...
2016-04-01T22:23:39-07:00 0:00.120 0.110u 6.9.3 Blob convert[46359]: blob.c/OpenBlob/2594/Blob
    read 3 magic header bytes
2016-04-01T22:23:39-07:00 0:00.120 0.110u 6.9.3 Resource convert[46359]: resource.c/AcquireMagickResource/313/Resource
  Map: 469KB/458KiB/16GiB
2016-04-01T22:23:39-07:00 0:00.120 0.110u 6.9.3 Resource convert[46359]: resource.c/AcquireMagickResource/313/Resource
  Width: 1.7KB/1.7KB/214.7MB
2016-04-01T22:23:39-07:00 0:00.120 0.110u 6.9.3 Resource convert[46359]: resource.c/AcquireMagickResource/313/Resource
  Height: 2.2KB/2.2KB/214.7MB
2016-04-01T22:23:39-07:00 0:00.120 0.110u 6.9.3 Resource convert[46359]: resource.c/AcquireMagickResource/313/Resource
  Area: 29.92MB/29.92MB/17.18GB
2016-04-01T22:23:39-07:00 0:00.120 0.110u 6.9.3 Resource convert[46359]: resource.c/AcquireMagickResource/313/Resource
  Memory: 29.92MB/28.53MiB/8GiB
2016-04-01T22:23:39-07:00 0:00.120 0.110u 6.9.3 Cache convert[46359]: cache.c/OpenPixelCache/3626/Cache
  open magick-46359xUxr4pEAjaqL1[0] (Heap Memory, 1700x2200 28.53MiB)
2016-04-01T22:23:39-07:00 0:00.120 0.110u 6.9.3 Resource convert[46359]: resource.c/AcquireMagickResource/313/Resource
  Width: 1.7KB/1.7KB/214.7MB
2016-04-01T22:23:39-07:00 0:00.120 0.110u 6.9.3 Resource convert[46359]: resource.c/AcquireMagickResource/313/Resource
  Height: 2.2KB/2.2KB/214.7MB
2016-04-01T22:23:39-07:00 0:00.120 0.110u 6.9.3 Resource convert[46359]: resource.c/AcquireMagickResource/313/Resource
  Area: 29.92MB/29.92MB/17.18GB
2016-04-01T22:23:39-07:00 0:00.120 0.110u 6.9.3 Resource convert[46359]: resource.c/AcquireMagickResource/313/Resource
  Memory: 29.92MB/57.07MiB/8GiB
2016-04-01T22:23:39-07:00 0:00.150 0.140u 6.9.3 Resource convert[46359]: resource.c/RelinquishMagickResource/1005/Resource
  Memory: 29.92MB/28.53MiB/8GiB
2016-04-01T22:23:39-07:00 0:00.150 0.140u 6.9.3 Cache convert[46359]: cache.c/OpenPixelCache/3626/Cache
  open magick-46359xUxr4pEAjaqL1[0] (Heap Memory, 1700x2200 28.53MiB)
2016-04-01T22:23:39-07:00 0:00.160 0.150u 6.9.3 Locale convert[46359]: locale.c/GetLocaleOptions/825/Locale
  Searching for locale file: "/opt/local/share/ImageMagick-6/locale.xml"
2016-04-01T22:23:39-07:00 0:00.160 0.150u 6.9.3 Locale convert[46359]: locale.c/GetLocaleOptions/825/Locale
  Searching for locale file: "/opt/local/lib/ImageMagick-6.9.3//config-Q16/locale.xml"
2016-04-01T22:23:39-07:00 0:00.160 0.150u 6.9.3 Locale convert[46359]: locale.c/GetLocaleOptions/825/Locale
  Searching for locale file: "/opt/local/etc/ImageMagick-6/locale.xml"
2016-04-01T22:23:39-07:00 0:00.160 0.150u 6.9.3 Locale convert[46359]: locale.c/GetLocaleOptions/825/Locale
  Searching for locale file: "/opt/local/share/doc/ImageMagick-6/locale.xml"
2016-04-01T22:23:39-07:00 0:00.160 0.150u 6.9.3 Locale convert[46359]: locale.c/GetLocaleOptions/825/Locale
  Searching for locale file: "/Users/nehaldantwala/.config/ImageMagick/locale.xml"
2016-04-01T22:23:39-07:00 0:00.160 0.150u 6.9.3 Locale convert[46359]: locale.c/GetLocaleOptions/825/Locale
  Searching for locale file: "/Users/nehaldantwala/.magick/locale.xml"
2016-04-01T22:23:39-07:00 0:00.160 0.150u 6.9.3 Configure convert[46359]: locale.c/LoadLocaleCache/1176/Configure
  Loading locale configure file "/opt/local/share/ImageMagick-6/locale.xml" ...
2016-04-01T22:23:39-07:00 0:00.160 0.150u 6.9.3 Locale convert[46359]: locale.c/GetLocaleOptions/825/Locale
  Searching for locale file: "/opt/local/share/ImageMagick-6/english.xml"
2016-04-01T22:23:39-07:00 0:00.160 0.150u 6.9.3 Locale convert[46359]: locale.c/GetLocaleOptions/825/Locale
  Searching for locale file: "/opt/local/lib/ImageMagick-6.9.3//config-Q16/english.xml"
2016-04-01T22:23:39-07:00 0:00.160 0.150u 6.9.3 Locale convert[46359]: locale.c/GetLocaleOptions/825/Locale
  Searching for locale file: "/opt/local/etc/ImageMagick-6/english.xml"
2016-04-01T22:23:39-07:00 0:00.160 0.150u 6.9.3 Locale convert[46359]: locale.c/GetLocaleOptions/825/Locale
  Searching for locale file: "/opt/local/share/doc/ImageMagick-6/english.xml"
2016-04-01T22:23:39-07:00 0:00.160 0.150u 6.9.3 Locale convert[46359]: locale.c/GetLocaleOptions/825/Locale
  Searching for locale file: "/Users/nehaldantwala/.config/ImageMagick/english.xml"
2016-04-01T22:23:39-07:00 0:00.160 0.150u 6.9.3 Locale convert[46359]: locale.c/GetLocaleOptions/825/Locale
  Searching for locale file: "/Users/nehaldantwala/.magick/english.xml"
2016-04-01T22:23:39-07:00 0:00.160 0.150u 6.9.3 Configure convert[46359]: locale.c/LoadLocaleCache/1176/Configure
  Loading locale configure file "/opt/local/share/ImageMagick-6/english.xml" ...
2016-04-01T22:23:39-07:00 0:00.160 0.150u 6.9.3 Exception convert[46359]: pnm.c/ReadPNMImage/622/Exception
  unable to read image data `magick-46359xUxr4pEAjaqL1'
2016-04-01T22:23:39-07:00 0:00.160 0.150u 6.9.3 Resource convert[46359]: resource.c/RelinquishMagickResource/1005/Resource
  Map: 469KB/0B/16GiB
2016-04-01T22:23:39-07:00 0:00.160 0.150u 6.9.3 Cache convert[46359]: cache.c/DestroyPixelCache/999/Cache
  destroy magick-46359xUxr4pEAjaqL1[0]
2016-04-01T22:23:39-07:00 0:00.170 0.150u 6.9.3 Resource convert[46359]: resource.c/RelinquishMagickResource/1005/Resource
  Memory: 29.92MB/0B/8GiB
2016-04-01T22:23:39-07:00 0:00.170 0.150u 6.9.3 Resource convert[46359]: resource.c/RelinquishUniqueFileResource/1042/Resource
  Relinquish magick-46359xUxr4pEAjaqL1
2016-04-01T22:23:39-07:00 0:00.170 0.150u 6.9.3 Exception convert[46359]: utility.c/ShredFile/1822/Exception
  Failed to remove: magick-46359xUxr4pEAjaqL1.cache
2016-04-01T22:23:39-07:00 0:00.170 0.150u 6.9.3 Exception convert[46359]: pdf.c/ReadPDFImage/800/Exception
  PDFDelegateFailed `[ghostscript library 9.19] -q -dQUIET -dSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dAlignToPixels=0 -dGridFitTT=2 "-sDEVICE=pbmraw" -dTextAlphaBits=4 -dGraphicsAlphaBits=4 "-r200x200"  "-sOutputFile=magick-46359xUxr4pEAjaqL%d" "-fmagick-46359nbSbdailWMzr" "-fmagick-46359BpI5m1AdehMv": (null)'
2016-04-01T22:23:39-07:00 0:00.170 0.150u 6.9.3 Cache convert[46359]: cache.c/DestroyPixelCache/999/Cache
  destroy 
2016-04-01T22:23:39-07:00 0:00.170 0.150u 6.9.3 Exception convert[46359]: convert.c/ConvertImageCommand/3241/Exception
  no images defined `test.tif'
convert: unable to read image data `magick-46359xUxr4pEAjaqL1' @ error/pnm.c/ReadPNMImage/622.
convert: PDFDelegateFailed `[ghostscript library 9.19] -q -dQUIET -dSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dAlignToPixels=0 -dGridFitTT=2 "-sDEVICE=pbmraw" -dTextAlphaBits=4 -dGraphicsAlphaBits=4 "-r200x200"  "-sOutputFile=magick-46359xUxr4pEAjaqL%d" "-fmagick-46359nbSbdailWMzr" "-fmagick-46359BpI5m1AdehMv": (null)' @ error/pdf.c/ReadPDFImage/800.
convert: no images defined `test.tif' @ error/convert.c/ConvertImageCommand/3241.
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: El Capitan error pdf to tif - unable to read image data pnm.c

Post by fmw42 »

try putting the operator -monochrome after reading the input image. You also need a - sign before density (-density). Order is important with operators and settings in IM. Settings must come before operators and operators must come after reading the input image.

Code: Select all

convert -debug all -density 200 JobDescription_FE.pdf -monochrome  -compress none  test.tif
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: El Capitan error pdf to tif - unable to read image data pnm.c

Post by snibgo »

Does the problem occur with all PDFs or just this one? When you simplify the command (remove "-monochrome -density 200 -compress none") does it still occur?

If it is just this PDF, I suggest you upload it so other people can test with different versions of IM and GS.
snibgo's IM pages: im.snibgo.com
Neh
Posts: 2
Joined: 2016-04-01T22:15:38-07:00
Authentication code: 1151

Re: El Capitan error pdf to tif - unable to read image data pnm.c

Post by Neh »

Thank you fmw42! I didn't realize the importance of the order of operators and settings. This same command was working in Windows for my colleagues so didn't even bother to check. Thank you, thank you, thank you!

@snibgo, this was happening to all the pdfs when I put any operators. If I removed -monochrome -density 200, it was OK.

Thanks everyone for the input!
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: El Capitan error pdf to tif - unable to read image data pnm.c

Post by fmw42 »

IM can be somewhat forgiving in many case, but best to follow the proper IM 6 syntax. See http://www.imagemagick.org/Usage/basics/#cmdline

IM 7 will be less forgiving.
Post Reply