Introduction - If you have any usage issues, please Google them yourself
Encode bitmaps via CGImageDestination. We setup a DataConsumer which writes to our SkWStream. Since we don t reference own the SkWStream, our consumer must only live for the duration of the onEncode() method.