Page MenuHomePhorge

No OneTemporary

Authored By
Unknown
Size
2 KB
Referenced Files
None
Subscribers
None
diff --git a/docs/configuration/cheatsheet.md b/docs/configuration/cheatsheet.md
index 2d525ad63..30e3e113b 100644
--- a/docs/configuration/cheatsheet.md
+++ b/docs/configuration/cheatsheet.md
@@ -704,7 +704,7 @@ No specific configuration.
#### Pleroma.Upload.Filter.Exif.StripLocation
-This filter strips GPS and location metadata from JPEG, WebP, HEIC and AVIF images, leaving color profiles and attributes intact. For PNG images it removes all text and EXIF metadata chunks. Images are not re-encoded, and other formats are left unchanged.
+This filter strips GPS and location metadata from JPEG, WebP, HEIC, AVIF and TIFF images, leaving color profiles and attributes intact. For PNG images it removes all text and EXIF metadata chunks. Images are not re-encoded, and other formats are left unchanged.
It replaces the deprecated `Pleroma.Upload.Filter.Exiftool.StripLocation`, which no longer needs exiftool.
diff --git a/lib/pleroma/upload/filter/exif/read_description.ex b/lib/pleroma/upload/filter/exif/read_description.ex
index 654422b1b..96b219042 100644
--- a/lib/pleroma/upload/filter/exif/read_description.ex
+++ b/lib/pleroma/upload/filter/exif/read_description.ex
@@ -6,7 +6,7 @@ defmodule Pleroma.Upload.Filter.Exif.ReadDescription do
@moduledoc """
Reads a description from image metadata when the upload has none yet.
- Checks EXIF ImageDescription, then IPTC Caption-Abstract, then XMP. Blank
+ Checks EXIF ImageDescription, then IPTC Caption-Abstract (and XMP for GIF). Blank
values and values longer than `[:instance, :description_limit]` are ignored.
"""
diff --git a/lib/pleroma/upload/filter/exif/strip_location.ex b/lib/pleroma/upload/filter/exif/strip_location.ex
index 2e2b79f4c..622f8e335 100644
--- a/lib/pleroma/upload/filter/exif/strip_location.ex
+++ b/lib/pleroma/upload/filter/exif/strip_location.ex
@@ -6,7 +6,7 @@ defmodule Pleroma.Upload.Filter.Exif.StripLocation do
@moduledoc """
Strips GPS metadata from uploaded images and overwrites the file in place.
- Supports JPEG, PNG, WebP and ISO-BMFF images (HEIC, AVIF). This is lossless:
+ Supports JPEG, PNG, WebP, TIFF and ISO-BMFF images (HEIC, AVIF). This is lossless:
the image data is not re-encoded. Other image types are left untouched.
"""
diff --git a/test/pleroma/upload/filter/exif/read_description_test.exs b/test/pleroma/upload/filter/exif/read_description_test.exs
index 15d2944cd..07e3ce710 100644
--- a/test/pleroma/upload/filter/exif/read_description_test.exs
+++ b/test/pleroma/upload/filter/exif/read_description_test.exs
@@ -1,5 +1,5 @@
# Pleroma: A lightweight social networking server
-# Copyright © 2017-2021 Pleroma Authors <https://pleroma.social/>
+# Copyright © 2017-2026 Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only
defmodule Pleroma.Upload.Filter.Exif.ReadDescriptionTest do

File Metadata

Mime Type
text/x-diff
Expires
Sun, Nov 1, 11:49 PM (13 h, 29 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1803429
Default Alt Text
(2 KB)

Event Timeline