| Package | Description |
|---|---|
| ar.com.hjg.pngj |
PNGJ main package
|
| ar.com.hjg.pngj.chunks |
Contains the code related to chunk management for the PNGJ library.
|
| Modifier and Type | Method and Description |
|---|---|
static int[] |
ImageLineHelper.palette2rgb(ImageLineInt line,
PngChunkPLTE pal,
int[] buf) |
static int[] |
ImageLineHelper.palette2rgb(ImageLineInt line,
PngChunkPLTE pal,
PngChunkTRNS trns,
int[] buf)
Given an indexed line with a palette, unpacks as a RGB array, or RGBA if
a non nul PngChunkTRNS chunk is passed
|
static int[] |
ImageLineHelper.palette2rgba(ImageLineInt line,
PngChunkPLTE pal,
PngChunkTRNS trns,
int[] buf)
Same as palette2rgbx , but returns rgba always, even if trns is null
|
| Modifier and Type | Method and Description |
|---|---|
PngChunkPLTE |
PngMetadata.createPLTEChunk()
Creates a new empty palette chunk, queues it for write and return it to
the caller, who should fill its entries
|
PngChunkPLTE |
PngMetadata.getPLTE()
Returns the palette chunk, if present
|
Copyright © 2013. All rights reserved.