mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-27 13:47:58 +01:00
mix format
This commit is contained in:
parent
9a8b5a7ea7
commit
659f694fae
1 changed files with 4 additions and 1 deletions
|
@ -84,7 +84,10 @@ defmodule Philomena.Processors.Gif do
|
|||
scaled = Briefly.create!(extname: ".gif")
|
||||
|
||||
scale_filter = "scale=w=#{width}:h=#{height}:force_original_aspect_ratio=decrease"
|
||||
palette_filter = "paletteuse=dither=bayer:bayer_scale=5:diff_mode=rectangle:alpha_threshold=255"
|
||||
|
||||
palette_filter =
|
||||
"paletteuse=dither=bayer:bayer_scale=5:diff_mode=rectangle:alpha_threshold=255"
|
||||
|
||||
filter_graph = "[0:v]#{scale_filter}[x];[x][1:v]#{palette_filter}"
|
||||
|
||||
{_output, 0} =
|
||||
|
|
Loading…
Reference in a new issue