On 30 dic, 10:53, [EMAIL PROTECTED] 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
> (May I ask why an accessor like getpixellist() instead of simply
> rgbimage1.pixellist?)
sorry,
bad style of coding on my part..was doing java stuff..
>
> 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
On 30 dic, 04:57, Gabriel Genellina <[EMAIL PROTECTED]> wrote:
> The PIL docs at [1] say that using getpixel is very slow, and suggest
Sorry, dropped the reference:
[1] http://www.effbot.org/imagingbook/image.htm#tag-Image.Image.getpixel
--
Gabriel Genellina
--
http://mail.python.org/mailman/l
On 29 dic, 12:42, [EMAIL PROTECTED] wrote:
> am a beginner in python and PIL .I need to read an RGB 8 bit image
> (am using jpeg )and pack the rgb color values into a double value so i
> can store the image as a list of pixelvalues.From my application i
> should be able to call rgbimage1.getpixel