[gs-devel] Can Ghostscript stream PDF?

Till Kamppeter till.kamppeter at gmail.com
Wed Jun 2 12:12:32 UTC 2021

On 02/06/2021 10:34, Ken Sharp wrote:
> At 08:54 02/06/2021, Till Kamppeter wrote:
>> As Ghostscript does not take Raster as input I have to encapsulate my 
>> Raster data in a format which Ghostscript understands as input format. 
>> That is either PostScript or PDF.
> GhostPDL, however, does accept several raster formats, and since it uses 
> the Ghostscript graphics library it therefore supports the legacy devices.


>> 2. If I want to print Raster data with a legacy driver built into 
>> Ghostscript, is there any advantage for me (like color management, 
>> color reproduction quality) to convert the Raster data into PDF and 
>> not into PostScript?
> You might be able to get a smaller PDF file than a PostScript file, you 
> might (theoretically) be able to do a more accurate colour matching, or 
> at least match more easily, because PDF supports ICC profiles, which 
> PostScript doesn't. I doubt either of these are of any great importance.


> For the specific case of sending image data to a printer, no I can't see 
> any reason to use PDF instead of PostScript.

OK. Thanks, so I will either use Ghostscript and send the Raster data 
encapsulated as PostScript or use GhostPDL and send PWG or Apple Raster 

Which Raster formats does GhostPDL actually accept?


More information about the gs-devel mailing list