[gs-bugs] [Bug 692313] New: Image output does not work from "-c {some postscript code}" input
bugzilla-daemon at ghostscript.com
bugzilla-daemon at ghostscript.com
Wed Jun 29 08:37:16 UTC 2011
http://bugs.ghostscript.com/show_bug.cgi?id=692313
Summary: Image output does not work from "-c {some postscript
code}" input
Product: Ghostscript
Version: 9.02
Platform: PC
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P4
Component: Other Driver
AssignedTo: support at artifex.com
ReportedBy: pipitas at googlemail.com
QAContact: gs-bugs at ghostscript.com
This command does work and produces an output PDF:
/usr/bin/gs \
-o arc-pdfwrite.pdf \
-sDEVICE=pdfwrite \
-c "newpath \
306 400 moveto \
10 setlinewidth \
.9 setgray \
306 400 280 -45 235 arc \
closepath \
stroke"
However, this command does NOT work, produces NO output PNG (and also no error
message or warning):
/usr/bin/gs \
-o arc-png256.png \
-sDEVICE=png256 \
-c "newpath \
306 400 moveto \
10 setlinewidth \
.9 setgray \
306 400 280 -45 235 arc \
closepath \
stroke"
GPL Ghostscript SVN PRE-RELEASE 9.02 (2011-02-07)
Copyright (C) 2010 Artifex Software, Inc. All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
The same is true (no output) for all other image output devices that I've
tested:
* tiffg4,
* jpeg,
* ppm,
* png16,
* png16m,
* png256,
* png48,
* pngalpha,
* pnggray,
* pngmono.
I'm not sure if what I tried to do is supposed to work at all. However, since
it works with PDF input, I'm inclined to think it should.
Also, if I replace the "-c {postscript code}" input by the PDF file produced by
the first command, it works as expected for all tested devices:
/usr/bin/gs \
-o arc-png256.png \
-sDEVICE=png256 \
arc-pdfwrite.pdf
Tested with GS v9.02 (released with Ubuntu Natty) and with current Git master
(self-compiled from sources).
--
Configure bugmail: http://bugs.ghostscript.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
More information about the gs-bugs
mailing list