Closed nathanielrindlaub closed 6 months ago
Fixed (hopefully) by using ImageWidth/Height
if present, else ExifImageWidth/Hight
if present, else use sharp.metadata()
to get the dimensions. I'm a little unsure if sharp.metadata()
will work in the absence of ExifImageWidth/Height
because it was hard to test, but I am optimistic.
Should we be using ExifImageWidth/Height or ImageWidth/Height tags to extract image dimensions from exif?? Bushnell doesn't appear to have ImageWidth/Height but Browning does?