From: Charlotte 🦝 Delenk Date: Sat, 7 Jan 2023 13:49:58 +0000 (+0100) Subject: exiftool doesn’t support JPEG XL either X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=f2b925f32c34b12410d81b5c2c1c0d89655ff9e2;p=akkoma exiftool doesn’t support JPEG XL either --- diff --git a/lib/pleroma/upload/filter/exiftool.ex b/lib/pleroma/upload/filter/exiftool.ex index 8ada73473..4d3a5f551 100644 --- 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