Maven module :un.api : api-image :
Class :
un.api.image.color.BitPackColorModel
Extends/Implements :
un.api.image.color.AbstractColorModel
Subclasses : -
Variables : -
Functions :
BitPackColorModel,
getSampleMapping,
getSampleNbBits,
toColor,
toColorARGB,
toSample,
toSample
public void
BitPackColorModel (int[] sampleNbBits, int[] sampleMapping, boolean alphaPremultiplied)
public int[]
getSampleMapping ()
public int[]
getSampleNbBits ()
public Color
toColor (Object sample)
public int
toColorARGB (Object sample)
public Object
toSample (Color color)
public Object
toSample (int color)
sample 0 : 5bits
sample 1 : 6bits
sample 2 : 5bits
author Johann Sorel