Using Rhinoscript for image editing?

I use Python’s PIL Image library often for editing render output images (Image.open, eval, load, paste, composite). Recently, I’ve been getting into making Rhino plug-ins. I’m wondering if I can translate any of Python’s sweet image editing capabilities into a Rhinoscript code?

I’m not sure this is even possible from what I understand, but any pointers would be of great help.

Hi Bhupati

FWIW:

You can use methods available in .Net to work with bitmaps. ( only Rhino for Windows I guess)
Below 2 of my scripts that work with image files via System.Drawing.Bitmap class

PictureframeScale1To1_01_cmd.py (1.0 KB)

PixelReader.py (793 Bytes)

-Willem

4 Likes