Searched refs:colorDistance (Results 1 - 1 of 1) sorted by relevance

/openjdk7/jdk/test/javax/imageio/plugins/shared/
H A DBitDepth.java188 private int colorDistance(int color, int r, int g, int b) { method in class:BitDepth
204 if (colorDistance(r, 255, 0, 0) > 20) {
209 if (colorDistance(g, 0, 255, 0) > 20) {
214 if (colorDistance(b, 0, 0, 255) > 20) {
219 if (colorDistance(w, 255, 255, 255) > 20) {

Completed in 32 milliseconds