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.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.1
    0
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.1
    0
  • 1.0.0
    0

Package Sidebar

Install

npm i spectrumjs

Weekly Downloads

0

Version

1.0.1

License

ISC

Last publish

Collaborators

  • conor-obrien