This patch adds a `T convertFromPngBytes(byte[] png);` method to OutputType, and implements
it for the existing BYTES, FILE and BASE64 types.
I'm adding this for use in OperaDriver, where we get screenshots back as bytes from
Opera, instead of a base64 encoded string.
Originally reported on Google Code with ID 1836
Reported by
stuidge
on 2011-06-14 12:32:37