By default, this converter can read all media types that are supported by the {@linkplain ImageIO#getReaderMIMETypes() registered image readers}, and writes using the media type of the first available {@linkplain javax.imageio.ImageIO#getWriterMIMETypes() registered image writer}. This behavior can be overriden by setting the #setContentType(org.springframework.http.MediaType) contentType} properties.
If the {@link #setCacheDir(java.io.File) cacheDir} property is set to an existing directory, this converter willcache image data.
The {@link #process(ImageReadParam)} and {@link #process(ImageWriteParam)} template methods allow subclasses tooverride Image I/O parameters. @author Arjen Poutsma @since 3.0
|
|
|
|
|
|