act-js
v0.1.0
Published
Create Adobe Color Table (.act) files using Uint8Array, Blob API and FileReader API.
Downloads
9
Readme
act.js
Create Adobe Color Table (.act) files using Uint8Array, Blob API and FileReader API.
Usage
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
https://github.com/bdon/actpalette
https://developer.mozilla.org/en-US/docs/Web/API/Blob
http://stackoverflow.com/questions/12539058/is-there-a-default-mime-type
https://forums.adobe.com/message/2205681#2205681