Article View: adobe.postscript.programming
Article #924PICT preview
From: Chinh Nguyen
Date: Fri, 01 Aug 2003 15:00
Date: Fri, 01 Aug 2003 15:00
5 lines
1745 bytes
1745 bytes
I've added TIFF preview support and now want to add PICT preview support to EPS files exported by my app (will add WMF support to Windows version). I simply get a PicHandle to my image and add it to the resource fork of my EPS file as 'PICT' and id of 256. It looks just fine in ResEdit but when I place the EPS file in Word X, I get a blank image (not even the text that says no preview was included). Placing a Photoshop EPS file with a PICT preview in Word looks fine. However, an Illustrator EPS file with PICT preview does not show up in Word. The documentation from Adobe (partners.adobe.com/asn/developer/pdfs/tn/5002.EPSF_Spec.pdf) us of some help but seems incomplete. For example, it doesn't mention the fact that TIFF previews can't have a pixel depth of more than 8-bit which I figured out on my own. I'm wondering if there are similar limitations with the PICT preview such as it must be 8-bit and a bitmap. Can anyone suggest anything or point me to some better documentation?
Technical Details
Message-ID:
<1dea2926.-1@WebX.la2eafNXanI>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-09!supernews.com!newshosting.com!news-xfer1.atl.newshosting.com!tiscali!newsfeed1.ip.tiscali.net!proxad.net!proxad.net!newsfeed.arcor-online.net!newsfeed01.sul.t-online.de!t-online.de!WebXShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10c61a,6ba92c16a48d8675,start X-Google-Attributes: gid10c61a,public X-Google-ArrivalTime: 2003-08-01 08:08:03 PST From: "Chinh Nguyen" <cnguyen@stata.com> Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-09!supernews.com!newshosting.com!news-xfer1.atl.newshosting.com!tiscali!newsfeed1.ip.tiscali.net!proxad.net!proxad.net!newsfeed.arcor-online.net!newsfeed01.sul.t-online.de!t-online.de!WebX Newsgroups: adobe.postscript.programming Subject: PICT preview Message-ID: <1dea2926.-1@WebX.la2eafNXanI> Date: Fri, 1 Aug 2003 08:00:10 -0700 Lines: 18 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit