Skip to content

fix: preserve JPEG EXIF orientation - #33

Merged
maruson08 merged 1 commit into
mainfrom
fix/v0.1.1-exif-orientation
Aug 27, 2026
Merged

fix: preserve JPEG EXIF orientation#33
maruson08 merged 1 commit into
mainfrom
fix/v0.1.1-exif-orientation

Conversation

@maruson08

Copy link
Copy Markdown
Member

Summary

  • preserve exactly one valid IFD0 Orientation value from 1 through 8 in canonical minimal EXIF
  • remove every other EXIF and GPS field without pixel decoding or re-encoding
  • allow only canonical Orientation-only EXIF during privacy verification
  • prepare version 0.1.1 documentation, package metadata, and release checks

Safety behavior

Malformed, out-of-range, duplicate, conflicting, incomplete, or limit-truncated Orientation is removed rather than guessed. JPEG scan data, ICC, unknown APP segments, structural bytes, and trailing bytes remain byte-identical.

Validation

  • 29 test files and 259 tests
  • fixed-seed 250-run fuzz smoke
  • typecheck, lint, and formatting
  • Chromium browser smoke
  • package, license, and vulnerability audits
  • two detached-worktree release builds with byte-identical artifacts
  • zero runtime dependencies and unchanged public exports

Closes #29
Closes #30
Closes #31
Closes #32

Rewrite one valid IFD0 Orientation value into minimal EXIF while removing all other JPEG EXIF metadata. Align verification, regression coverage, documentation, and v0.1.1 release metadata.
@maruson08
maruson08 merged commit cdcd138 into main Aug 27, 2026
1 check passed
@maruson08
maruson08 deleted the fix/v0.1.1-exif-orientation branch August 27, 2026 02:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant