QR Reader Magapix to canvas and getImage from canvas