Skip to content
Spectrum language
Branch: master
Clone or download
Latest commit 9f808bb Mar 29, 2017
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md fix readme Mar 29, 2017
package.json update package.json Mar 29, 2017
spectrum.js added `n` option Mar 29, 2017

README.md

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("spectrumjs").Image;
Image.fromFile("cat.png").invert().output("scary-cat.png");

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

You can’t perform that action at this time.