Metadata extractor: Is the exif tag 'orientation' respected when calculating image width and height?

174 views Asked by At

I want to use the metadata-extractor Java Library version 2.18 to extract metadata from images. Does the library respect the orientation Exif tag on the calculation of the image width and height of an image?

1

There are 1 answers

2
Drew Noakes On BEST ANSWER

The library will provide you access to all three values: width, height, orientation. You can do with them as you wish.

If you think there'd be a generally useful helper function that we could add to the library to make this easier to get right, we would consider a pull request, depending upon the proposed API.