to Image
Converts the bytes of this ByteString into an image, regardless of the format that was used to generate the bytes. If this ByteString, an IllegalStateException will be thrown. This method supports the alpha layer and therefore preserves opacity. The type of BufferedImage that will be created by this method depends on the bytes that are contained within this ByteString.