public class Quantizer extends Object
RenderedImage
contents (using a Median Cut style algorithm) and builds an optimal RGBA ColorIndexer
that can be used to
turn the RGBA image into a paletted one.Constructor and Description |
---|
Quantizer(int maxColors) |
Modifier and Type | Method and Description |
---|---|
ColorIndexer |
buildColorIndexer(RenderedImage image) |
Quantizer |
subsample()
Enables logarithmic subsampling
|
public Quantizer subsample()
public ColorIndexer buildColorIndexer(RenderedImage image)
Copyright © 2006–2016 GeoSolutions. All rights reserved.