image-buffer-utils
This is a JavaScript library for manipulating image buffers with pure functions. It's not the most efficient way of doing this, and you probably won't be able to use this library in a performance-critical project. It's just for practicing image processing
Last updated 2 years ago by andormade .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install image-buffer-utils 
SYNC missed versions from official npm registry.

npm version Build Status Dev dependency Status

image-buffer-utils

This is a JavaScript library for manipulating image buffers with pure functions. It's not the most efficient way of doing this, and you probably won't be able to use this library in a performance-critical project. It's just for practicing image processing algorithms and functional programming.

Installation

This module is distributed via npm:

npm install image-buffer-utils

Usage

import ImageBufferUtils from 'image-buffer-utils';

const canvas = ImageBufferUtils.createImageBuffer(16, 16);
const color = [0, 0, 0, 0];

ImageBufferUtils.drawRect(canvas, 16, true, 0, 0, 16, 16, color);

This code is released under the MIT license, feel free to do whatever you want with it.

Current Tags

  • 1.0.0                                ...           latest (2 years ago)

1 Versions

  • 1.0.0                                ...           2 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 2
Dependencies (2)
Dev Dependencies (3)
Dependents (1)

Copyright 2014 - 2016 © taobao.org |