home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / sys / mac / programm / 20890 < prev    next >
Encoding:
Text File  |  1993-01-07  |  912 b   |  25 lines

  1. Newsgroups: comp.sys.mac.programmer
  2. Path: sparky!uunet!gatech!udel!louie!tinman!gray
  3. From: gray@tinman.asel.udel.edu (John Gray)
  4. Subject: Converting between PICT and masked PixMap
  5. Message-ID: <1993Jan7.153804.7458@udel.edu>
  6. Sender: usenet@udel.edu (USENET News Service)
  7. Nntp-Posting-Host: tinman.asel.udel.edu
  8. Organization: AI duPont Institute
  9. Date: Thu, 7 Jan 1993 15:38:04 GMT
  10. Lines: 13
  11.  
  12. Greeting fellow netters:
  13.  
  14. I am working on an app that does a lot of image manipulation.  I am storing 
  15. my images in PixMaps because I need to be able to get to individual pixels
  16. of the image easily.  I generally display the pixMaps with a mask usings
  17. CopyBits or CopyMask.  I now have a need to convert the images to PICTs.
  18. I see how to do that by using openPicture and drawing the thing and closing
  19. the picture.  The problem is how to convert back to a PixMap and retrieve the
  20. mask.
  21.  
  22. Thanks 
  23. John Gray
  24. gray@asel.udel.edu
  25.