What colour model does the image use in PIL
Hrvoje Niksic
hniksic at xemacs.org
Wed Nov 7 10:33:31 EST 2007
Johny <python at hope.cz> writes:
> I would need to apply a threshold value to the image, where
> everything above a certain brightness level becomes white, and
> everything below the level becomes black. How can I do that with
> PIL?
I think you're supposed to use the "point" method, but I don't have an
example ready. See
http://mail.python.org/pipermail/image-sig/2004-November/003019.html
for a hint.
More information about the Python-list
mailing list