Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


Resize animated gif images doesn't work properly #97

sobrinho opened this Issue · 2 comments

3 participants

Gabriel Sobrinho Thiago Fernandes Massa Prem Sichanugrist
Gabriel Sobrinho


I'm trying to resize animated gif files without success. The patch consist to use the -coalesce option into imagemagick comand (this works when i call manually).

I think it can be used as a option into styles to not apply the -coalesce filter into images what aren't needed. Like:

has_attached_file :image, :styles => { :thumb => ['100x100#', 'coalesce'] }

I don't know if have a better way to do it, but this is a really needed feature

Thiago Fernandes Massa

yes we need that... any progress?

Prem Sichanugrist

I think you can resolve this by making your own processor. One of the problem we're currently have is that we use [0] to prevent some problem with pdf file. This would break any animated graphic file, and I think we're seeing a fix as pull request right now. I'm going to merge that in soon, and hopefully that will fix your problem.

Thank you for reporting in, I'm really appreciate it. :)

Prem Sichanugrist sikachu closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.