Metadata Preservation During Photo Editing

Learn how different image editors handle metadata when saving, exporting, and converting images. Understand which operations preserve, modify, or destroy EXIF, IPTC, and XMP data.

Color & Technical

Detailed Explanation

How Editing Affects Metadata

When you edit and save a photo, the software must decide what to do with the embedded metadata. Different tools and operations have different effects, and understanding these is critical for maintaining data integrity.

Non-Destructive Editors

Non-destructive editors (Lightroom, Capture One, Apple Photos) store edits separately from the original file:

Original file:  photo.jpg  (EXIF intact, never modified)
Sidecar file:   photo.xmp  (edit instructions only)
Catalog DB:     library.db (ratings, collections, keywords)

On export:
  → New file created with original EXIF + applied edits
  → DateTime updated to export time
  → Software tag set to editor name
  → XMP:History records editing operations

Key benefit: Original metadata is always preserved. The export process can selectively include or exclude metadata.

Destructive Editors

Pixel editors (Photoshop, GIMP, Paint.NET) modify the image data directly:

Adobe Photoshop:

  • Preserves EXIF, IPTC, and XMP on File > Save
  • "Save for Web" has an option to include/exclude metadata
  • Updates DateTime to save time
  • Adds Software tag "Adobe Photoshop"
  • Records XMP:History with operation details

GIMP:

  • JPEG export dialog has "Save EXIF data" checkbox
  • Does not preserve IPTC by default (requires plugin)
  • Strips MakerNote in most cases
  • Does not update DateTime correctly in some versions

Paint.NET:

  • Preserves basic EXIF on save
  • Strips extended metadata including MakerNote
  • No IPTC or XMP support

Operations That Affect Metadata

Operation Effect on Metadata
Crop Dimensions tags updated, thumbnail regenerated
Resize Dimensions tags updated, resolution may change
Rotate (lossless) Orientation tag updated, pixels rearranged
Convert format Depends on target format support
Save as new JPEG May re-encode, quality tag updated
Screenshot All metadata stripped
Copy/paste in editor All metadata stripped

Format Conversion

Converting between formats has significant metadata implications:

  • JPEG to PNG: EXIF may be preserved (varies by tool), ICC profile preserved
  • JPEG to WebP: Most tools strip EXIF, some preserve it
  • RAW to JPEG: Camera EXIF preserved, processing info added
  • HEIC to JPEG: Apple preserves full EXIF; third-party tools vary
  • Any to BMP: All metadata stripped (BMP has no metadata container)
  • Any to TIFF: Full metadata preservation (TIFF is the native EXIF container)

Social Media and Messaging

Platform processing after upload:

  1. Re-encoding: Platforms re-encode images, which creates a new file
  2. Resizing: Dimensions are reduced, invalidating EXIF dimension tags
  3. Metadata stripping: Most platforms remove EXIF for privacy
  4. Re-compression: JPEG quality is reduced, changing file size

Best Practices for Preservation

  1. Always work on copies, never originals
  2. Use non-destructive editors when possible
  3. Back up original files with metadata intact
  4. Test your export settings to verify metadata inclusion
  5. Use XMP sidecar files for metadata that must survive any processing
  6. Verify metadata after batch processing operations

Use Case

Understanding metadata preservation is important for archivists ensuring long-term data integrity, photo editors managing client deliverables with correct copyright information, web developers processing user-uploaded images, and automation engineers building image processing pipelines that must maintain metadata through multiple transformation steps.

Try It — Image Metadata Viewer

Open full tool