Functional conversions of canvas data to an array.