Article View: comp.lang.postscript
Article #6697Re: Display external TIFF file
From: Aandi Inston
Date: Thu, 03 May 2007 07:38
Date: Thu, 03 May 2007 07:38
22 lines
1841 bytes
1841 bytes
asproat1@hotmail.com wrote: >I've found and implemented the following code to display external JPEG >files and it works well: This works (mostly) because the JPEG file format is, by coincidence, exactly the same as the format required by the DCTDecode filter. > >But when I execute the same code with a TIFF file, substituting / >RunLengthDecode for the encoding, all I get is a one pixel high line. A TIFF file contains tags, pointers, and pixel data, in tiles or stripes, uncompressed or compressed with LZW, Run length, ZIP or JPEG. There is certainly no filter in PostScript for this or any other file format except JPEG. I have heard of an exercise in reading TIFF files with PostScript, but it would have been thousands of lines of code, parsing a byte at a time. ---------------------------------------- Aandi Inston Please support usenet! Post replies and follow-ups, don't e-mail them.
Technical Details
Message-ID:
<463990f5.1293620618@read.news.uk.uu.net>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.germany.com!news.osn.de!diablo2.news.osn.de!news.tele.dk!news.tele.dk!small.news.tele.dk!lnewsinpeer00.lnd.ops.eu.uu.net!bnewsinpeer00.bru.ops.eu.uu.net!emea.uu.net!read.news.uk.uu.net!not-for-mailReferences:
<1178155922.955360.233590@c35g2000hsg.googlegroups.com>Show Full Headers
Complete Article Headers
X-Google-Thread: f62f2,c4b31354dcc63574 X-Google-Thread: 10c61a,c4b31354dcc63574 X-Google-Attributes: gidf62f2,gid10c61a,public X-Google-Language: ENGLISH,ASCII-7-bit Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.germany.com!news.osn.de!diablo2.news.osn.de!news.tele.dk!news.tele.dk!small.news.tele.dk!lnewsinpeer00.lnd.ops.eu.uu.net!bnewsinpeer00.bru.ops.eu.uu.net!emea.uu.net!read.news.uk.uu.net!not-for-mail From: quite@dial.pipex.con (Aandi Inston) Newsgroups: comp.lang.postscript,adobe.postscript.programming Subject: Re: Display external TIFF file Date: Thu, 03 May 2007 07:38:17 GMT Message-ID: <463990f5.1293620618@read.news.uk.uu.net> References: <1178155922.955360.233590@c35g2000hsg.googlegroups.com> X-Newsreader: Forte Free Agent 1.21/32.243 Lines: 23 NNTP-Posting-Host: host33.quite.com X-Trace: 1178177902 read.news.uk.uu.net 7367 62.189.130.33:4347 X-Complaints-To: abuse@uk.uu.net