How to use RhinoCommon to get the Color in PictureFrame?

I want to use Rhino to get the color out of a picture frame for a list of sample points on another layer.

Which object should I use to achieve this?

I read this and I don’t think that can apply to RhinoCommon

I do not think there is specific image handling inside RhinoCommon, however you should have access to

System.Drawing.Bitmap

What language are you working in?

-Willem

Hi Willem,

I am using C#, what I want to do a function similar to Heightfield.

I want a picture at the background or as a picture frame first. Then later I can use my own Height field function to draw the height field on another layer.

Toby

Hi Toby,

A picture frame is nothing more than a planar surface with a material that has a bitmap texture.

Does this help?