Hi all,
do you know whether there is a way in the python console in rhino to import a module to read images?
What I am in need of would be to be able to read an image:
size of the image
color of a given pixel
(png, jpg, bmp, doesn't matter)
import png doesn't seem to work and I couldn't manage to install PIL.
Has anyone ever tried to do it? What would be the easiest way to do it?
Thanks in advance
best
Vincenzo
David Rutten
Can't you use the System.Drawing.Image class? It has width and Height properties and a GetPixel(x,y) method.
Aug 25, 2014