mirror of
https://github.com/storytold/photocraft.git
synced 2026-12-02 06:20:48 +01:00
Exports copied the source EXIF with only Orientation and resolution patched, so a camera JPEG's embedded thumbnail (IFD1) came along. Finder, Android and upload pickers show that thumbnail instead of decoding the image, so an edited photo kept its original preview. export_exif now clears IFD0's next-IFD pointer, unlinking IFD1. Nothing else moves, so every other offset stays valid; JPEG, PNG, WebP and the PSD EXIF resource all go through it. Co-authored-by: vivekprojects-GIT <[email protected]> Co-authored-by: Claude Opus 5.5 <[email protected]>