sul-dlss / assembly-image

Creates JP2 image derivatives of files.
Other
0 stars 1 forks source link

preserve rotation in vips_image and jp2 #95

Closed ndushay closed 2 years ago

ndushay commented 2 years ago

Why was this change made? 🤔

Fixes #37

supersedes PR #91 as @calavano recommended preserving the rotation indicated in the source image in the original Vips image object, rather than the temporary tiff. This means the image height and width, for example, will be correct to the rotation.

How was this change tested? 🤨

I used the spec from PR #91 and @jcoyne verified that visually, too.

âš¡ âš  If this change has cross service impact, run integration tests that do IMAGE ACCESSIONING (e.g. create_preassembly_image_spec) and/or test in [stage|qa] environment, in addition to specs. âš¡