blockify-mc

1.0.1 • Public • Published

blockify

Replaces pixels in an image with Minecraft blocks!

Usage

// {image} can be a buffer, url to file, or image url
await blockify(image)

// returns an image buffer

Example

const blockify = require('blockify');
const fs = require('fs');

fs.writeFileSync('exampleBlockified.png', await blockify('./example.png'));

/blockify-mc/

    Package Sidebar

    Install

    npm i blockify-mc

    Weekly Downloads

    1

    Version

    1.0.1

    License

    GPL-3.0-or-later

    Unpacked Size

    363 kB

    Total Files

    801

    Last publish

    Collaborators

    • chromus