🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.postscript.programming
Article #209

Painting an Image: beginner's questions

#209
From: jdaw1
Date: Wed, 16 Sep 2009 10:15
14 lines
1818 bytes
In a bit more than a decade of occasional PostScript programming, I
have never needed to paint a bitmap image. For the first time, I do.

Are there standard routines for images in common formats (e.g., any of
PNG, GIF, JPG)? Rephrased, is there a standard snippet of PostScript
that my code can use to render a local file (e.g., example.png or
example.gif or example.jpg) onto the current page?

The image itself will probably start as JPG, but can be
GraphicConverter'd into any standard format. Further I understand that
the code might need to know a few things, such as the image size, but
I'm happy to add that 'manually'.

Thank you.
Technical Details
Message-ID: <5070c239-27ef-49bf-9c33-0cdaa0d5fdb4@o36g2000vbl.googlegroups.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!postnews.google.com!o36g2000vbl.googlegroups.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: f3b2fcbfdb,f998197383876e93,start
X-Google-Attributes: gidf3b2fcbfdb,public,usenet
X-Google-NewGroupId: yes
X-Google-Language: ENGLISH,ASCII-7-bit
Path: arc1-ca.pugleaf.net!g2news2.google.com!postnews.google.com!o36g2000vbl.googlegroups.com!not-for-mail
From: jdaw1 <jdawiseman@gmail.com>
Newsgroups: adobe.postscript.programming
Subject: Painting an Image: beginner's questions
Date: Wed, 16 Sep 2009 03:15:18 -0700 (PDT)
Organization: http://groups.google.com
Lines: 14
Message-ID: <5070c239-27ef-49bf-9c33-0cdaa0d5fdb4@o36g2000vbl.googlegroups.com>
NNTP-Posting-Host: 81.57.49.76
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
X-Trace: posting.google.com 1253096118 7001 127.0.0.1 (16 Sep 2009 10:15:18 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Wed, 16 Sep 2009 10:15:18 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: o36g2000vbl.googlegroups.com; posting-host=81.57.49.76; 
 posting-account=Cp97SgoAAAC0t1Gya5PaPqyoafMoOtAn
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; 
 rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3,gzip(gfe),gzip(gfe)