Uses of Interface
org.apache.commons.imaging.palette.Palette
-
Packages that use Palette Package Description org.apache.commons.imaging.formats.png The PNG image format.org.apache.commons.imaging.palette Color quantization and palette manipulation tools. -
-
Uses of Palette in org.apache.commons.imaging.formats.png
Methods in org.apache.commons.imaging.formats.png with parameters of type Palette Modifier and Type Method Description private void
PngWriter. writeChunkPLTE(java.io.OutputStream os, Palette palette)
private void
PngWriter. writeChunkTRNS(java.io.OutputStream os, Palette palette)
-
Uses of Palette in org.apache.commons.imaging.palette
Classes in org.apache.commons.imaging.palette that implement Palette Modifier and Type Class Description (package private) class
MedianCutPalette
class
QuantizedPalette
class
SimplePalette
Methods in org.apache.commons.imaging.palette that return Palette Modifier and Type Method Description Palette
PaletteFactory. makeExactRgbPaletteFancy(java.awt.image.BufferedImage src)
Builds an exact complete opaque palette containing all the colors insrc
, using an algorithm that is faster than PaletteFactory.makeExactRgbPaletteSimple(java.awt.image.BufferedImage, int) for large images but uses 2 mebibytes of working memory.Palette
PaletteFactory. makeQuantizedRgbaPalette(java.awt.image.BufferedImage src, boolean transparent, int max)
Builds an inexact possibly translucent palette of at mostmax
colors insrc
using the traditional Median Cut algorithm.Palette
PaletteFactory. makeQuantizedRgbPalette(java.awt.image.BufferedImage src, int max)
Builds an inexact opaque palette of at mostmax
colors insrc
using a variation of the Median Cut algorithm.Palette
MedianCutQuantizer. process(java.awt.image.BufferedImage image, int maxColors, MedianCut medianCut)
Methods in org.apache.commons.imaging.palette with parameters of type Palette Modifier and Type Method Description static void
Dithering. applyFloydSteinbergDithering(java.awt.image.BufferedImage image, Palette palette)
Changes the given image to only use colors from the given palette, applying Floyd-Steinberg dithering in the process.
-