Summary: | The PDF to tiff conversion generates bad quality for a specific PDF file | ||
---|---|---|---|
Product: | Ghostscript | Reporter: | irc_ro |
Component: | Images | Assignee: | Alex Cherepanov <alex> |
Status: | RESOLVED INVALID | ||
Severity: | major | CC: | chris.liddell |
Priority: | P4 | ||
Version: | 9.00 | ||
Hardware: | PC | ||
OS: | Linux | ||
Customer: | Word Size: | --- | |
Attachments: |
The pdf with the issue
The output obtained The output in tiff format |
Description
irc_ro
2011-01-19 11:04:16 UTC
Without a file demonstrating the problem, it's difficult to even guess. Unfortunately, nothing can be done without a sample PDF file. Feel free to attach the file and re-open this bug report. Created attachment 7144 [details]
The pdf with the issue
Please use 'Fax sent.pdf' as an argument
Created attachment 7145 [details]
The output obtained
(In reply to comment #4) > Created an attachment (id=7145) [details] > The output obtained This appears to be a PDF file, not a TIFF file.... Created attachment 7146 [details]
The output in tiff format
/usr/local/bin/gs -q -sDEVICE='tiffg3' -dSAFER -dBATCH -sPAPERSIZE='a4' -dFIXEDMEDIA -dNOPAUSE -r'204x169' -sOutputFile=fax_sent.tif -f 'Fax sent.pdf'
The original is a colour PDF file, fax is a low resolution 1-bit monochrome device. So the colour is halftoned to give a visual representation of gray using only black and white pixels. The gray value is an approximation of the luminance of the original colour. At low resolution halftoning does of course result in the individual monochrome pixels becoming more obvious. The original is itself a scanned document (or possibly screen capture), and appears to use a number of images, some using JPEG compression. The artefacts caused by JPEG compression result in the occasional single pixels scattered across the TIFF output. You could use the new (9.01, unreleased code) tiffscaled device to produce output at the required fax resolution. When scaling images down to a lower resolution this does a better job of generating pleasing output and *may* improve the output of your file. However this does not appear to be a bug. The degradation in quality is due to the limitations (colour/resolution) of the selected output. Thanks |