/image-to-buffer

turn your images to a base64 txt file or get an image from an existing one!

Primary LanguageJavaScript

image-to-buffer

Turn your images to a base64 code or make a new image from an existing base64 code

Image support

  • jpg
  • png

Use the CLI

run the following command in your terminal:

npx img2bfr

some notes

  • Make sure the file either the .txt or the image is in the Desktop Dir.
  • Type only the file name in the CLI prompt e.g. instead of boomer/Home/Desktop/file.txt, you can just type file.txt.
  • In case you have an external buffer code make sure to encode it in base64 then save it as txt file in the Desktop Dir.