spectrumjs

1.0.1 • Public • Published

Spectrum

A JavaScript library for image manipulation.

Features

  • Ability to read .png and .ppm (and similar) files.
  • Ability to manipulate images by pixel.
  • Asynchronous execution.
  • Minimalistic CLI interface language.

Examples

const Image = require("spectrum").Image;
Image.fromFile("cat.png").invert().output("scary-cat.png");

This inverts each RGB value, then writes the result to scary-cat.png.

Dependencies (3)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i spectrumjs

    Weekly Downloads

    3

    Version

    1.0.1

    License

    ISC

    Last publish

    Collaborators

    • conor-obrien