Forum: Ruby on Rails Carrierwave + RMagick with animated gif upload is too slow

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
F22a5ce3c6b77c33c2234eb7d739a663?d=identicon&s=25 Jame Paul Almerino (jp_almerino)
on 2016-10-24 09:47

I have an app with carrierwave + RMagick setup and i'm generating 3
versions for each images. I don't have a problem with non-animated gifs
file but when i'm uploading animated gif file, the upload seems to be so
slow in my localhost and hangs in production.

Here's the code for the version processing:

  version :scaled_512 do
    process :resize_to_fit => [512, 512]

  version :thumb_425, from_version: :scaled_512 do
    process :resize_to_fill => [425, 212]

  version :thumb_256, from_version: :scaled_512 do
    process :resize_to_fill => [256, 256]
This topic is locked and can not be replied to.