mirror of
https://framagit.org/fiat-tux/hat-softwares/lutim.git
synced 2026-08-09 10:23:24 +02:00
Do not try to remove EXIF tags from xcf or webp images
This commit is contained in:
@@ -366,7 +366,7 @@ sub add {
|
||||
|
||||
}
|
||||
|
||||
unless ((defined($keep_exif) && $keep_exif) || $mediatype eq 'image/svg+xml') {
|
||||
unless ((defined($keep_exif) && $keep_exif) || $mediatype eq 'image/svg+xml' || $mediatype !~ m#image/(x-)?xcf# || $mediatype ne 'image/webp') {
|
||||
# Remove the EXIF tags
|
||||
my $data = new IO::Scalar \$upload->slurp();
|
||||
my $et = new Image::ExifTool;
|
||||
|
||||
Reference in New Issue
Block a user