Skip to main content

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?
 

Be the first to reply!