Other |
---|
5.0 tigerFixed |
IndexColorModel.getTransparentPixel() is returning 0 instead of -1 for certain IndexColorModels that do not have a transparent pixel but have alpha. This is happening for ICMs created with the following constructors: IndexColorModel(int, int, byte[], byte[], byte[], byte[]) , IndexColorModel(int, int, byte[], int, true), and IndexColorModel(int, int, byte[], int, true, int trans) when trans is an invalid index (such as -1). A test is attached that illustrates this problem.
|