[Image-SIG] Re: Returning Colormap values for an image?

Fredrik Lundh fredrik at pythonware.com
Wed Aug 11 15:34:59 CEST 2004


Alfred Milgrom wrote:

> How can I get the correct data from the grabbed image without having
> to save it first?

the palette string may have different formats depending on the
data source (the palette.rawmode attribute is used to describe
the actual format).

instead of peeking into the palette object, use the resize/convert
technique described in this message:

    http://article.gmane.org/gmane.comp.python.general/347330

</F>





More information about the Image-SIG mailing list