1.0.1 • Published 7 years ago

spectrumjs v1.0.1

Weekly downloads
8
License
ISC
Repository
github
Last release
7 years ago

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.

1.0.1

7 years ago

1.0.0

7 years ago