Skip to content

Commit

Permalink
fix: include private metadata when applying the transforms
Browse files Browse the repository at this point in the history
  • Loading branch information
JonasKruckenberg committed Apr 28, 2021
1 parent 7ff45b2 commit cc46d1b
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 @@ -11,6 +11,8 @@ export async function applyTransforms(transforms: ImageTransformation[], image:
delete image[METADATA].iptc
delete image[METADATA].xmp
delete image[METADATA].tifftagPhotoshop
} else {
image.withMetadata()
}

image = transforms.reduce((img, transform) => transform(img), image)
Expand Down

0 comments on commit cc46d1b

Please sign in to comment.