projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b98fe44
)
exiftool doesn’t support JPEG XL either
author
Charlotte 🦝 Delenk
<lotte@chir.rs>
Sat, 7 Jan 2023 13:49:58 +0000
(14:49 +0100)
committer
Charlotte 🦝 Delenk
<lotte@chir.rs>
Sat, 7 Jan 2023 13:49:58 +0000
(14:49 +0100)
lib/pleroma/upload/filter/exiftool.ex
patch
|
blob
|
history
diff --git
a/lib/pleroma/upload/filter/exiftool.ex
b/lib/pleroma/upload/filter/exiftool.ex
index 8ada734731566dd7e2f0b052593367e914de22d8..4d3a5f551d12837c4f3eff520b7babdf9fa80408 100644
(file)
--- a/
lib/pleroma/upload/filter/exiftool.ex
+++ b/
lib/pleroma/upload/filter/exiftool.ex
@@
-15,6
+15,7
@@
defmodule Pleroma.Upload.Filter.Exiftool do
def filter(%Pleroma.Upload{content_type: "image/heic"}), do: {:ok, :noop}
def filter(%Pleroma.Upload{content_type: "image/webp"}), do: {:ok, :noop}
def filter(%Pleroma.Upload{content_type: "image/svg+xml"}), do: {:ok, :noop}
+ def filter(%Pleroma.Upload{content_type: "image/jxl"}), do: {:ok, :noop}
def filter(%Pleroma.Upload{tempfile: file, content_type: "image" <> _}) do
try do