[comp.sys.mac.programmer] Adobe Photoshop and 32 PICT files

oml@lanl.gov (Olaf Lubeck) (02/02/91)

	I am writing a direct 32 bit PICT from an application. The problem is
that Adobe Photoshop reads it as an indexed (256 color) PICT. Anyone know why?
How does Photoshop decide whether the PICT is direct or indirect? I've hex dumped
the file. It has all the necessary Pixmap fields to indicate that it is a direct
32 bit PICT (eg. Pixmap type = 16 (direct), component count=3, component size=8,
pixel size = 32). Also other programs (another application of mine) and 
PICTViewer reads the file ok. This does not happen with ALL the PICT files that
I write, only SOME of the direct files are read as indexed.
Olaf Lubeck
505-667-6017
oml@lanl.gov