[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] How to read PICT files



Brian Matthews <blm@halcyon.com> writes 30 Jun 1998 09:25:22 -0700 (PDT)

>- Except for the first few fields, the format of a PICT isn't really
>  documented (well, it is, but it's "subject to change", plus it's far
>  easier to let the system decode it than doing it yourself), so the
>  "standard" way to get at the actual bits in the picture is to draw it
>  into and offscreen GWorld, get the GWorld's pixmap, then crawl through
>  that. MacPerl does support offscreen Quickdraw, see lib:Mac:QDOffScreen.pm,
>  and PixMaps, see lib:mac:QuickDraw.pm. The downside is that I haven't had
>  much luck getting QDOffScreen to work, although I've only spent maybe 5
>  minutes working with it. Also, you'll almost assuredly need Inside Mac to
>  figure out how to use the QDOffScreen stuff.

To get QDOffscreen to work you will need the 19th May 1998 revisions of
both QDOffscreen.pm and QuickDraw.pm available on Matthias' site:

        ftp://err.ethz.ch/pub/neeri/MacPerl/Beta

Alan Fry



***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch