Pasting image to canvas from URL

Hey there!

I’m developing my own plugin and was wondering is it possible to create a frame/rect and set a background of it as an image based on the URL of that image (like backgroundImage in CSS)? I only have a URL and not the bytes or hash.

Thanks!

More recently, Figma released a method for creating an image from a URL. You can find detailed information with example at the following link:

1 Like

Thank you! That’s exactly what I needed.