Bug 702168 - PDF to TIFF conversion missing text characters
Summary: PDF to TIFF conversion missing text characters
Status: RESOLVED DUPLICATE of bug 702167
Alias: None
Product: Ghostscript
Classification: Unclassified
Component: JPX/JBIG2 encode/decode (show other bugs)
Version: 9.18
Hardware: PC Windows 10
: P4 normal
Assignee: Default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-02-28 11:06 UTC by Akrati
Modified: 2020-02-28 11:22 UTC (History)
0 users

See Also:
Customer:
Word Size: ---


Attachments
converted TIFF Snippet (95.52 KB, image/jpeg)
2020-02-28 11:06 UTC, Akrati
Details
Original PDF Snippet (71.39 KB, image/jpeg)
2020-02-28 11:07 UTC, Akrati
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Akrati 2020-02-28 11:06:32 UTC
Created attachment 18914 [details]
converted TIFF Snippet

My application uses Ghostscript to convert PDFs to TIFs and generally it works fine. However, I have a situation where it's losing parts of the PDF after the conversion to .TIFF files. Please refer to the attached original PDF and the converted .Tiff file - at the top-right there's an invoice number which has blank space in between of the invoice number, digit 4 is missing. Also at the bottom of the first page, letter T is totally missing in the converted TIF.  The current version used in application is 9.18, however I tried to convert the same PDF with different versions(9.50,9.27,9.22,9.19) of GhostScript, but still the issue persists.

Here's the basic command I'm using:

"C:\Apps\ghost\gs9.18\bin\gswin64c.exe" -dNOPAUSE -r300 -sDEVICE=tiffgray -sCompression=lzw -dBATCH -sOutputFile="C:\Apps\ghost\gs9.18\bin\14929421.tif" "C:\Apps\ghost\gs9.18\bin\14929421.pdf"

Output log:
C:\Users\Akrati.Gupta>"C:\Apps\ghost\gs9.18\bin\gswin64c.exe" -dNOPAUSE -r300 -sDEVICE=tiffgray -sCompression=lzw -dBATCH -sOutputFile="C:\Apps\ghost\gs9.18\bin\14929421.tif" "C:\Apps\ghost\gs9.18\bin\14929421.pdf"
GPL Ghostscript 9.18 (2015-10-05)
Copyright (C) 2015 Artifex Software, Inc.  All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
Processing pages 1 through 12.
Page 1
Page 2
Page 3
Page 4
Page 5
Page 6
Page 7
Page 8
Page 9
Page 10
Page 11
Page 12
Comment 1 Akrati 2020-02-28 11:07:33 UTC
Created attachment 18915 [details]
Original PDF Snippet
Comment 2 Ken Sharp 2020-02-28 11:22:36 UTC

*** This bug has been marked as a duplicate of bug 702167 ***