You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Image thumbnails shown in the Resources Gallery View are shown in the orientation as read from the disk.
Desired Behavior
Image files might contain a orientation in their EXIF metadata. Read the orientation from that metadata an display the image thumbnail rotated accordingly.
There are many options for an EXIF image parser library to choose from: https://www.npmjs.com/search?ranking=optimal&q=exif
Implementation Notes
The image thumbnails are retrieved by the UI via a custom electron protocol. I think we just should read and rotate the image thumbnail here:
Current Behavior
Image thumbnails shown in the Resources Gallery View are shown in the orientation as read from the disk.
Desired Behavior
Image files might contain a orientation in their EXIF metadata. Read the orientation from that metadata an display the image thumbnail rotated accordingly.
There are many options for an EXIF image parser library to choose from: https://www.npmjs.com/search?ranking=optimal&q=exif
Implementation Notes
file-explorer/src/platform/electron/protocol/electron-main/app.ts
Lines 46 to 79 in 076c16d
The text was updated successfully, but these errors were encountered: