Example of working with image data

Note: test will not work on local file system

Source image

Mixed color channels

Previous canvas element as source image

PNG data URI as source image

JPEG data URI as source image