[CentralOH] Python library for image processing?

DaffyDaffyDaffy33322 zachary1998 at gmail.com
Tue Apr 9 16:00:00 EDT 2019


I'd recommend against .getpixel(), as it's very slow if you want to get
every single value. Instead try `pixels = image.load()` and then address
each pixel as `pixels[x,y]`.

On Tue, Apr 9, 2019 at 3:58 PM Andrew Kubera <andrewkubera at gmail.com> wrote:

> The Pillow library has an Image.getpixel method that is probably what
> you're looking for.
>
> On Tue, Apr 9, 2019, 3:48 PM Eric Miller <miller.eric.t at gmail.com> wrote:
>
>> Looking for a library to parse each pixel in an image file. Need to map
>> each x,y pixel to its associated RGB values.
>>
>> Any recommendations for a lib that will do this well?
>>
>> Thanks!
>> _______________________________________________
>> CentralOH mailing list
>> CentralOH at python.org
>> https://mail.python.org/mailman/listinfo/centraloh
>>
> _______________________________________________
> CentralOH mailing list
> CentralOH at python.org
> https://mail.python.org/mailman/listinfo/centraloh
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/centraloh/attachments/20190409/8004bca8/attachment.html>


More information about the CentralOH mailing list