Skip to content

Commit

Permalink
Fix unexpected image orientation
Browse files Browse the repository at this point in the history
Fixes #700
  • Loading branch information
happycollision committed May 27, 2024
1 parent 81d9610 commit 390d7ad
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/core/src/lib/apply-transforms.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ export async function applyTransforms(
delete image[METADATA].xmp
delete image[METADATA].tifftagPhotoshop
delete image[METADATA].icc

image.withMetadata({orientation: image[METADATA].orientation})
} else {
image.withMetadata()
}
Expand Down

0 comments on commit 390d7ad

Please sign in to comment.