Skip to content

bug: OpenImageIO is not able to write GPS tags to tiff files #5049

@kjellpeterson-shotover

Description

@kjellpeterson-shotover

Describe the bug
When writing an image file with ImageOutput, if the extra_attribs contains any GPS exif data (for example, GPS:Latitude) they will not be written to the file.

OpenImageIO version and dependencies
2.4.14 but the problem appears to exist in the latest version as well by code inspection

To Reproduce
easiest is to take a jpg with GPS tags and run oiiotool in.jpg -o out.tif

Evidence
example jpg file with GPS tags, example oiiotool output tif without GPS tags, example tif with GPS tags written by other means:
Image
image_2026-02-16-140503.tif
out.tif

  • Example input: If the problem only happens with certain image files, please
    attach the smallest image you can make that reproduces the problem.

IF YOU ALREADY HAVE A CODE FIX: There is no need to file a separate issue,
please just go straight to making a pull request.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions