public class TIFFImageWriter extends AbstractImageWriter
构造器和说明 |
---|
TIFFImageWriter() |
限定符和类型 | 方法和说明 |
---|---|
MultiImageWriter |
createMultiImageWriter(OutputStream out)
Creates a MultiImageWriter instance that lets you put multiple pages into a single file
if the format supports it.
|
String |
getMIMEType() |
boolean |
supportsMultiImageWriter() |
void |
writeImage(RenderedImage image,
OutputStream out)
Encodes an image and writes it to an OutputStream.
|
void |
writeImage(RenderedImage image,
OutputStream out,
ImageWriterParams params)
Encodes an image and writes it to an OutputStream.
|
isFunctional
public void writeImage(RenderedImage image, OutputStream out) throws IOException
image
- the image to be encodedout
- the OutputStream to write toIOException
- In case of an /IO problempublic void writeImage(RenderedImage image, OutputStream out, ImageWriterParams params) throws IOException
image
- the image to be encodedout
- the OutputStream to write toparams
- a parameters object to customize the encoding.IOException
- In case of an /IO problempublic String getMIMEType()
public MultiImageWriter createMultiImageWriter(OutputStream out) throws IOException
createMultiImageWriter
在接口中 ImageWriter
createMultiImageWriter
在类中 AbstractImageWriter
out
- the OutputStream to write the image toIOException
- In case of an /IO problemImageWriter.createMultiImageWriter(
java.io.OutputStream)
public boolean supportsMultiImageWriter()
supportsMultiImageWriter
在接口中 ImageWriter
supportsMultiImageWriter
在类中 AbstractImageWriter
ImageWriter.supportsMultiImageWriter()
Copyright 1999-2016 The Apache Software Foundation. All Rights Reserved.