Skip to content

[BUG] Geti removes EXIF dataΒ #1652

@whittenator

Description

@whittenator

🧩 Issue type

Bug 🐞

πŸ“„ Description

All of the images I upload have EXIF data(camera-type, location, etc.) but if I export the dataset I am noticing that the EXIF data is completely removed. As an example using the "exiftool" on a particular image before uploading it:

xifTool Version Number         : 12.76
File Name                       : 10-23-23-SWIR-2-CLIPPED_0.png
Directory                       : /home/twhitten/Development/xod-dataset-registry/object-detection/raw/xod-drone-bird-swir-v1.0.0
File Size                       : 272 kB
File Modification Date/Time     : 2026:01:08 15:12:17+00:00
File Access Date/Time           : 2026:01:08 15:14:50+00:00
File Inode Change Date/Time     : 2026:01:08 15:12:17+00:00
File Permissions                : -rw-rw-r--
File Type                       : PNG
File Type Extension             : png
MIME Type                       : image/png
Image Width                     : 768
Image Height                    : 576
Bit Depth                       : 8
Color Type                      : RGB
Compression                     : Deflate/Inflate
Filter                          : Adaptive
Interlace                       : Noninterlaced
XMP Toolkit                     : Image::ExifTool 13.33
Subject                         : project=XOD, camera_name=Controp_SpeedER, camera_type=SWIR, weather=clear, time_of_day=afternoon, is_synthetic=false, source_video=s3://drone-armor-xod/raw_videos/Speed-ER/SPTF/10-23-23/SWIR-2.mp4
Exif Byte Order                 : Big-endian (Motorola, MM)
Y Cb Cr Positioning             : Centered
GPS Version ID                  : 2.3.0.0
GPS Latitude Ref                : North
GPS Longitude Ref               : West
Image Size                      : 768x576
Megapixels                      : 0.442

After exporting the dataset I am seeing this:

ExifTool Version Number         : 12.76
File Name                       : 10-23-23-SWIR-2-CLIPPED_0.png
Directory                       : /home/twhitten/Downloads/xod-swir-det-dataset/obj_train_data
File Size                       : 271 kB
File Modification Date/Time     : 2026:01:08 18:18:14+00:00
File Access Date/Time           : 2026:01:08 18:21:33+00:00
File Inode Change Date/Time     : 2026:01:08 18:20:49+00:00
File Permissions                : -rw-r--r--
File Type                       : PNG
File Type Extension             : png
MIME Type                       : image/png
Image Width                     : 768
Image Height                    : 576
Bit Depth                       : 8
Color Type                      : RGB
Compression                     : Deflate/Inflate
Filter                          : Adaptive
Interlace                       : Noninterlaced
Image Size                      : 768x576
Megapixels                      : 0.442

It would be nice if it left the existing EXIF data alone and only edited EXIF sections it needs to.

πŸ“‹ Steps to reproduce (if applicable)

No response

πŸ’» Expected behavior

No response

πŸ–ΌοΈ Screenshots, video recordings or logs

No response

πŸ“¦ Geti version

2.13.0

Hardware

Intel CPU, Nvidia 5080 GPU

πŸ–₯️ Operating System

Ubuntu 24.04

Browser (if applicable)

Chrome

Python Version (if relevant)

No response

βž• Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions