Skip to main content

I create a plugin that can convert image to base64


jk2K
  • New Participant
  • 14 replies

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

Nice job! Would be useful to many


davy_zhang

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
  • Author
  • New Participant
  • 14 replies
  • August 26, 2023

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


jk2K
  • Author
  • New Participant
  • 14 replies
  • 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,


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings