Upgrade of probe-image-size
Hi. I have a little problem and I hope you can help me.
Problem
I have the same problem as described in https://github.com/nodeca/probe-image-size/issues/68 and noticed that the bug has been fixed on probe-image-size 7.2.2.
Resolution
Now the latest version of iiif-processor uses probe-image-size 4.x.
Do you think to update the used version of probe-image-size?
Workaround
At the moment anyone with this problem can solve it by following one of these two solutions:
- specify a custom function to get dimensions as described in https://github.com/samvera-labs/node-iiif#dimension-function
- or manually set the
sizeInfoattribute.
In either case you can use an updated version of probe-image-size to get dimensions.
Thanks in advance!
Sure thing. I'll try to update that as soon as I can. Thanks for bringing it to my attention.
@francescopioscognamiglio This package has been updated to use a custom version of probe-image-size that includes support for JPEG-2000 images. It's forked from a newer version of the original repo than the one we had been using, so I wonder if it resolves this issue as well.