< prev index next >
src/java.desktop/share/classes/com/sun/imageio/plugins/png/PNGMetadata.java
Print this page
*** 252,262 ****
// TODO -- implement
}
/**
* Sets the IHDR_bitDepth and IHDR_colorType variables.
! * The <code>numBands</code> parameter is necessary since
* we may only be writing a subset of the image bands.
*/
public void initialize(ImageTypeSpecifier imageType, int numBands) {
ColorModel colorModel = imageType.getColorModel();
SampleModel sampleModel = imageType.getSampleModel();
--- 252,262 ----
// TODO -- implement
}
/**
* Sets the IHDR_bitDepth and IHDR_colorType variables.
! * The {@code numBands} parameter is necessary since
* we may only be writing a subset of the image bands.
*/
public void initialize(ImageTypeSpecifier imageType, int numBands) {
ColorModel colorModel = imageType.getColorModel();
SampleModel sampleModel = imageType.getSampleModel();
< prev index next >