diff --git a/packages/core/src/lib/apply-transforms.ts b/packages/core/src/lib/apply-transforms.ts index 19065d4f..4cf6cd3a 100644 --- a/packages/core/src/lib/apply-transforms.ts +++ b/packages/core/src/lib/apply-transforms.ts @@ -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)