Package | Description |
---|---|
ar.com.hjg.pngj |
PNGJ main package
|
ar.com.hjg.pngj.pixels |
Mostly related with logic specific to reading/writing pixels.
|
Modifier and Type | Field and Description |
---|---|
protected FilterType |
ImageLineInt.filterType
informational ; only filled by the reader.
|
protected FilterType |
ImageLineByte.filterType |
Modifier and Type | Method and Description |
---|---|
static FilterType[] |
FilterType.getAllStandard()
Returns all "standard" filters
|
static FilterType[] |
FilterType.getAllStandardExceptNone() |
static FilterType[] |
FilterType.getAllStandardNoneLast() |
static FilterType |
FilterType.getByVal(int i) |
FilterType |
ImageLineInt.getFilterType() |
FilterType |
ImageLineByte.getFilterType() |
FilterType |
IImageLineArray.getFilterType() |
FilterType |
ImageLineByte.getFilterUsed() |
static FilterType |
FilterType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FilterType[] |
FilterType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
FilterType.isAdaptive(FilterType fy) |
static boolean |
FilterType.isValidStandard(FilterType fy) |
void |
PngWriter.setFilterType(FilterType filterType)
Sets internal prediction filter type, or strategy to choose it.
|
void |
ImageLineInt.setFilterType(FilterType ft)
This should rarely be used by client code.
|
void |
ImageLineByte.setFilterType(FilterType ft)
This should rarely be used by client code.
|
Modifier and Type | Field and Description |
---|---|
protected FilterType |
PixelsWriterDefault.curfilterType
currently concrete selected filter type
|
protected FilterType |
PixelsWriter.filterType
This is the globally configured filter type - it can be a concrete type or a pseudo type (hint or strategy)
|
Modifier and Type | Method and Description |
---|---|
protected FilterType |
PixelsWriter.getDefaultFilter()
computed default fixed filter type to use, if specified DEFAULT; wilde guess based on image properties
|
FilterType |
PixelsWriter.getFilterType() |
FilterType |
FiltersPerformance.getPreferred() |
Modifier and Type | Method and Description |
---|---|
void |
FiltersPerformance.computeHistogramForFilter(FilterType filterType,
byte[] rowb,
byte[] rowbprev) |
protected byte[] |
PixelsWriter.filterRowWithFilterType(FilterType _filterType,
byte[] _rowb,
byte[] _rowbprev,
byte[] _rowf)
Does the real filtering.
|
void |
PixelsWriter.setFilterType(FilterType filterType) |
void |
FiltersPerformance.updateFromFiltered(FilterType ftype,
byte[] rowff,
int rown) |
void |
FiltersPerformance.updateFromRaw(FilterType ftype,
byte[] rowb,
byte[] rowbprev,
int rown)
alternative: computes statistic without filtering
|
Copyright © 2014. All rights reserved.