From 51c45456c3ea65eab8208775374af74f9394306b Mon Sep 17 00:00:00 2001 From: Josef Heinen Date: Sat, 13 Feb 2016 08:26:56 +0100 Subject: [PATCH] Disable alpha channel when converting PNGs --- src/animation.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/animation.jl b/src/animation.jl index 13075a78..a11e48db 100644 --- a/src/animation.jl +++ b/src/animation.jl @@ -31,7 +31,7 @@ function gif(anim::Animation, fn::@compat(AbstractString) = "tmp.gif"; fps::Inte # high quality speed = round(Int, 100 / fps) - run(`convert -delay $speed -loop 0 $(anim.dir)/*.png $fn`) + run(`convert -delay $speed -loop 0 $(anim.dir)/*.png -alpha off $fn`) catch err warn("Tried to create gif using convert (ImageMagick), but got error: $err\nWill try ffmpeg, but it's lower quality...)")