Open AnkitDev21 opened 1 year ago
Please fill out as much known and relevant information as possible.
Caused by: mil.nga.tiff.util.TiffException: Unsupported field type for sample format: 3, bits per sample: 8
// Code to reproduce the problem?
InputStream inputStream = getApplicationContext().getResources().openRawResource(R.raw.cit); TIFFImage tiffImage = null; try { tiffImage = TiffReader.readTiff(inputStream); } catch (IOException e) { throw new RuntimeException(e); } List<FileDirectory> directories = tiffImage.getFileDirectories(); FileDirectory directory = directories.get(0); Rasters rasters = directory.readRasters(); Log.d(TAG, "onCreate: " + rasters);
Please fill out as much known and relevant information as possible.
Version Information:
Expected Results:
Observed Results:
Output:
Caused by: mil.nga.tiff.util.TiffException: Unsupported field type for sample format: 3, bits per sample: 8
Steps to Reproduce:
Relevant Code:
Test Files:
Additional Information: