JsonGA is a soon-powerful library that processes images to the glorious JSON-G image format, and converts that format back into an image.
- Object-oriented.
- Uses JSON-G.
- Utilizes no native libraries.
- Probably never gonna get used.
- Lightweight
npm install jsonga
const JsonGA = require("jsonga");
const jsong = new JsonGA.Picture(__dirname + "/demo.jsong");
jsong.draw().then((picture) => {
picture.save(__dirname + "/demo_draw.png")
})const JsonGA = require("jsonga");
const picture = new JsonGA.Picture(__dirname + "/demo.png");
picture.format().then((pic) => {
pic.save(__dirname + "/demo.jsong")
})Please don't.