Quantcast
Channel: Scripting - McNeel Forum
Viewing all articles
Browse latest Browse all 5877

Access image data from within GhPython

$
0
0

@lawrenceyy wrote:

Is there a way to open an image in GhPython to get all of its pixel data (like RGB values)? Ideally, I would be importing hundreds of images sequentially and processing them (which is why I do not want to use image sampler) .

I would normally do this with PIL/Pillow if this was a standalone python script, but no one has been able to help me with getting those libraries to work in GhPython.

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 5877

Trending Articles