Miss any of our Open RFC calls?Watch the recordings here! »

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.

Install

npm i spectrumjs

DownloadsWeekly Downloads

3

Version

1.0.1

License

ISC

Last publish

Collaborators

  • avatar