mirror of
https://github.com/imgproxy/imgproxy.git
synced 2025-02-07 11:36:25 +02:00
Remove color-related EXIF data when stripping ICC profile
This commit is contained in:
parent
d5d3e32df0
commit
a7e1b80ba9
@ -1,6 +1,8 @@
|
||||
# Changelog
|
||||
|
||||
## [Unreleased]
|
||||
### Change
|
||||
- Remove color-related EXIF data when stripping ICC profile.
|
||||
|
||||
## [3.13.1] - 2023-01-16
|
||||
### Fix
|
||||
|
@ -274,6 +274,9 @@ vips_icc_remove(VipsImage *in, VipsImage **out) {
|
||||
if (vips_copy(in, out, NULL)) return 1;
|
||||
|
||||
vips_image_remove(*out, VIPS_META_ICC_NAME);
|
||||
vips_image_remove(*out, "exif-ifd0-WhitePoint");
|
||||
vips_image_remove(*out, "exif-ifd0-PrimaryChromaticities");
|
||||
vips_image_remove(*out, "exif-ifd2-ColorSpace");
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user