Ghostscript fails to convert certain pdf files to TIFF format using "convert" command from ImageMagick package in RHEL 6

Solution Verified - Updated -

Issue

  • Ghostscript fails to convert certain pdf files to TIFF format using "convert" command from ImageMagick in Red Hat Enterprise Linux 6.

    # /usr/bin/convert  -density 300x300 -monochrome -sharpen 1,1 -enhance testfile.pdf xx.tif
    
    Error: /undefined in findresource
    
    Operand stack:
      --dict:6/15(L)--  F1  11.0  --dict:6/6(L)--  --dict:6/6(L)--  Arial  --dict:11/12(ro)(G)--  --nostringval--  
      CIDFontObject --dict:7/7(L)--  --dict:7/7(L)--  Adobe-Identity
    Execution stack:
      %interp_exit  .runexec2  --nostringval--  --nostringval--  --nostringval--  2  %stopped_push  --nostringval--
      --nostringval-- --nostringval--  false  1  %stopped_push  186 1  3  %oparray_pop  1861  1  3  %oparray_pop
      1845  1  3  %oparray_pop --nostringval--  --nostringval--  5  1  9  --nostringval--  %for_pos_int_continue
      --nostringval--  --nostringval--  --nostringval-- --nostringval--  %array_continue  --nostringval--
      false  1  %stopped_push  --nostringval--  %loop_continue  --nostringval-- --nostringval--  --nostringval--
      --nostringval--  --nostringval--  --nostringval--  %array_continue  --nostringval--  --nostringval--
      --nostringval--  --nostringval--  --nostringval--  %loop_continue
    Dictionary stack:
      --dict:1156/1684(ro)(G)--  --dict:1/20(G)--  --dict:75/200(L)--  --dict:75/200(L)--  --dict:106/127(ro)(G)--
      --dict:285/300(ro)(G)-- --dict:22/25(L)--  --dict:4/6(L)--  --dict:21/40(L)--  --dict:6/15(L)--
      Current allocation mode is local
    Last OS error: 2
    GPL Ghostscript 8.70: Unrecoverable error, exit code 1
    convert: Postscript delegate failed `testfile.pdf': No such file or directory @ pdf.c/ReadPDFImage/611.
    convert: missing an image filename `xx.tif' @ convert.c/ConvertImageCommand/2800.</code>
    
  • Ghostscript fails to convert the pdf files containing Arial fonts using the convert command from ImageMagick in Red Hat Enterprise Linux 6.

Environment

  • Red Hat Enterprise Linux 6
  • ghostscript-8.70-11.el6_1.2.x86_64
  • ImageMagick-6.5.4.7-5.el6.x86_64

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.