Skip to content

Commit

Permalink
Merge pull request #4 from 5thWall/master
Browse files Browse the repository at this point in the history
Bigger image.
  • Loading branch information
chengyin committed Feb 19, 2013
2 parents 71e09e8 + ef63515 commit 86db892
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions albumcolors.js
Expand Up @@ -104,6 +104,8 @@
var canvas, context;

canvas = document.createElement('canvas');
canvas.width = this.image.width;
canvas.height = this.image.height;
context = canvas.getContext('2d');

context.drawImage(this.image, 0, 0);
Expand Down

0 comments on commit 86db892

Please sign in to comment.