5354555657585960616263
throw new WrongParameterException("Unsupported input image type: " + in.getClass().getName()); } PixelImage out = getOutputImage(); if (out == null) { setOutputImage(new MemoryRGB48Image(in.getWidth(), in.getHeight())); } else { if (!(out instanceof RGB48Image)) {
116117118119120121122123124125126
else if (bits <= 16) { if (out == null) { out = new MemoryRGB48Image(in.getWidth(), in.getHeight()); setOutputImage(out); } else { if (!(out instanceof RGB48Image))
442443444445446447448449450451452
image = new MemoryRGB24Image(width, height); break; } case(TIFFImageFileDirectory.TYPE_RGB48_INTERLEAVED): { image = new MemoryRGB48Image(width, height); break; } default: { throw new UnsupportedTypeException("Unsupported image type.");
313314315316317318319320321322323
{ image = new MemoryRGB24Image(w, h); } else { image = new MemoryRGB48Image(w, h); } } else { throw new UnsupportedTypeException("Unsupported image type encountered");
525526527528529530531532533534535
image = image24; setImage(image); } else { image48 = new MemoryRGB48Image(width, height); image = image48; setImage(image); } for (int y = 0, destY = - getBoundsY1(); y < height; y++, destY++) {