open fun setDefaultContentType(@Nullable defaultContentType: MediaType): Unit
Sets the default Content-Type to be used for writing.
Content-Type
IllegalArgumentException - if the given content type is not supported by the Java Image I/O API
IllegalArgumentException