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'));

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.1
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.1
    1
  • 1.0.0
    0

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