aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorgrunfink <grunfink@noreply.codeberg.org>2026-01-12 14:27:05 +0100
committergrunfink <grunfink@noreply.codeberg.org>2026-01-12 14:27:05 +0100
commit3ffdf91a4c6e90b0738a767d75b80941500713e0 (patch)
treec716b2fc1121c97a4ee82f3993d97ed41e63a7ad /doc
parent9a5f67bd30511291f7ac9a13a56fb5611b4350cf (diff)
parent03d270a56b751bc53b83381d9fef21da8d4cbb91 (diff)
Merge pull request 'Implement metadata stripping for uploaded photos and videos' (#515) from draga79/snac2:master into master
Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/515
Diffstat (limited to 'doc')
-rw-r--r--doc/snac.812
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/snac.8 b/doc/snac.8
index b8a75fa..c53bb59 100644
--- a/doc/snac.8
+++ b/doc/snac.8
@@ -296,6 +296,18 @@ outgoing messages (default: 15). Anyway, whenever any incoming activity from a
failed instance is detected, this counter is reset for it.
.It Ic vkey
Public vapid key. Used for notification on some client.
+.It Ic strip_exif
+If set to true, EXIF and other metadata will be stripped from uploaded images (jpg, png, webp, heic, avif, tiff, gif, bmp) and videos (mp4, m4v, mov, webm, mkv, avi). This requires the
+.Nm mogrify
+(from ImageMagick) and
+.Nm ffmpeg
+tools to be installed. If
+.Nm snac
+cannot find or execute these tools at startup, it will refuse to run.
+.It Ic mogrify_path
+Overrides the default "mogrify" command name or path. Use this if the tool is not in the system PATH or has a different name.
+.It Ic ffmpeg_path
+Overrides the default "ffmpeg" command name or path. Use this if the tool is not in the system PATH or has a different name.
.El
.Pp
You must restart the server to make effective these changes.