/act.js

Create Adobe Color Table (.act) files using Uint8Array, Blob API and FileReader API.

Primary LanguageJavaScriptMIT LicenseMIT

act.js

Create Adobe Color Table (.act) files using Uint8Array, Blob API and FileReader API.

Usage

Browser

A UMD version can be found at dist/.

Browserify

npm install act-js --save
var generate = require('act-js');
var colors = [[255, 0, 0], [0, 255, 0], [0, 0, 255]];
generate(colors, function(err, dataURL) {
    console.log(dataURL);
});

FAQ

Use .act in GIMP?

In Palettes, select a palette and right click it, choose import palette.

Ref