[Image-SIG] converting between different RGB color spaces

Ashish Sethi ashishbitsgoa at gmail.com
Mon Aug 18 11:38:57 CEST 2008


Hi all,
I want to convert files stored in RGB [8:8:8] format to RGB [4:4:4],
RGB[12:12:12] etc.,i.e, basically i want to store images in RGB mode with
4,12 etc bit per band instead of the standard 8 bits.

For this, I think i will require *im.convert(mode, matrix)   *. But
unfortunately i couldn't find much reading material about it in the PIL
handbook. Plz guide me in the right direction
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/image-sig/attachments/20080818/633e995f/attachment.htm>


More information about the Image-SIG mailing list