Closed mukoki closed 5 months ago
Image reading is supposed to choose the first driver which can successfully read the image, but actually, it fails even when some drivers can do the job.
not sure that is what is implemented. afai recall we offer drivers claiming to be able to decode in an order sorted by a preference value we set, so we can make some to be the preferred.
are you sure the implementaion is supposed to bruteforce try in the preference order?
Yes there is a preference order defined somewhere but i don't remember if next driver is searched when the current one is not found, or when it fails or what...
quick search. i'd say it was this priority setting
OK, was changed on april, 10
Image reading is supposed to choose the first driver which can successfully read the image, but actually, it fails even when some drivers can do the job. Example Only a few drivers can read BigTiff
But if one of these readers are not chosen explicitly, importing the image fails (attached a small BigTiff image)
BigTIFF.zip
With jp2 and the new driver, it is a bit different : older drivers display a blurred image, but does not throw exception, the new driver has no chance to be called.