psdw
简单的 javascript psd 编写器
用法
var psdBlob = psdw ( {
width /* required */ : 1 , // pixel unit
height /* required */ : 1 , // pixel unit
flattenedImageData /* required */ : new Uint8ClampedArray ( [ 0 , 0 , 0 , 0 ] ) ,
layers : [
{ // bottom layer (background)
name /* required */ : 'psdw layer' ,
imageData /* required */ : new Uint8ClampedArray ( [
1