home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!usc!news.service.uci.edu!ucivax!gateway
- From: kanderso@liege.ICS.UCI.EDU (Kenneth Anderson)
- Subject: I've got a handle, now I want a PICT.
- Message-ID: <9301221923.aa23160@Paris.ics.uci.edu>
- Newsgroups: comp.sys.mac.programmer
- Lines: 19
- Date: 23 Jan 93 03:24:06 GMT
-
- I want to start fooling around with PICTs from within my own applications.
- So I have written a program which allows you to open a file of type
- PICT. Unfortunately, I don't know how to access the PICT data once I have
- opened the file, allocated a new handle and read in the data fork. I tried
- casting the handle to a PicHandle and then I tried passing that to
- GetPictInfo, but GetPictInfo returned pictureDataErr.
-
- Can anyone help me out? Since PicHandle didn't work, what type should I
- try casting the generic handle to?
-
- Is there a Technote on this subject?
-
- Let me also tell you my intentions, I eventually want to display a 32 by
- 32 (pixels) portion of the PICT and let the user roam around the PICT using
- the arrow keys. In order to do this, will I need a PixMapHandle instead?
-
- Thanks in advance,
-
- Ken Anderson
-