Open basisbit opened 4 years ago
workaround: add #
for commenting out all lines inside the function
defp scale_if_smaller(
palette,
file,
{width, height},
{thumb_name, {target_width, target_height}}
) do
in lib/philomena/processors/gif.ex
except for the line
[{:symlink_original, "#{thumb_name}.gif"}]
Describe the bug thumbnail creation of partially transparent gif files is somewhat broken. Layers of previous frames do not get deleted before drawing the next frame. Sample of current result:
To Reproduce Steps to reproduce the behavior:
Expected behavior How it should look:
Desktop (please complete the following information):
Additional context Other boorus seem to have worked around the problem by patching ffmpeg according to https://github.com/philomena-dev/FFmpeg/commits/ Maybe changing the docker container setup to use a patched ffmpeg works as a temporary bugfix for the problem, until https://trac.ffmpeg.org/ticket/7902 is fixed.