[magick-users] invert colors of animated gif?
Patrick J. Collins
patrick at collinatorstudios.com
Sat Jun 21 22:57:15 PDT 2008
Thank you so much.. your 2nd suggestion worked perfectly! ImageMagick is
really amazing!!
Patrick J. Collins
http://collinatorstudios.com
On Sat, 21 Jun 2008, Fred Weinhaus wrote:
> I am not an expert on animations, but ...
>
> You will likely have to separate the frames (using coalesce), negate
> them (using -negate) or change the color of only the white ones
> (using -fuzz xx% -fill somecolor -opaque white), etc and then
> recombine. But should not be too bad.
>
> See
> http://www.imagemagick.org/Usage/anim_basics/
> http://www.imagemagick.org/Usage/anim_mods/
> http://www.imagemagick.org/Usage/color/
> http://www.imagemagick.org/Usage/
> http://www.imagemagick.org/Usage/reference.html
>
>
> if this does not work
>
> convert animation.gif -negate animation_negate.gif
>
> then something like this should work
>
> convert animation.gif -coalesce -negate \
> -quiet -layers OptimizePlus -loop 0 animation_negate.gif
>
>
>
> >I have an animated gif image of a progress spinner which I am trying to use on
> >a black background, however the spinner has some white pixels around it which
> >makes it look pretty bad.
> >
> >I am curious if imagemagick has a way to invert the colors on all frames of
> >a gif image? And if so, how to do it.
> >
> >Thank you.
> >
> >Patrick J. Collins
> >http://collinatorstudios.com
> _______________________________________________
> Magick-users mailing list
> Magick-users at imagemagick.org
> http://studio.imagemagick.org/mailman/listinfo/magick-users
> .
>
More information about the Magick-users
mailing list