meltingice / CamanJS

Javascript HTML5 (Ca)nvas (Man)ipulation

Home Page:http://camanjs.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

newLayer + overlayImage

c42759 opened this issue · comments

I have try in many way, but without success.
I wanna add a overwatch to the image i'm rendering, with the code bellow

screen shot 2017-09-07 at 18 33 41

But when render try to load the overlay returns an error,

screen shot 2017-09-07 at 18 35 36

I'm using browser,

You can load with new Image(), append to DOM and use an Image instance for overlayImage.