🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.postscript.programming
Article #210

Re: Painting an Image: beginner's questions

#210
From: Jeffrey H. Coffield
Date: Thu, 17 Sep 2009 12:51
26 lines
2131 bytes

jdaw1 wrote:
> 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.

A simple Google search returned this

http://www.usq.edu.au/users/leis/notes/latex/postscript.html

Look for jpeg2ps. I have not used it so I can't say if it's good or not.

Jeff Coffield
http://www.digitalsynergyinc.com
Technical Details
Message-ID: <h8tbca$vbg$1@news.eternal-september.org>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!feeder.news-service.com!188.40.43.213.MISMATCH!feeder.eternal-september.org!eternal-september.org!not-for-mail
References: <5070c239-27ef-49bf-9c33-0cdaa0d5fdb4@o36g2000vbl.googlegroups.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!feeder.news-service.com!188.40.43.213.MISMATCH!feeder.eternal-september.org!eternal-september.org!not-for-mail
From: "Jeffrey H. Coffield" <jeffrey@digitalsynergyinc.com>
Newsgroups: adobe.postscript.programming
Subject: Re: Painting an Image: beginner's questions
Date: Thu, 17 Sep 2009 05:51:21 -0700
Organization: A noiseless patient Spider
Lines: 26
Message-ID: <h8tbca$vbg$1@news.eternal-september.org>
References: <5070c239-27ef-49bf-9c33-0cdaa0d5fdb4@o36g2000vbl.googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-Trace: news.eternal-september.org U2FsdGVkX1/DhSCXrHaYBheCdeRFQndnttNpTqFEdoFfrRMso8xZSw1UWQVKIwGiBYDfa1Bf4D+5RI94LbFjgvoliBgKVPrfoYc58YGI4QDh5lwKigUMWeyTIumeBW87atWyQccFal8=
X-Complaints-To: abuse@eternal-september.org
NNTP-Posting-Date: Thu, 17 Sep 2009 12:51:22 +0000 (UTC)
In-Reply-To: <5070c239-27ef-49bf-9c33-0cdaa0d5fdb4@o36g2000vbl.googlegroups.com>
X-Auth-Sender: U2FsdGVkX1+9swLntpHvMYn09oIEP9fa458sGtpnEQI=
Cancel-Lock: sha1:5j9m2zgarB2JNTWbrzqW7eSs85A=
User-Agent: Thunderbird 2.0.0.22 (X11/20090605)