Media View

The media view widget displays an image or PDF passed by a function output. You can e.g. use the memory function for reading data from different sources and extracting it.

A function with an image connected to the Media View. The modifier retrieves the content of the output array.
Dragging a file from the media server into memory and using it as is also works

The widget works with both file paths and buffers (base64-encoded strings) and takes in inputs with a path or base64 field.

If the type field is "image/png", the widget will have options to change the image fitting and round the corners. These options are accessible in the Media View Settings ⚙️.

Media View settings

If the type is "pdf", these options won't be available, but the media view will display all the pdf pages in a scrollable format.

Last updated