Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on May 8th, 2012  |  syntax: None  |  size: 0.23 KB  |  hits: 11  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. HTML5 : Uknown error when trying to copy a canvas into another one
  2. layerCtx.globalAlpha = 0,2; // same thing with this line commented
  3. layerCtx.drawImage(cvs, 0 , 0);
  4.        
  5. layerCtx.putImageData(ctx.getImageData(0, 0, 800, 500), 0, 0);