Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!wuarchive!emory!mephisto!mcnc!decvax.dec.com!ima!mirror!howtek!cory From: cory@howtek.UUCP (Cory Kempf) Newsgroups: comp.sys.mac.programmer Subject: Re: displaying colored picts with correct colors? Message-ID: <1533@howtek.UUCP> Date: 2 Oct 90 17:14:37 GMT References: <1918@anaxagoras.ils.nwu.edu> Reply-To: cory@howtek.UUCP (Cory Kempf) Organization: Howtek Inc., Hudson, NH Lines: 14 In article <1918@anaxagoras.ils.nwu.edu> neves@ils.nwu.edu (David Neves) writes: >When I display a PICT resource using draw-picture the colors don't >seem to be quite right. I know that the picture was created with its >own colors (own color palette?). Does this has something to do with >it? Sounds like a palette problem. You need to set the colours that you will be using. With many pictures (especially bitmap PICTS), it is easier to set up the whole palette at once. Often the palette is saved as a resource along with the PICT. If not, game over. (unless you are using a 32 bit pict, then you can regen. the CLUT from the pict) +C