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

/openjdk7/jdk/src/share/classes/com/sun/imageio/plugins/png/
H A DPNGMetadata.java144 public int bKGD_colorType; // PNG_COLOR_GRAY, _RGB, or _PALETTE
192 public int sBIT_colorType; // PNG_COLOR_GRAY, _GRAY_ALPHA, _RGB, _RGB_ALPHA
230 public int tRNS_colorType; // PNG_COLOR_GRAY, _RGB, or _PALETTE
344 IHDR_colorType = PNGImageReader.PNG_COLOR_GRAY;
410 IHDR_colorType = PNGImageReader.PNG_COLOR_GRAY;
518 } else if (bKGD_colorType == PNGImageReader.PNG_COLOR_GRAY) {
628 if (sBIT_colorType == PNGImageReader.PNG_COLOR_GRAY) {
745 } else if (tRNS_colorType == PNGImageReader.PNG_COLOR_GRAY) {
864 if (bKGD_colorType == PNGImageReader.PNG_COLOR_GRAY) {
936 if (sBIT_colorType == PNGImageReader.PNG_COLOR_GRAY ||
[all...]
H A DPNGImageReader.java137 static final int PNG_COLOR_GRAY = 0; field in class:PNGImageReader
325 } else if (metadata.IHDR_colorType == PNG_COLOR_GRAY ||
376 } else if (metadata.IHDR_colorType == PNG_COLOR_GRAY ||
378 metadata.bKGD_colorType = PNG_COLOR_GRAY;
487 if (colorType == PNG_COLOR_GRAY ||
592 } else if (colorType == PNG_COLOR_GRAY) {
600 metadata.tRNS_colorType = PNG_COLOR_GRAY;
1374 case PNG_COLOR_GRAY:
H A DPNGImageWriter.java450 if (colorType == PNGImageReader.PNG_COLOR_GRAY ||
479 if (metadata.IHDR_colorType == PNGImageReader.PNG_COLOR_GRAY ||
531 chunkType == PNGImageReader.PNG_COLOR_GRAY) {
549 } else if (colorType == PNGImageReader.PNG_COLOR_GRAY) {
574 chunkType == PNGImageReader.PNG_COLOR_GRAY) {
591 } else if (colorType == PNGImageReader.PNG_COLOR_GRAY ||

Completed in 78 milliseconds