Skip to content
Some image functions
CoffeeScript JavaScript
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
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

Something went wrong with that request. Please try again.