Bug 702168

Summary: PDF to TIFF conversion missing text characters
Product: Ghostscript Reporter: Akrati <akrati.gupta>
Component: JPX/JBIG2 encode/decodeAssignee: Default assignee <ghostpdl-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: P4    
Version: 9.18   
Hardware: PC   
OS: Windows 10   
Customer: Word Size: ---
Attachments: converted TIFF Snippet
Original PDF Snippet

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 ***