public ImageFormat getFormat() {
        return format;
    }
Returns the image file format, ie. ImageFormat.IMAGE_FORMAT_PNG.

<p>
Returns ImageFormat.IMAGE_FORMAT_UNKNOWN if format is unknown.
</p>

@return a constant defined in ImageFormat.
@see ImageFormats
src/main/java/org/apache/commons/imaging/ImageInfo.java