Is there a way to remove metadata from an image file?

This page summarizes the projects mentioned and recommended in the original post on /r/csharp

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • exiflibrary

    A .Net Standard library for editing Exif metadata

  • I did some looking and exiflibrary seems like a great option. I've never used it, but I looked at the code and it looks like a pretty nice library for working with metadata for different image types. It's also MIT licensed. Just poking around, it looks like you can read the image, strip the metadata, and output the image in 3 lines of code. Seems like it might be a great fit for your scenario and one I'll definitely try in the future when I need to do metadata manipulation.

  • exiftool

    ExifTool meta information reader/writer

  • Check out exiftool.org

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • Damselfly

    Damselfly is a server-based Photograph Management app. The goal of Damselfly is to index an extremely large collection of images, and allow easy search and retrieval of those images, using metadata such as the IPTC keyword tags, as well as the folder and file names. Damselfly includes support for object/face detection.

  • Code is here if you're interested: https://github.com/Webreaper/Damselfly/blob/master/Damselfly.Core/Services/ExifService.cs - although this may be overcomplicated for OP's needs, and just a Process Launch is all you really need.

  • ImageSharp

    :camera: A modern, cross-platform, 2D Graphics library for .NET

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts