title: Getting pixel data from Kinetic JS Image
body: <p>I am using Kinetic JS to display an image, and I would like to implement a magnify function.</p>
  
  <p>So basically I would like to copy the area of the image which the mouse pointer is hovering over, scale it, and display it elsewhere on the screen. </p>
  
  <p>You can grab HTML5 canvas pixel data with the canvas context.getImageData() function, but is there another way to do this in Kinetic JS or should I just try to get the image's underlying context and use the getImageData function?</p>
  
  <p>Thanks</p>