[Image-SIG] Using ImageDraw colors?

Fredrik Lundh fredrik@pythonware.com
Tue, 16 Oct 2001 09:27:22 +0200


Richard A. Smith wrote:

> How does one go about translating a color into the number that the
> fill= arguments wants?  I can't seem to find any documentation or
> examples.

it's the same syntax as for new/paste etc: use a single integer (or
float) for single-layer images, use a tuple for multi-layer images.

</F>