3 Replies Latest reply on Mar 15, 2016 9:40 AM by ClayUUID

    How to Resize image in Html5 Canvas?

    sabiqxs Level 1

      hey, i've try to resize width and height the image using code :

      h01 = document.createElement('img');
      h01.src = 'images/rambut/h01.png';
      h01.width = 69;
      h01.height = 69;
      var images_h01 = new createjs.Bitmap(h01);
      this.mc_h01.addChild(images_h01);
      

      but the image size is not change anything.

      help...