FIELD NOTE / IMAGE SYSTEMS

Image Metadata and EXIF: What to Keep or Strip

Decide which image metadata belongs in masters, operational records, and public derivatives without using blanket stripping rules.

01100VISUAL QUALITY / DELIVERY WEIGHT
Browser-like image frame with dashed metadata track and calibration marks

Short answer: strip metadata that creates privacy, security, or needless delivery cost, but preserve information required for correct color, orientation, rights, provenance, and operations. Keep rich metadata with the master or asset record; publish a deliberate subset in derivatives. A blanket “remove everything” rule can be as careless as keeping everything.

Inventory what is actually present

EXIF may include camera model, lens, exposure, capture time, orientation, and GPS coordinates. IPTC and XMP can contain creator, copyright, usage, keywords, captions, and workflow fields. Color profiles describe how pixel values should appear. Editing applications may add previews, histories, or proprietary chunks.

Run an inventory over representative sources and identify sensitive and useful fields. Policies written without that evidence often focus only on GPS while missing embedded thumbnails or remove rights data the publishing team expected to retain.

Separate master records from delivery files

The trusted master should keep the information needed to prove origin, recreate derivatives, and manage rights, subject to privacy and security policy. Public delivery copies usually need much less. Store operational metadata in a DAM or database rather than forcing every field into every downloaded image.

This separation also makes formats easier to change. A WebP or AVIF derivative does not need to carry the entire source record if the stable asset identity links back to governed metadata.

Handle orientation before removal

Many camera files store pixels in one orientation and use an EXIF tag to instruct viewers to rotate them. If a pipeline strips the tag without first normalizing the pixels, the public image can appear sideways. Decode with orientation awareness, rotate or flip the pixel data into the intended position, then write a derivative with a normal orientation state.

Test older and mobile-uploaded sources because they are common orientation trouble cases. A desktop editor may hide the issue by honoring the tag automatically.

Treat GPS and device data as sensitive

Public photos rarely need precise capture coordinates, serial numbers, or private device details. Remove them by default from delivery derivatives unless a documented product feature requires them. The decision should happen before a file reaches a public URL, not as a manual cleanup after publication.

If location is part of the content, publish the necessary place information in controlled page data rather than leaking the original coordinate precision through the file.

Preserve color deliberately

Removing an ICC profile without converting the pixels can change appearance. Convert sources into the site’s chosen delivery color space, commonly sRGB, and verify brand and product colors. Some workflows intentionally preserve broader-gamut information, but the browser and device path must be tested.

Do not keep a large profile merely because it exists, and do not strip it merely for a byte win. Decide whether the profile is needed for faithful rendering, then standardize the output.

Keep rights and provenance where they remain useful

Copyright, credit, source, license, and digital-source metadata may matter legally or operationally. Determine which fields must travel with a public file and which belong in the page, API, or DAM. Cloudinary documents preservation behavior for specific provenance metadata in transformed images; verify current platform behavior rather than assuming every transformation treats all fields alike.

Record the metadata policy with the transformation recipe. A future migration needs to know whether a missing field was intentionally removed or accidentally lost.

Measure the real benefit

Metadata can add meaningful weight to small thumbnails and relatively little to a large photograph. Report bytes saved by asset class and avoid claims based on one extreme sample. The primary reasons to strip may be privacy and governance rather than compression.

A sound policy answers five questions: what remains with the master, what stays in the system of record, what appears in public derivatives, what is removed, and how the decision is verified. That clarity is more valuable than any universal stripping command.

Field checklist

  • Inventory metadata before designing the rule.
  • Remove GPS and private device data from public derivatives by default.
  • Normalize orientation before stripping orientation tags.
  • Preserve color information when rendering depends on it.
  • Keep rights and provenance in a durable system of record.

Continue the workflow

Primary references