Skip to content

Thumbnail orientation #30

@oyvindgrimen

Description

@oyvindgrimen

There is potentially 2 orientations in the exif for an image. One is for the image itself, and the other is for the embedded thumbnail of the image. If one uses imagemagick with the command "magick identify -verbose image.jpg" then you can sometimes see that there is something like this in the output: "exif:thumbnail:Orientation: 6"

The exif-parser will read out this value and return it when you ask for orientation. However, it might not be the orientation of the image, only the thumbnail. I've seen cases where the main image does not have orientation, but the thumbnail has. Some exif libraries will give you no value in this case, and some vil give the value of the thumbnail. I belive the best would be to seperate them, with different tag names, like imagemagick does.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions