Switch to imagemagick, only support videos

This commit is contained in:
Mark Felder 2020-08-25 17:18:22 -05:00
commit 899ea2da3e
4 changed files with 14 additions and 20 deletions

View file

@ -444,7 +444,7 @@ config :pleroma, :media_preview_proxy,
enabled: false,
thumbnail_max_width: 600,
thumbnail_max_height: 600,
quality: 2,
image_quality: 85,
proxy_opts: [
head_request_max_read_duration: 5_000
]

View file

@ -1975,9 +1975,9 @@ config :pleroma, :config_description, [
description: "Max height of preview thumbnail."
},
%{
key: :quality,
key: :image_quality,
type: :integer,
description: "Quality of the output. Ranges from 1 (max quality) to 31 (lowest quality)."
description: "Quality of the output. Ranges from 0 (min quality) to 100 (max quality)."
},
%{
key: :proxy_opts,