Skip to main content
Participant
March 14, 2011
Question

How do I place a particular image for ex. .png or .jpg in postscript file?

  • March 14, 2011
  • 1 reply
  • 630 views

Hi all,

Can some one help me out by telling how to place a image with in postscript file, I see some binary code in .ps file which are stated in examples.

Is there any way to encode/decode the image in to this binary format and place it in .PS file.

Regards,

Ravi Nandan

This topic has been closed for replies.

1 reply

Mr__Horton
Inspiring
March 14, 2011

Adobe has published a downloadable Technical Note #5095 (JPEG Source Vendor List) that includes an Appendix titled "Printing JPEG-Compressed Files", which includes sample code.

This would be a good place to start.

Then, depending on the PostScript Language Level of the interpreter you are using:

Another Technical Note #5603 (Filters and Reusable Streams) has a much more extensive explanation of the PostScript Language Level 3 filters, including GIF and PNG image filters.