do i need to create new rgbimage class

Gabriel Genellina gagsl-py2 at yahoo.com.ar
Sun Dec 30 09:08:29 EST 2007


On 30 dic, 10:53, jimgarde... at gmail.com wrote:

> > I don't get the name - why "rgb to double"? This does not return a
> > "double", but a long integer,
>
> actually it was to be of 'long' type not double..sorry again

Notice that a Python 'long' is an infinite range integer; the C 'long'
type maps to Python 'int'. Perhaps you want the latter.

--
Gabriel Genellina



More information about the Python-list mailing list