Maven module :un.api : api-image :
Class : un.api.image.color.BitPackColorModel
Extends/Implements : un.api.image.color.AbstractColorModel
Subclasses : -

Color model where samples do not use regular sizes, such as RGB565 with model
sample 0 : 5bits
sample 1 : 6bits
sample 2 : 5bits
author  Johann Sorel


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)