public final String dumpImageFile(final byte[] bytes) throws ImagingException, IOException {
        return dumpImageFile(ByteSource.array(bytes));
    }
Writes the ImageInfo and format-specific information for the image content of the specified byte array to a string.

@param bytes A valid array of bytes.
@return A valid string.
@throws ImagingException In the event that the specified content does not conform to the format of the specific parser implementation.
@throws IOException      In the event of unsuccessful read or access operation.
src/main/java/org/apache/commons/imaging/AbstractImageParser.java