Uses of Interface
org.apache.commons.imaging.palette.Palette
Packages that use Palette
Package
Description
Color quantization and palette manipulation tools.
-
Uses of Palette in org.apache.commons.imaging.palette
Classes in org.apache.commons.imaging.palette that implement PaletteMethods in org.apache.commons.imaging.palette that return PaletteModifier and TypeMethodDescriptionPaletteFactory.makeExactRgbPaletteFancy(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.PaletteFactory.makeQuantizedRgbaPalette(BufferedImage src, boolean transparent, int max) Builds an inexact possibly translucent palette of at mostmaxcolors insrcusing the traditional Median Cut algorithm.PaletteFactory.makeQuantizedRgbPalette(BufferedImage src, int max) Builds an inexact opaque palette of at mostmaxcolors insrcusing a variation of the Median Cut algorithm.MedianCutQuantizer.process(BufferedImage image, int maxColors, MedianCut medianCut) Methods in org.apache.commons.imaging.palette with parameters of type PaletteModifier and TypeMethodDescriptionstatic voidDithering.applyFloydSteinbergDithering(BufferedImage image, Palette palette) Changes the given image to only use colors from the given palette, applying Floyd-Steinberg dithering in the process.