get info from canvas