Extended encode/decode test case to use all supported image types.
Added example which loads in image via DotNet streams.