[Bf-python] Image.getPixelColor
Stephen Swaney
sswaney at centurytel.net
Sun May 1 01:14:21 CEST 2005
On Sat, Apr 30, 2005 at 02:34:35PM -0600, Austin Benesh wrote:
>
> setPixel(i x, i y, f r, f g, f b, f a)
You might want to consider making this accept a sequence
for the pixel values: setPixel( x, y, (colors) ).
This way getPixel and setPixel can interoperate:
a.setPixel( x, y, b.getPixel( x, y ) )
Eventually, we will need some high-performance operators
to play with pixels; either via BGL buffers or perhaps
using the slice operator [:].
Feel free to create a discussion page on the wiki.
> getMinXY()
is this the same or different than the Imbuf.xorig, yorig members?
> and
> Image.Save()
As for using PIL, I don't see us distributing it, but is should
not be difficult to write some adaptors to allow it to work
with our Image module.
--
Stephen Swaney
sswaney at centurytel.net
More information about the Bf-python
mailing list