- All Known Implementing Classes:
- PngEncoder.ByteTranslator, PngEncoder.IntTranslator
- Enclosing interface:
- PngEncoder
- static interface PngEncoder.Translator
An interface for translators, which translate pixel data from a
writable raster into an R/G/B/A ordering required by the PNG
specification. Pixel data in the raster might be available
in three bytes per pixel, four bytes per pixel, or as integers.
|
Method Summary |
void |
translate(byte[] outputPixelQueue,
int row)
Translates a row of the image into a byte array ordered
properly for a PNG image. |
translate
public void translate(byte[] outputPixelQueue,
int row)
- Translates a row of the image into a byte array ordered
properly for a PNG image.