Skip to content

Easier way to remove metadata from processed images #226

Discussion options

You must be logged in to vote

There's some very loose (lots of "other") categorization in the EXIF specification but that's informative and not part of any stored data.

I don't think we'd ever try to add explicit categorization to our API. It's a lot of work to maintain with very little benefit.

If individuals want to preserve only a subset of the data they would be better off iterating an enumerated collection of tags from ExifProfile.Values and removing each one

// Stored as a static collection somewhere.
ExifTag[] requiredTags = { ExifTag.Orientation };

if (formattedImage.Image.Metadata.ExifProfile != null)
{
    ExifTag[] tags = formattedImage.Image.Metadata.ExifProfile.Values.Select(x => x.Tag).ToArray();
    for (

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ronaldbarendse
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
2 participants