# fix\(shared\): keep a detected JPEG rotation and read past larger metadata · pingdotgg/t3code

[View on GitCafe](https://git.cafe/pingdotgg/t3code/commit/0c0d4ea243cbc281d399a60588a9419eb9a5a646)

Repository: [pingdotgg/t3code](https://git.cafe/pingdotgg/t3code)

Visibility: public

Requested revision: 0c0d4ea243cbc281d399a60588a9419eb9a5a646

Requested commit: 0c0d4ea243cbc281d399a60588a9419eb9a5a646

Commit: 0c0d4ea243cbc281d399a60588a9419eb9a5a646

Tree: 1d273c31f8fb6e52bc8e06b752836bb6d581b084

Author: Julius Marminge

Committer: Julius Marminge

## Message

```
fix(shared): keep a detected JPEG rotation and read past larger metadata

A later XMP APP1 segment no longer clears an EXIF rotation found before
it, and the header window is 256 KiB so a frame header behind an ICC
profile and XMP block is still reached.

Co-Authored-By: Claude Code <noreply@anthropic.com>

```

## Parents

- [104ad786375aa401e9a918a0c123bf460c3aba71](https://git.cafe/pingdotgg/t3code/commit/104ad786375aa401e9a918a0c123bf460c3aba71?format=markdown)

[Source at this commit](https://git.cafe/pingdotgg/t3code/tree/0c0d4ea243cbc281d399a60588a9419eb9a5a646?format=markdown)
