I am creating a bitmap data object that I’m using to save an image to the user drive. I can take an image of the canvas and save it fine but how do I go about cropping the image. Here is how I’m getting the image:
this.bmd = this.game.add.bitmapData(588, 496);
this.bmd.drawGroup(this.savegroup);