Preview Image in Window

Hi All,

It is possible to watch a loaded image within the Dynamo interface with the “Watch Image” node, but is it possible to load an image into a preview window that can then be closed with some kind of yes/no input?

I am thinking of getting a user to run a Dynamo Player script and having them confirm an action with an image preview before continuing the script.

Any help is appreciated.

I think this would be a good question for the Data Shapes manager @Mostafa_El_Ayoubi.

Mostapha,

I think you can load an image into WinForms. Would you be interested in adding that to your package if it’s not already?

Cheers!

2 Likes

Hi @Ewan_Opie ,
@Konrad_K_Sobon is right I have something in the works indeed :slight_smile: here’s how it looks like :

The image input doesn’t return anything as an output (just like the textnote input). You can create a form that has only the image in it:

I’m uploading it to the package right now so you’ll find it if you upgrade. I am planning on making a new post about all the new inputs this weekend so I could use some feedback!

5 Likes

Thanks @Mostafa_El_Ayoubi ill test this and let you know how my workflow goes.