Skip to main content
jk2K
New Participant
April 30, 2023

I create a plugin that can convert image to base64

  • April 30, 2023
  • 4 replies
  • 2188 views

refer to

  1. How about having an option copy as base64?
  2. Export to base64

@user19 @Anwarul_Islam

I created a plugin that can convert image to base64

tutorial:

  1. run plugin https://www.figma.com/community/plugin/1226170501704996152/Pwireframe
  2. select image
  3. click Copy as Base64 button

this is demo

todo
automatically write base64 text to clipboard (require Figma to provide an API for writing to the clipboard)

4 replies

Stephane_Popout
April 30, 2023

Nice job! Would be useful to many

davy_zhang
August 24, 2023

I’ve encountered an issue with the current plugin that’s preventing it from successfully converting images to base64. Typically, I rely on the tool available at Image Base64 for this task. However, it would be much more convenient if I could perform this conversion directly within Figma, eliminating the need to upload images separately. Unfortunately, it appears that the plugin is currently experiencing difficulties.

jk2K
jk2KAuthor
New Participant
August 26, 2023

image larger than 1MB experience memory issue, I will try to fix it

jk2K
jk2KAuthor
New Participant
August 26, 2023

fixed,

root cause: Figma text node not support large text

automatically copied to the clipboard when use in Figma desktop

you need to copy it manually when use in Figma browser,