Property | Type | Description | |
---|---|---|---|
imageData | ].Byte[ | ||
palettes | Color[][] |
Method | Description | |
---|---|---|
ImageIndexer ( List |
||
ImageIndexer ( List |
||
ImageIndexer ( List |
||
closest ( Color c, Color palette ) : byte | ||
colorDifference ( Color a, Color b ) : float | ||
colorDifferenceWithoutAlpha ( Color a, Color b ) : float | ||
createPaletteForImage ( |
||
createPaletteForImage ( |
||
getTiledImageData ( ) : byte[] | ||
getTiledImageDataPart ( int px, int py, int ptx, int pty ) : byte[] | ||
indexImageWithPalette ( |
||
previewImage ( int i ) : |
||
reduce ( int c ) : byte |
Method | Description | |
---|---|---|
closestMultiColor ( MultiColor mc ) : byte | ||
getDominantBox ( ) : Box | ||
median ( List |
||
shrinkBox ( Box b ) : Box | ||
split ( Box b ) : void |
public ImageIndexer ( List |
||
bl | List |
|
useAlpha | bool | |
return | System |
public ImageIndexer ( List |
||
bl | List |
|
paletteCount | int | |
useAlpha | bool | |
transpCol | int | |
return | System |
public static closest ( Color c, Color palette ) : byte | ||
c | Color | |
palette | Color | |
return | byte |
public static colorDifference ( Color a, Color b ) : float | ||
a | Color | |
b | Color | |
return | float |
public static colorDifferenceWithoutAlpha ( Color a, Color b ) : float | ||
a | Color | |
b | Color | |
return | float |
public static createPaletteForImage ( |
||
b | ||
return | Color[] |
public static createPaletteForImage ( |
||
b | ||
palLen | int | |
return | Color[] |
public getTiledImageDataPart ( int px, int py, int ptx, int pty ) : byte[] | ||
px | int | |
py | int | |
ptx | int | |
pty | int | |
return | byte[] |
public static indexImageWithPalette ( |
||
b | ||
palette | Color | |
return | byte[] |
public previewImage ( int i ) : |
||
i | int | |
return |