public class PNGWriter extends Object
Constructor and Description |
---|
PNGWriter() |
Modifier and Type | Method and Description |
---|---|
boolean |
isScanlineSupported(RenderedImage image)
Quick method used for checking if the image can be optimized with the selected scanline extractors or if the image must be rescaled to byte
before writing the image.
|
RenderedImage |
writePNG(RenderedImage image,
OutputStream outStream,
float quality,
ar.com.hjg.pngj.FilterType filterType) |
public RenderedImage writePNG(RenderedImage image, OutputStream outStream, float quality, ar.com.hjg.pngj.FilterType filterType) throws Exception
Exception
public boolean isScanlineSupported(RenderedImage image)
image
- Copyright © 2006–2014 GeoSolutions. All rights reserved.