Add keepXmp and withXmp for control over output XMP metadata #4416

This commit is contained in:
Thibaut Patel
2025-06-11 21:24:09 +02:00
committed by Lovell Fuller
parent df5454e7dc
commit 4e3f3792ad
10 changed files with 303 additions and 2 deletions

View File

@@ -692,6 +692,8 @@ sharp(input)
k2: 'v2'
}
})
.keepXmp()
.withXmp('test')
.keepIccProfile()
.withIccProfile('filename')
.withIccProfile('filename', { attach: false });