try {
final String fileName = imageInfo.getFile().getAbsolutePath();
final PlanarImage image;
if (true) {
final LCTIFFReader reader =
new LCTIFFReader( fileName, read2nd );
image = reader.getImage( thread );
assert image instanceof CachedImage
&& image.getTileWidth() == JAIContext.TILE_WIDTH
&& image.getTileHeight() == JAIContext.TILE_HEIGHT;
} else {