Some image functions
CoffeeScript JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
test
.gitignore
.travis.yml
LICENSE.txt
README.md
bmp.coffee
index.js
package.json

README.md

Some image functions

Build Status

{subbmp} = require 'rs-image'

BMPs

So far we only support single-plane 24-bit RGB 54-byte-header uncompressed minimal-metadata BMPs.

That's the kind that ffmpeg ... -f image2pipe -c bmp - produces.

subbmp

Efficiently create a BMP of a rectangular part of a BMP:

clip_bmp_data = subbmp bmp_data, {x, y, width, height}

License: MIT