Skip to content

Conversation

umarhussain15
Copy link

The class now overrides the raster functions from ImageReader class. The canReadRaster returns true enabling the caller to call readRaster and readTileRaster.

The readRaster and readTileRaster call the normal read functions and then return the raster with getData call on the buffered image.

Test cases are added to compare the rasters on expected and actual images with the option of tolerance in the diff of samples if the quality of images is low.

I have made these changes based on the assumption that openjpeg supports rasters

Related issue: #244

The class now overrides the raster functions from `ImageReader` class.
The `canReadRaster` returns true enabling the caller to call `readRaster` and `readTileRaster`.

The readRaster and readTileRaster call the normal read functions and then return the raster with `getData` call on the buffered image.

Test cases are added to compare the rasters on expected and actual images with the option of tolerance in the diff of samples if the quality of images is low.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant