pulibrary / figgy

Valkyrie-based digital repository backend.
Other
35 stars 4 forks source link

Photographs oriented differently post-ingest into figgy #6122

Open kelea99 opened 9 months ago

kelea99 commented 9 months ago

Summary

Item: https://figgy.princeton.edu/catalog/2eb40001-ddf0-4b49-b403-225cde0dce6d

Issue: Photographer re-oriented photos from horizontal to vertical post-photography. Staged on studio server. Images looked fine. Uploaded to figgy, all imaged reverted to original orientation that they were photographed. When you download the image, however, they are oriented correctly.

Downloads:

  1. both JPEG downloads are the wrong orientation (see screenshot) --of note: the text is still upside down. the item has various orientations of the text throughout
  2. original tiff download looks good, though (see screenshot)--of note: the text is still upside down. the item has various orientations of the text throughout
  3. PDF download are the wrong orientation (see screenshot) --of note: the text is still upside down. the item has various orientations of the text throughout

Esme notes this as having happened to him recently:

i have seen the reorientation thing recently — i received some CR3 files and used imagemagick to generate tiffs — and some of them had the incorrect orientation so i fixed them locally and reuploaded them when i ingested them into figgy, the ones i fixed were all back to their incorrect original orientation — the fix was using imagemagick to rotate them instead of mac preview

Impact

Please include hard deadlines, if the exhibit is part of an event, the issue is stopping work, etc. This is not hindering work, however it is a bug of some sort. worth looking in to

Priority recommendation

Sudden Priority Justification

Required if "asap" or "within the next 3 weeks" is checked. Add "Sudden Priority" and "Maintenance/Research" labels

Expected behaviour

When i ingest re-oriented/saved images from staging on the studio server, I expect those images to be oriented the same way in figgy as they were staged.

Actual behaviour

When I ingest reoriented/saved images from staging on the studio server to figgy , the images view as the original orientation in figgy versus the corrected/saved orientation that was staged on the stuio server and ingested.

Steps to reproduce behaviour

Screenshots

JPEG

Screenshot 2023-12-15 at 9 04 23 PM

TIFF

Screenshot 2023-12-15 at 9 04 39 PM

PDF

Screenshot 2023-12-15 at 9 07 23 PM
tpendragon commented 9 months ago

This is the same problem as https://github.com/pulibrary/figgy/issues/6044