This is my code:
const image = figma.getImageByHash(imageHash);
  const bytes = await image.getBytesAsync();
  const bytesArray = Array.from(bytes);
  const fileName = `${folder}/${nodeName}_${imageHash}.png`;
I tried to use blobs in ui part, exportAsync in plugin part and tried to find other ways but I couldn’t. What I need to do?
Â
Question
How to export images or other objects in plugin API?
This topic has been closed for replies.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
