0.0.2 • Published 5 years ago

@metalfs/colorfilter v0.0.2

Weekly downloads
1
License
MIT
Repository
github
Last release
5 years ago

Metal FS Color Filter Operator

This operator takes a bitmap file as the input, transforms it to grayscale except pixels with red as the dominant color.

For general information on Metal FS, please visit the project website.

Installation

npm install @metalfs/colorfilter

Example image.json:

{
    "streamBytes": 8,
    "target": "SNAP/WebPACK_Sim",
    "operators": {
        "colorfilter": "@metalfs/colorfilter"
    }
}

Operator Details

Description
InputStream of bitmap data with a 138-byte header.
OutputTransformed bitmap data.
Stream WidthAdaptable

Options

No options are available.

0.0.2

5 years ago

0.0.1

6 years ago