samvera / node-iiif

This module provides a full-featured IIIF Image API 2.1 and 3.0 image processor. It covers only the image processing pipeline itself, leaving input and output to the caller.
Apache License 2.0
27 stars 5 forks source link

Upgrade of probe-image-size #22

Open francescopioscognamiglio opened 2 years ago

francescopioscognamiglio commented 2 years ago

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:

In either case you can use an updated version of probe-image-size to get dimensions.


Thanks in advance!

mbklein commented 2 years ago

Sure thing. I'll try to update that as soon as I can. Thanks for bringing it to my attention.

mbklein commented 1 year ago

@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.