1.0.4 • Published 2 years ago
imgle v1.0.4
Getting Started
yarn
$ yarn add imgle
npm
$ npm i imgle
first make sure that your image in the html image formate
import Emojize from "imgle";
const image = document.getElementbyId("image");
const [textArray, textString] = Emojize(image);
or
import Emojize from "imgle";
const image = new Image();
image.src = Buffer.from(data).toString("base64");
image.onload = () => {
const [textArray, textString] = Emojize(image);
};
License
MIT