title: How do I import a png file in Postscript with Ghostscript?
body: <p>I'm trying to place a png image on a postscript document for conversion to a pdf file using Ghostscript (v 9.15) ps2pdf.  I've found that the following code works nicely with a jpg file, but I need to import png files instead.  It looks like i must need a different filter, but I can't find one that works. Does anyone have a solution?</p>
  
  <pre><code>239                     % number of pixels in the horizontal axis
  67                      % number of pixels in the vertical axis
  8                       % bits per color channel (1, 2, 4, or 8)
  [239 0 0 -67 0 67]      % transform array... maps unit square to pixel [ w 0 0 -h 0 h ]
  (My_Logo.jpg) (r) file  % see page 587 and page 77 for more details
  /DCTDecode filter       % see page  589
  false                   % pull channels from separate sources
  3                       % 3 color channels (RGB)
  colorimage              % see page 544 and page 288 for more detail
  </code></pre>