jonbuda / miro

A Ruby gem to help extract the dominant colors from an image.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Animated GIF input problem

skord opened this issue · comments

When using convert on animated gifs, it dumps them per frame, like tempfile-1.png, tempfile-2.png, etc, so miro can't get a color palette.

Suggesting skord/miro@85001e0 as a fix. Modifies the convert argument to use the first frame. If there's only one frame, as with most static images, it doesn't matter.