True. Sorry, it's the code from GNU Classpath! 2016-01-18 12:37 GMT+00:00 Mario Torre <neugens.limasoftw...@gmail.com>:
> I couldn't find a LinearRGBConverter in OpenJDK but indeed that name > was somewhat familiar... > > I believe you want to contact the GNU Classpath project, this isn't an > OpenJDK issue. > > Cheers, > Mario > > 2016-01-18 13:01 GMT+01:00 Andrey Kuzmenko <andreykuzme...@gmail.com>: > > Hi guys, I think there is a bug in LinearRGBConverter class. In this > method: > > > > public float[] toRGB(float[] in); > > > > The following lines: > > > > if (n <= 0.00304f) > > out[i] = in[0] * 12.92f; > > > > Should be: > > > > if (n <= 0.00304f) > > out[i] = n * 12.92f; > > > > (What it does now is propagate Red to all channels at the very low > > intensity, which is not noticeable much, but nevertheless is a bug, I > > think.) > > > > Cheers, > > Andrey > > > > > > > > -- > pgp key: http://subkeys.pgp.net/ PGP Key ID: 80F240CF > Fingerprint: BA39 9666 94EC 8B73 27FA FC7C 4086 63E3 80F2 40CF > > Java Champion - Blog: http://neugens.wordpress.com - Twitter: @neugens > Proud GNU Classpath developer: http://www.classpath.org/ > OpenJDK: http://openjdk.java.net/projects/caciocavallo/ > > Please, support open standards: > http://endsoftpatents.org/ >