Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ExifTag.GPSLatitudeRef gets resolved to ExifTagValue.InteroperabilityIndex #1992

Open
4 tasks done
eangelov opened this issue Feb 11, 2022 · 6 comments
Open
4 tasks done
Milestone

Comments

@eangelov
Copy link

Prerequisites

  • I have written a descriptive issue title
  • I have verified that I am running the latest version of ImageSharp
  • I have verified if the problem exist in both DEBUG and RELEASE mode
  • I have searched open and closed issues to ensure it has not already been reported

Description

ExifTag.GPSLatitudeRef when converted to string is resolved as "InteroperabilityIndex"
image
image

Steps to Reproduce

using SixLabors.ImageSharp.Metadata.Profiles.Exif;
Console.WriteLine( ExifTag.GPSLatitudeRef );

System Configuration

  • Packages:
    image

  • Environment (Operating system, version and so on):
    image

  • .NET Framework version: .Net 6.0

@dlemstra
Copy link
Member

dlemstra commented Feb 12, 2022

Both ExifTagValue.InteroperabilityIndex and ExifTagValue.GPSLatitudeRef have the same value and it looks like the first value is displayed when the metadata is displayed so this is not an issue. I do wonder if we should remove the ExifTagValue.InteroperabilityIndex value @JimBobSquarePants.

@eangelov
Copy link
Author

After doing a quick search in Magick.NET it looks like InteroperabilityIndex is not included in ExifTagValue, removing it looks reasonable.

@JimBobSquarePants
Copy link
Member

Removing the value prevents us ever supporting the tag. ExifTagValue should actually be 3 different enums.

https://www.awaresystems.be/imaging/tiff/tifftags/privateifd/interoperability.html

@JimBobSquarePants JimBobSquarePants added this to the Future milestone Mar 15, 2022
@bjh0
Copy link

bjh0 commented Nov 6, 2022

I came here to make a similar report, and found this issue already open. @dlemstra's comment is not true for me: ExifTagValue.InteroperabilityIndex has the value that I would expect to find in ExifTagValue.GPSLatitudeRef, and ExifTagValue.GPSLatitudeRef has no value at all.

@JimBobSquarePants
Copy link
Member

We should split up the enum for V3.

@JimBobSquarePants
Copy link
Member

This never made V3 but we should target V4 for this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants