starting work on effects
This commit is contained in:
parent
c91827ee03
commit
5dc6f6ae89
3 changed files with 41 additions and 1 deletions
|
@ -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});
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue