Dear Support team,
I am try to open a geotiff file using Java Advanced Imaging API. I am using following jars in my application : jai_codec-1.1.3.jar,jai_core-1.1.3.jar , jai_imageio-1.1.jar. Here is the sample program to open the geotiff file:
RenderedImage image = JAI.create("ImageRead", "D:\\GeoTIFF\\BigTIFF.tif");
Dimension dimension = new Dimension(image.getWidth(), image.getHeight());
It returns following error:
Exception in thread "main" java.lang.RuntimeException: - Unable to render RenderedOp for this operation.
at javax.media.jai.RenderedOp.createInstance(RenderedOp.java:827)
at javax.media.jai.RenderedOp.createRendering(RenderedOp.java:867)
at javax.media.jai.RenderedOp.getWidth(RenderedOp.java:2179)
I have attached the Tiff file too.
BigTIFF.zip (703 Bytes)Can you please help what is the issue in the tiff file?
Thanks,
Abhishek