public class PNGImageEncoder extends ImageEncoderImpl
output
构造器和说明 |
---|
PNGImageEncoder(OutputStream output,
PNGEncodeParam param) |
限定符和类型 | 方法和说明 |
---|---|
void |
encode(RenderedImage im)
This method encodes a
RenderedImage into PNG. |
encode, getOutputStream, getParam, setParam
public PNGImageEncoder(OutputStream output, PNGEncodeParam param)
public void encode(RenderedImage im) throws IOException
RenderedImage
into PNG.
The stream into which the PNG is dumped is not closed at
the end of the operation, this should be done if needed
by the caller of this method.encode
在接口中 ImageEncoder
encode
在类中 ImageEncoderImpl
IOException
Copyright 1999-2016 The Apache Software Foundation. All Rights Reserved.