Switch to imagemagick, only support videos
This commit is contained in:
parent
479578b148
commit
899ea2da3e
4 changed files with 14 additions and 20 deletions
|
|
@ -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
|
||||
]
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue