実装しているサイトで pixastic (http://www.pixastic.com/lib/docs/actions/blend/) を使用しています。JQuery を使用して、共有クラスを持つ画像のコレクションをループし、ブレンドを適用する必要があります。各画像へのコード。
pixastic サイトのサンプル コードは、私にはあまり意味がありません (新しい画像を作成しているように見えます)。
var img = new Image();
img.onload = function() {
var blendImg = new Image();
blendImg.onload = function() {
Pixastic.process(img, "blend",
{
amount : 1,
mode : "multiply",
image : blendImg
}
);
}
blendImg.src = "blendimage.jpg";
}
img.src = "myimage.jpg";