# Uses of Interface
org.apache.commons.imaging.palette.Palette

Packages that use Palette
Package
Description
org.apache.commons.imaging.palette
Color quantization and palette manipulation tools.

- ## Uses of Palette in org.apache.commons.imaging.palette

  Classes in org.apache.commons.imaging.palette that implement Palette
  Modifier and Type
  Class
  Description
  `class`
  `QuantizedPalette`
  `class`
  `SimplePalette`
  Methods in org.apache.commons.imaging.palette that return Palette
  Modifier and Type
  Method
  Description
  `Palette`
  PaletteFactory.`makeExactRgbPaletteFancy(BufferedImage src)`
  Builds an exact complete opaque palette containing all the colors in `src`, 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(BufferedImage src, boolean transparent, int max)`
  Builds an inexact possibly translucent palette of at most `max` colors in `src` using the traditional Median Cut algorithm.
  `Palette`
  PaletteFactory.`makeQuantizedRgbPalette(BufferedImage src, int max)`
  Builds an inexact opaque palette of at most `max` colors in `src` using a variation of the Median Cut algorithm.
  `Palette`
  MedianCutQuantizer.`process(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(BufferedImage image, Palette palette)`
  Changes the given image to only use colors from the given palette, applying Floyd-Steinberg dithering in the process.