[gs-bugs] [Bug 690284] New: white border is added while
fake-printing pdf to png
bugs.ghostscript.com-bugzilla-daemon at ghostscript.com
bugs.ghostscript.com-bugzilla-daemon at ghostscript.com
Wed Feb 11 09:59:16 PST 2009
http://bugs.ghostscript.com/show_bug.cgi?id=690284
Summary: white border is added while fake-printing pdf to png
Product: Ghostscript
Version: 8.64
Platform: PC
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P4
Component: Graphics Library
AssignedTo: support at artifex.com
ReportedBy: bluedzins at wp.pl
QAContact: gs-bugs at ghostscript.com
The problem is the same as in ImageMagick. I am trying to convert pdf file into
png -- in GS instead of converting I am printing the file. And the problem is,
no matter what I do, in result I get the image but with huge white border, the
image itself is pushed into lower, left corner.
It is easiest to see in this example, single page pdf, whole page is black, 300
dpi:
http://www.imagebam.com/image/699efd25471451
I execute:
gs -q -sDEVICE=pnggray -dBATCH -dNOPAUSE -dFirstPage=1 -dLastPage=1 -r300 -sOutputFile=black.png
black.pdf 2>&1
I should get the same black rectangle, instead I get this:
http://www.imagebam.com/image/c27a9126403474
One note: from what I see specifying the density is irrelevant here, the image
gets bigger or smaller, but the white border remains.
[ sorry if the component is wrong, this is my first report at this site ]
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.
More information about the gs-bugs
mailing list