From f2b925f32c34b12410d81b5c2c1c0d89655ff9e2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Charlotte=20=F0=9F=A6=9D=20Delenk?= Date: Sat, 7 Jan 2023 14:49:58 +0100 Subject: [PATCH] =?utf8?q?exiftool=20doesn=E2=80=99t=20support=20JPEG=20XL?= =?utf8?q?=20either?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- lib/pleroma/upload/filter/exiftool.ex | 1 + 1 file changed, 1 insertion(+) 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 -- 2.45.2