How to using PictureFrame in C++ command?

Hello :smile:
I want to use a function similar to the command _Picture.
I found the function of RhinoCreatePictureFrame in rhinoSdkObject.h.

I want to replace the background with a picture by C++ command but failing.
Is there any sample code for reference?

I will be grateful for any help you can provide.

  • Dale

Does the RhinoCreatePictureFrame function only input images through the file path?
The dib used in the example is only used to resize.
I am not sure if I can input directly from dib or BITMAP without using the file path.
thanks for your help.:grinning:

The Rhino SDK does not have a function to create a picture frame from an in-memory dib.

– Dale