Fix breaking GIFs while removing metadata
Closes #4109 GIFs can't contain EXIF data and do not contain any other metadata that isn't operationl
This commit is contained in:
parent
b2d5cdd4fc
commit
0e7a5f5c9b
@ -141,7 +141,8 @@ class Uploader {
|
||||
if (
|
||||
store.state.settings.uploadCanvas &&
|
||||
file.type.startsWith("image/") &&
|
||||
!file.type.includes("svg")
|
||||
!file.type.includes("svg") &&
|
||||
file.type !== "image/gif"
|
||||
) {
|
||||
this.renderImage(file, (newFile) => this.performUpload(token, newFile));
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user