When OpenSlide reads an .mrxs file, it generally includes cropping information in the âboundsâ properties: https://openslide.org/docs/properties/
QuPath v0.1.2 ignored this (and there was often a huge bit of space around the image), while v0.2.0 applies it.
It does something similar with other formats; in particular, .scn images sometimes had the padding if opened in QuPath v0.1.2 with OpenSlide â but they didnât if opened with Bio-Formats (since Bio-Formats must handle these bounds internally). In that case, the cropping suggested by OpenSlide needs to be applied to get an image the same size as the one Bio-Formats provides automatically.
From a quick look at an .mrxs file, I see there is an .ini. file associated with it that contains entries like this:
COMPRESSED_STITCHING_ORIG_SLIDE_SCANNED_AREA_IN_PIXELS__LEFT = 100
COMPRESSED_STITCHING_ORIG_SLIDE_SCANNED_AREA_IN_PIXELS__TOP = 11232
COMPRESSED_STITCHING_ORIG_SLIDE_SCANNED_AREA_IN_PIXELS__RIGHT = 38400
COMPRESSED_STITCHING_ORIG_SLIDE_SCANNED_AREA_IN_PIXELS__BOTTOM = 194000
These differ for each image and seem match with OpenSlideâs bounds properties â I suspect at some point the image should be cropped using these.