[Pythonmac-SIG] Generating Mac PICT files

Andy Robinson andy@reportlab.com
Mon, 17 Mar 2003 22:55:37 -0000


Before reinventing any wheels...

Does anyone know of existing Python code which
can take a bitmap image (e.g array of RGB pixels out
of PIL or something) and generate a PICT file?
I'd like to make this one of the export formats for
reportlab/graphics.

It seems easy enough on the Mac (e.g. with piddleQD)
calling the QuickDraw modules but if possible I'd 
prefer something platform-independent.

Thanks very much,

Andy Robinson (near total Mac newbie)