Home
last modified time | relevance | path

Searched refs:getColorModel (Results 1 – 25 of 2454) sorted by relevance

12345678910>>...99

/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/test/jdk/javax/imageio/plugins/bmp/
H A DWritingColorChangeTest.java97 Color cmpColor = new Color(dst.getColorModel().getRed(dstPixel), in doTest()
98 dst.getColorModel().getGreen(dstPixel), in doTest()
99 dst.getColorModel().getBlue(dstPixel)); in doTest()
108 if ( (src.getColorModel().getRed(srcPixel) != dst.getColorModel().getRed(dstPixel)) || in doTest()
109 (src.getColorModel().getGreen(srcPixel) != dst.getColorModel().getGreen(dstPixel)) || in doTest()
110 (src.getColorModel().getBlue(srcPixel) != dst.getColorModel().getBlue(dstPixel)) || in doTest()
111 (src.getColorModel().getAlpha(srcPixel) != dst.getColorModel().getAlpha(dstPixel)) ) { in doTest()
120 Integer.toHexString(dst.getColorModel().getRGB(dstPixel))); in doTest()
150 Integer.toHexString(src.getColorModel().getRGB(p))); in showPixel()
152 Integer.toHexString(src.getColorModel().getRed(p))); in showPixel()
[all …]
H A DRleEncodingTest.java159 int bpp = src.getColorModel().getPixelSize(); in doTest()
188 if ( (src.getColorModel().getRed(srcPixel) in doTest()
189 != dst.getColorModel().getRed(dstPixel)) in doTest()
190 || (src.getColorModel().getGreen(srcPixel) in doTest()
191 != dst.getColorModel().getGreen(dstPixel)) in doTest()
192 || (src.getColorModel().getBlue(srcPixel) in doTest()
193 != dst.getColorModel().getBlue(dstPixel)) in doTest()
194 || (src.getColorModel().getAlpha(srcPixel) in doTest()
195 != dst.getColorModel().getAlpha(dstPixel)) ) { in doTest()
202 Integer.toHexString(src.getColorModel().getRGB(srcPixel)) in doTest()
[all …]
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/test/jdk/javax/imageio/plugins/bmp/
H A DWritingColorChangeTest.java97 Color cmpColor = new Color(dst.getColorModel().getRed(dstPixel), in doTest()
98 dst.getColorModel().getGreen(dstPixel), in doTest()
99 dst.getColorModel().getBlue(dstPixel)); in doTest()
108 if ( (src.getColorModel().getRed(srcPixel) != dst.getColorModel().getRed(dstPixel)) || in doTest()
109 (src.getColorModel().getGreen(srcPixel) != dst.getColorModel().getGreen(dstPixel)) || in doTest()
110 (src.getColorModel().getBlue(srcPixel) != dst.getColorModel().getBlue(dstPixel)) || in doTest()
111 (src.getColorModel().getAlpha(srcPixel) != dst.getColorModel().getAlpha(dstPixel)) ) { in doTest()
120 Integer.toHexString(dst.getColorModel().getRGB(dstPixel))); in doTest()
150 Integer.toHexString(src.getColorModel().getRGB(p))); in showPixel()
152 Integer.toHexString(src.getColorModel().getRed(p))); in showPixel()
[all …]
H A DRleEncodingTest.java159 int bpp = src.getColorModel().getPixelSize(); in doTest()
188 if ( (src.getColorModel().getRed(srcPixel) in doTest()
189 != dst.getColorModel().getRed(dstPixel)) in doTest()
190 || (src.getColorModel().getGreen(srcPixel) in doTest()
191 != dst.getColorModel().getGreen(dstPixel)) in doTest()
192 || (src.getColorModel().getBlue(srcPixel) in doTest()
193 != dst.getColorModel().getBlue(dstPixel)) in doTest()
194 || (src.getColorModel().getAlpha(srcPixel) in doTest()
195 != dst.getColorModel().getAlpha(dstPixel)) ) { in doTest()
202 Integer.toHexString(src.getColorModel().getRGB(srcPixel)) in doTest()
[all …]
/dports/java/openjdk12/openjdk-jdk12u-jdk-12.0.2-10-4/test/jdk/javax/imageio/plugins/bmp/
H A DWritingColorChangeTest.java97 Color cmpColor = new Color(dst.getColorModel().getRed(dstPixel), in doTest()
98 dst.getColorModel().getGreen(dstPixel), in doTest()
99 dst.getColorModel().getBlue(dstPixel)); in doTest()
108 if ( (src.getColorModel().getRed(srcPixel) != dst.getColorModel().getRed(dstPixel)) || in doTest()
109 (src.getColorModel().getGreen(srcPixel) != dst.getColorModel().getGreen(dstPixel)) || in doTest()
110 (src.getColorModel().getBlue(srcPixel) != dst.getColorModel().getBlue(dstPixel)) || in doTest()
111 (src.getColorModel().getAlpha(srcPixel) != dst.getColorModel().getAlpha(dstPixel)) ) { in doTest()
120 Integer.toHexString(dst.getColorModel().getRGB(dstPixel))); in doTest()
150 Integer.toHexString(src.getColorModel().getRGB(p))); in showPixel()
152 Integer.toHexString(src.getColorModel().getRed(p))); in showPixel()
[all …]
H A DRleEncodingTest.java159 int bpp = src.getColorModel().getPixelSize(); in doTest()
188 if ( (src.getColorModel().getRed(srcPixel) in doTest()
189 != dst.getColorModel().getRed(dstPixel)) in doTest()
190 || (src.getColorModel().getGreen(srcPixel) in doTest()
191 != dst.getColorModel().getGreen(dstPixel)) in doTest()
192 || (src.getColorModel().getBlue(srcPixel) in doTest()
193 != dst.getColorModel().getBlue(dstPixel)) in doTest()
194 || (src.getColorModel().getAlpha(srcPixel) in doTest()
195 != dst.getColorModel().getAlpha(dstPixel)) ) { in doTest()
202 Integer.toHexString(src.getColorModel().getRGB(srcPixel)) in doTest()
[all …]
/dports/java/openjdk15/jdk15u-jdk-15.0.6-1-1/test/jdk/javax/imageio/plugins/bmp/
H A DWritingColorChangeTest.java97 Color cmpColor = new Color(dst.getColorModel().getRed(dstPixel), in doTest()
98 dst.getColorModel().getGreen(dstPixel), in doTest()
99 dst.getColorModel().getBlue(dstPixel)); in doTest()
108 if ( (src.getColorModel().getRed(srcPixel) != dst.getColorModel().getRed(dstPixel)) || in doTest()
109 (src.getColorModel().getGreen(srcPixel) != dst.getColorModel().getGreen(dstPixel)) || in doTest()
110 (src.getColorModel().getBlue(srcPixel) != dst.getColorModel().getBlue(dstPixel)) || in doTest()
111 (src.getColorModel().getAlpha(srcPixel) != dst.getColorModel().getAlpha(dstPixel)) ) { in doTest()
120 Integer.toHexString(dst.getColorModel().getRGB(dstPixel))); in doTest()
150 Integer.toHexString(src.getColorModel().getRGB(p))); in showPixel()
152 Integer.toHexString(src.getColorModel().getRed(p))); in showPixel()
[all …]
H A DRleEncodingTest.java159 int bpp = src.getColorModel().getPixelSize(); in doTest()
188 if ( (src.getColorModel().getRed(srcPixel) in doTest()
189 != dst.getColorModel().getRed(dstPixel)) in doTest()
190 || (src.getColorModel().getGreen(srcPixel) in doTest()
191 != dst.getColorModel().getGreen(dstPixel)) in doTest()
192 || (src.getColorModel().getBlue(srcPixel) in doTest()
193 != dst.getColorModel().getBlue(dstPixel)) in doTest()
194 || (src.getColorModel().getAlpha(srcPixel) in doTest()
195 != dst.getColorModel().getAlpha(dstPixel)) ) { in doTest()
202 Integer.toHexString(src.getColorModel().getRGB(srcPixel)) in doTest()
[all …]
/dports/java/openjdk16/jdk16u-jdk-16.0.2-7-1/test/jdk/javax/imageio/plugins/bmp/
H A DWritingColorChangeTest.java97 Color cmpColor = new Color(dst.getColorModel().getRed(dstPixel), in doTest()
98 dst.getColorModel().getGreen(dstPixel), in doTest()
99 dst.getColorModel().getBlue(dstPixel)); in doTest()
108 if ( (src.getColorModel().getRed(srcPixel) != dst.getColorModel().getRed(dstPixel)) || in doTest()
109 (src.getColorModel().getGreen(srcPixel) != dst.getColorModel().getGreen(dstPixel)) || in doTest()
110 (src.getColorModel().getBlue(srcPixel) != dst.getColorModel().getBlue(dstPixel)) || in doTest()
111 (src.getColorModel().getAlpha(srcPixel) != dst.getColorModel().getAlpha(dstPixel)) ) { in doTest()
120 Integer.toHexString(dst.getColorModel().getRGB(dstPixel))); in doTest()
150 Integer.toHexString(src.getColorModel().getRGB(p))); in showPixel()
152 Integer.toHexString(src.getColorModel().getRed(p))); in showPixel()
[all …]
/dports/java/openjdk17/jdk17u-jdk-17.0.1-12-1/test/jdk/javax/imageio/plugins/bmp/
H A DWritingColorChangeTest.java97 Color cmpColor = new Color(dst.getColorModel().getRed(dstPixel), in doTest()
98 dst.getColorModel().getGreen(dstPixel), in doTest()
99 dst.getColorModel().getBlue(dstPixel)); in doTest()
108 if ( (src.getColorModel().getRed(srcPixel) != dst.getColorModel().getRed(dstPixel)) || in doTest()
109 (src.getColorModel().getGreen(srcPixel) != dst.getColorModel().getGreen(dstPixel)) || in doTest()
110 (src.getColorModel().getBlue(srcPixel) != dst.getColorModel().getBlue(dstPixel)) || in doTest()
111 (src.getColorModel().getAlpha(srcPixel) != dst.getColorModel().getAlpha(dstPixel)) ) { in doTest()
120 Integer.toHexString(dst.getColorModel().getRGB(dstPixel))); in doTest()
150 Integer.toHexString(src.getColorModel().getRGB(p))); in showPixel()
152 Integer.toHexString(src.getColorModel().getRed(p))); in showPixel()
[all …]
/dports/java/openjdk11-jre/jdk11u-jdk-11.0.13-8-1/test/jdk/javax/imageio/plugins/bmp/
H A DWritingColorChangeTest.java97 Color cmpColor = new Color(dst.getColorModel().getRed(dstPixel), in doTest()
98 dst.getColorModel().getGreen(dstPixel), in doTest()
99 dst.getColorModel().getBlue(dstPixel)); in doTest()
108 if ( (src.getColorModel().getRed(srcPixel) != dst.getColorModel().getRed(dstPixel)) || in doTest()
109 (src.getColorModel().getGreen(srcPixel) != dst.getColorModel().getGreen(dstPixel)) || in doTest()
110 (src.getColorModel().getBlue(srcPixel) != dst.getColorModel().getBlue(dstPixel)) || in doTest()
111 (src.getColorModel().getAlpha(srcPixel) != dst.getColorModel().getAlpha(dstPixel)) ) { in doTest()
120 Integer.toHexString(dst.getColorModel().getRGB(dstPixel))); in doTest()
150 Integer.toHexString(src.getColorModel().getRGB(p))); in showPixel()
152 Integer.toHexString(src.getColorModel().getRed(p))); in showPixel()
[all …]
H A DRleEncodingTest.java159 int bpp = src.getColorModel().getPixelSize(); in doTest()
188 if ( (src.getColorModel().getRed(srcPixel) in doTest()
189 != dst.getColorModel().getRed(dstPixel)) in doTest()
190 || (src.getColorModel().getGreen(srcPixel) in doTest()
191 != dst.getColorModel().getGreen(dstPixel)) in doTest()
192 || (src.getColorModel().getBlue(srcPixel) in doTest()
193 != dst.getColorModel().getBlue(dstPixel)) in doTest()
194 || (src.getColorModel().getAlpha(srcPixel) in doTest()
195 != dst.getColorModel().getAlpha(dstPixel)) ) { in doTest()
202 Integer.toHexString(src.getColorModel().getRGB(srcPixel)) in doTest()
[all …]
/dports/java/openjdk14/jdk14u-jdk-14.0.2-12-1/test/jdk/javax/imageio/plugins/bmp/
H A DWritingColorChangeTest.java97 Color cmpColor = new Color(dst.getColorModel().getRed(dstPixel), in doTest()
98 dst.getColorModel().getGreen(dstPixel), in doTest()
99 dst.getColorModel().getBlue(dstPixel)); in doTest()
108 if ( (src.getColorModel().getRed(srcPixel) != dst.getColorModel().getRed(dstPixel)) || in doTest()
109 (src.getColorModel().getGreen(srcPixel) != dst.getColorModel().getGreen(dstPixel)) || in doTest()
110 (src.getColorModel().getBlue(srcPixel) != dst.getColorModel().getBlue(dstPixel)) || in doTest()
111 (src.getColorModel().getAlpha(srcPixel) != dst.getColorModel().getAlpha(dstPixel)) ) { in doTest()
120 Integer.toHexString(dst.getColorModel().getRGB(dstPixel))); in doTest()
150 Integer.toHexString(src.getColorModel().getRGB(p))); in showPixel()
152 Integer.toHexString(src.getColorModel().getRed(p))); in showPixel()
[all …]
/dports/java/openjdk8/jdk8u-jdk8u312-b07.1/jdk/test/javax/imageio/plugins/bmp/
H A DWritingColorChangeTest.java97 Color cmpColor = new Color(dst.getColorModel().getRed(dstPixel), in doTest()
98 dst.getColorModel().getGreen(dstPixel), in doTest()
99 dst.getColorModel().getBlue(dstPixel)); in doTest()
108 if ( (src.getColorModel().getRed(srcPixel) != dst.getColorModel().getRed(dstPixel)) || in doTest()
109 (src.getColorModel().getGreen(srcPixel) != dst.getColorModel().getGreen(dstPixel)) || in doTest()
110 (src.getColorModel().getBlue(srcPixel) != dst.getColorModel().getBlue(dstPixel)) || in doTest()
111 (src.getColorModel().getAlpha(srcPixel) != dst.getColorModel().getAlpha(dstPixel)) ) { in doTest()
120 Integer.toHexString(dst.getColorModel().getRGB(dstPixel))); in doTest()
150 Integer.toHexString(src.getColorModel().getRGB(p))); in showPixel()
152 Integer.toHexString(src.getColorModel().getRed(p))); in showPixel()
[all …]
/dports/java/openjdk8-jre/jdk8u-jdk8u312-b07.1/jdk/test/javax/imageio/plugins/bmp/
H A DWritingColorChangeTest.java97 Color cmpColor = new Color(dst.getColorModel().getRed(dstPixel), in doTest()
98 dst.getColorModel().getGreen(dstPixel), in doTest()
99 dst.getColorModel().getBlue(dstPixel)); in doTest()
108 if ( (src.getColorModel().getRed(srcPixel) != dst.getColorModel().getRed(dstPixel)) || in doTest()
109 (src.getColorModel().getGreen(srcPixel) != dst.getColorModel().getGreen(dstPixel)) || in doTest()
110 (src.getColorModel().getBlue(srcPixel) != dst.getColorModel().getBlue(dstPixel)) || in doTest()
111 (src.getColorModel().getAlpha(srcPixel) != dst.getColorModel().getAlpha(dstPixel)) ) { in doTest()
120 Integer.toHexString(dst.getColorModel().getRGB(dstPixel))); in doTest()
150 Integer.toHexString(src.getColorModel().getRGB(p))); in showPixel()
152 Integer.toHexString(src.getColorModel().getRed(p))); in showPixel()
[all …]
/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/test/jdk/javax/imageio/plugins/png/
H A DPngPremultAlphaTest.java102 … if ( Math.abs(src.getColorModel().getRed(srcPixel) - dst.getColorModel().getRed(dstPixel)) > 1 in isSameColors()
103 … || Math.abs(src.getColorModel().getGreen(srcPixel) - dst.getColorModel().getGreen(dstPixel)) > 1 in isSameColors()
104 … || Math.abs(src.getColorModel().getBlue(srcPixel) - dst.getColorModel().getBlue(dstPixel)) > 1) { in isSameColors()
109 + Integer.toHexString(src.getColorModel().getRGB(srcPixel)) in isSameColors()
111 … + Integer.toHexString(dst.getColorModel().getRGB(dstPixel))); in isSameColors()
118 System.out.println("CM is " + src.getColorModel().getClass().getName()); in showPixel()
121 Integer.toHexString(src.getColorModel().getRGB(p))); in showPixel()
123 Integer.toHexString(src.getColorModel().getRed(p))); in showPixel()
125 Integer.toHexString(src.getColorModel().getGreen(p))); in showPixel()
127 Integer.toHexString(src.getColorModel().getBlue(p))); in showPixel()
[all …]
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/test/jdk/javax/imageio/plugins/png/
H A DPngPremultAlphaTest.java102 … if ( Math.abs(src.getColorModel().getRed(srcPixel) - dst.getColorModel().getRed(dstPixel)) > 1 in isSameColors()
103 … || Math.abs(src.getColorModel().getGreen(srcPixel) - dst.getColorModel().getGreen(dstPixel)) > 1 in isSameColors()
104 … || Math.abs(src.getColorModel().getBlue(srcPixel) - dst.getColorModel().getBlue(dstPixel)) > 1) { in isSameColors()
109 + Integer.toHexString(src.getColorModel().getRGB(srcPixel)) in isSameColors()
111 … + Integer.toHexString(dst.getColorModel().getRGB(dstPixel))); in isSameColors()
118 System.out.println("CM is " + src.getColorModel().getClass().getName()); in showPixel()
121 Integer.toHexString(src.getColorModel().getRGB(p))); in showPixel()
123 Integer.toHexString(src.getColorModel().getRed(p))); in showPixel()
125 Integer.toHexString(src.getColorModel().getGreen(p))); in showPixel()
127 Integer.toHexString(src.getColorModel().getBlue(p))); in showPixel()
[all …]
/dports/java/openjdk12/openjdk-jdk12u-jdk-12.0.2-10-4/test/jdk/javax/imageio/plugins/png/
H A DPngPremultAlphaTest.java102 … if ( Math.abs(src.getColorModel().getRed(srcPixel) - dst.getColorModel().getRed(dstPixel)) > 1 in isSameColors()
103 … || Math.abs(src.getColorModel().getGreen(srcPixel) - dst.getColorModel().getGreen(dstPixel)) > 1 in isSameColors()
104 … || Math.abs(src.getColorModel().getBlue(srcPixel) - dst.getColorModel().getBlue(dstPixel)) > 1) { in isSameColors()
109 + Integer.toHexString(src.getColorModel().getRGB(srcPixel)) in isSameColors()
111 … + Integer.toHexString(dst.getColorModel().getRGB(dstPixel))); in isSameColors()
118 System.out.println("CM is " + src.getColorModel().getClass().getName()); in showPixel()
121 Integer.toHexString(src.getColorModel().getRGB(p))); in showPixel()
123 Integer.toHexString(src.getColorModel().getRed(p))); in showPixel()
125 Integer.toHexString(src.getColorModel().getGreen(p))); in showPixel()
127 Integer.toHexString(src.getColorModel().getBlue(p))); in showPixel()
[all …]
/dports/java/openjdk11-jre/jdk11u-jdk-11.0.13-8-1/test/jdk/javax/imageio/plugins/png/
H A DPngPremultAlphaTest.java102 … if ( Math.abs(src.getColorModel().getRed(srcPixel) - dst.getColorModel().getRed(dstPixel)) > 1 in isSameColors()
103 … || Math.abs(src.getColorModel().getGreen(srcPixel) - dst.getColorModel().getGreen(dstPixel)) > 1 in isSameColors()
104 … || Math.abs(src.getColorModel().getBlue(srcPixel) - dst.getColorModel().getBlue(dstPixel)) > 1) { in isSameColors()
109 + Integer.toHexString(src.getColorModel().getRGB(srcPixel)) in isSameColors()
111 … + Integer.toHexString(dst.getColorModel().getRGB(dstPixel))); in isSameColors()
118 System.out.println("CM is " + src.getColorModel().getClass().getName()); in showPixel()
121 Integer.toHexString(src.getColorModel().getRGB(p))); in showPixel()
123 Integer.toHexString(src.getColorModel().getRed(p))); in showPixel()
125 Integer.toHexString(src.getColorModel().getGreen(p))); in showPixel()
127 Integer.toHexString(src.getColorModel().getBlue(p))); in showPixel()
[all …]
/dports/java/openjdk15/jdk15u-jdk-15.0.6-1-1/test/jdk/javax/imageio/plugins/png/
H A DPngPremultAlphaTest.java102 … if ( Math.abs(src.getColorModel().getRed(srcPixel) - dst.getColorModel().getRed(dstPixel)) > 1 in isSameColors()
103 … || Math.abs(src.getColorModel().getGreen(srcPixel) - dst.getColorModel().getGreen(dstPixel)) > 1 in isSameColors()
104 … || Math.abs(src.getColorModel().getBlue(srcPixel) - dst.getColorModel().getBlue(dstPixel)) > 1) { in isSameColors()
109 + Integer.toHexString(src.getColorModel().getRGB(srcPixel)) in isSameColors()
111 … + Integer.toHexString(dst.getColorModel().getRGB(dstPixel))); in isSameColors()
118 System.out.println("CM is " + src.getColorModel().getClass().getName()); in showPixel()
121 Integer.toHexString(src.getColorModel().getRGB(p))); in showPixel()
123 Integer.toHexString(src.getColorModel().getRed(p))); in showPixel()
125 Integer.toHexString(src.getColorModel().getGreen(p))); in showPixel()
127 Integer.toHexString(src.getColorModel().getBlue(p))); in showPixel()
[all …]
/dports/java/openjdk16/jdk16u-jdk-16.0.2-7-1/test/jdk/javax/imageio/plugins/png/
H A DPngPremultAlphaTest.java102 … if ( Math.abs(src.getColorModel().getRed(srcPixel) - dst.getColorModel().getRed(dstPixel)) > 1 in isSameColors()
103 … || Math.abs(src.getColorModel().getGreen(srcPixel) - dst.getColorModel().getGreen(dstPixel)) > 1 in isSameColors()
104 … || Math.abs(src.getColorModel().getBlue(srcPixel) - dst.getColorModel().getBlue(dstPixel)) > 1) { in isSameColors()
109 + Integer.toHexString(src.getColorModel().getRGB(srcPixel)) in isSameColors()
111 … + Integer.toHexString(dst.getColorModel().getRGB(dstPixel))); in isSameColors()
118 System.out.println("CM is " + src.getColorModel().getClass().getName()); in showPixel()
121 Integer.toHexString(src.getColorModel().getRGB(p))); in showPixel()
123 Integer.toHexString(src.getColorModel().getRed(p))); in showPixel()
125 Integer.toHexString(src.getColorModel().getGreen(p))); in showPixel()
127 Integer.toHexString(src.getColorModel().getBlue(p))); in showPixel()
[all …]
/dports/java/openjdk17/jdk17u-jdk-17.0.1-12-1/test/jdk/javax/imageio/plugins/png/
H A DPngPremultAlphaTest.java102 … if ( Math.abs(src.getColorModel().getRed(srcPixel) - dst.getColorModel().getRed(dstPixel)) > 1 in isSameColors()
103 … || Math.abs(src.getColorModel().getGreen(srcPixel) - dst.getColorModel().getGreen(dstPixel)) > 1 in isSameColors()
104 … || Math.abs(src.getColorModel().getBlue(srcPixel) - dst.getColorModel().getBlue(dstPixel)) > 1) { in isSameColors()
109 + Integer.toHexString(src.getColorModel().getRGB(srcPixel)) in isSameColors()
111 … + Integer.toHexString(dst.getColorModel().getRGB(dstPixel))); in isSameColors()
118 System.out.println("CM is " + src.getColorModel().getClass().getName()); in showPixel()
121 Integer.toHexString(src.getColorModel().getRGB(p))); in showPixel()
123 Integer.toHexString(src.getColorModel().getRed(p))); in showPixel()
125 Integer.toHexString(src.getColorModel().getGreen(p))); in showPixel()
127 Integer.toHexString(src.getColorModel().getBlue(p))); in showPixel()
[all …]
/dports/java/openjdk14/jdk14u-jdk-14.0.2-12-1/test/jdk/javax/imageio/plugins/png/
H A DPngPremultAlphaTest.java102 … if ( Math.abs(src.getColorModel().getRed(srcPixel) - dst.getColorModel().getRed(dstPixel)) > 1 in isSameColors()
103 … || Math.abs(src.getColorModel().getGreen(srcPixel) - dst.getColorModel().getGreen(dstPixel)) > 1 in isSameColors()
104 … || Math.abs(src.getColorModel().getBlue(srcPixel) - dst.getColorModel().getBlue(dstPixel)) > 1) { in isSameColors()
109 + Integer.toHexString(src.getColorModel().getRGB(srcPixel)) in isSameColors()
111 … + Integer.toHexString(dst.getColorModel().getRGB(dstPixel))); in isSameColors()
118 System.out.println("CM is " + src.getColorModel().getClass().getName()); in showPixel()
121 Integer.toHexString(src.getColorModel().getRGB(p))); in showPixel()
123 Integer.toHexString(src.getColorModel().getRed(p))); in showPixel()
125 Integer.toHexString(src.getColorModel().getGreen(p))); in showPixel()
127 Integer.toHexString(src.getColorModel().getBlue(p))); in showPixel()
[all …]
/dports/java/openjdk8/jdk8u-jdk8u312-b07.1/jdk/test/javax/imageio/plugins/png/
H A DPngPremultAlphaTest.java102 … if ( Math.abs(src.getColorModel().getRed(srcPixel) - dst.getColorModel().getRed(dstPixel)) > 1 in isSameColors()
103 … || Math.abs(src.getColorModel().getGreen(srcPixel) - dst.getColorModel().getGreen(dstPixel)) > 1 in isSameColors()
104 … || Math.abs(src.getColorModel().getBlue(srcPixel) - dst.getColorModel().getBlue(dstPixel)) > 1) { in isSameColors()
109 + Integer.toHexString(src.getColorModel().getRGB(srcPixel)) in isSameColors()
111 … + Integer.toHexString(dst.getColorModel().getRGB(dstPixel))); in isSameColors()
118 System.out.println("CM is " + src.getColorModel().getClass().getName()); in showPixel()
121 Integer.toHexString(src.getColorModel().getRGB(p))); in showPixel()
123 Integer.toHexString(src.getColorModel().getRed(p))); in showPixel()
125 Integer.toHexString(src.getColorModel().getGreen(p))); in showPixel()
127 Integer.toHexString(src.getColorModel().getBlue(p))); in showPixel()
[all …]
/dports/java/openjdk8-jre/jdk8u-jdk8u312-b07.1/jdk/test/javax/imageio/plugins/png/
H A DPngPremultAlphaTest.java102 … if ( Math.abs(src.getColorModel().getRed(srcPixel) - dst.getColorModel().getRed(dstPixel)) > 1 in isSameColors()
103 … || Math.abs(src.getColorModel().getGreen(srcPixel) - dst.getColorModel().getGreen(dstPixel)) > 1 in isSameColors()
104 … || Math.abs(src.getColorModel().getBlue(srcPixel) - dst.getColorModel().getBlue(dstPixel)) > 1) { in isSameColors()
109 + Integer.toHexString(src.getColorModel().getRGB(srcPixel)) in isSameColors()
111 … + Integer.toHexString(dst.getColorModel().getRGB(dstPixel))); in isSameColors()
118 System.out.println("CM is " + src.getColorModel().getClass().getName()); in showPixel()
121 Integer.toHexString(src.getColorModel().getRGB(p))); in showPixel()
123 Integer.toHexString(src.getColorModel().getRed(p))); in showPixel()
125 Integer.toHexString(src.getColorModel().getGreen(p))); in showPixel()
127 Integer.toHexString(src.getColorModel().getBlue(p))); in showPixel()
[all …]

12345678910>>...99