starting work on effects

This commit is contained in:
Bala Clark 2010-07-13 17:21:54 +01:00
parent c91827ee03
commit 5dc6f6ae89
3 changed files with 41 additions and 1 deletions

View file

@ -243,10 +243,12 @@ function ComicBook(id, srcs, opts) {
page = tmpPage2;
page2 = tmpPage;
}
// draw the page(s)
context.drawImage(page, offsetW, offsetH, page_width, page_height);
if (options.displayMode === "double" && typeof page2 === "object") { context.drawImage(page2, page_width + offsetW, offsetH, page_width, page_height); }
Pixastic.process(canvas, "desaturate", {average : false});
};
/**