This tests the usage of canvas.contents(). The image below should be the image above after applying the swirl filter followed by the ink filter.