throw new ImageReadException("Tiff: fColorMap.length ("
+ colorMap.length + ")!=expectedColormapSize ("
+ expectedColormapSize + ")");
}
return new PhotometricInterpreterPalette(samplesPerPixel,
bitsPerSample, predictor, width, height, colorMap);
}
case 2: // RGB
return new PhotometricInterpreterRgb(samplesPerPixel,
bitsPerSample, predictor, width, height);