🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.postscript.programming
Article #1128

Re: Need to add an image file into the PS file

#1128
From: Miklos Somogyi
Date: Thu, 24 Apr 2003 09:20
11 lines
1370 bytes
DCT stands for Discrete Cosine Transform,
and DCTEncode and DCTDecode are standard Level-2 PostScript "filters".

Most importantly, DCT is PostScript for JPEG! I don't know what kind of file format you have, but chances are that Acrobat or Ghostscript can turn them into
DCT and further encode them with the ASCII85 filter, so that it will have only printable characters.

.jpg files are usually fairly small (20-60 times smaller than equivalent hex images), and the ASCII85 filter does not add too much to it.

I think that what you want is doable, however, it needs quite a bit of PS knowledge.

Miklos
Technical Details
Message-ID: <1de8ce13.6@WebX.la2eafNXanI>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-04!sn-xit-01!sn-xit-06!sn-xit-09!supernews.com!news.maxwell.syr.edu!nntp.infostrada.it!newsfeed01.sul.t-online.de!t-online.de!WebX
References: <1de8ce13.-1@WebX.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10c61a,4cd21f2d4f8e6cf6
X-Google-Attributes: gid10c61a,public
X-Google-ArrivalTime: 2003-04-24 02:37:52 PST
From: "Miklos Somogyi" <som@netlink.com.au>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-04!sn-xit-01!sn-xit-06!sn-xit-09!supernews.com!news.maxwell.syr.edu!nntp.infostrada.it!newsfeed01.sul.t-online.de!t-online.de!WebX
Newsgroups: adobe.postscript.programming
Subject: Re: Need to add an image file into the PS file
Message-ID: <1de8ce13.6@WebX.la2eafNXanI>
Date: Thu, 24 Apr 2003 02:20:23 -0700
References: <1de8ce13.-1@WebX.la2eafNXanI>
Lines: 16
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit