GIF is already a heavily-compressed (RLE) format. You can optimize the
compression by flattening the color palette, using fewer colors and no
gradient fades.
But how large (pixels) are the resulting GIF images? If you''re just
animating between static frames, there''s nothing magical about SWF
that will shrink the result. The file size savings come when you
create the image out of vector illustrations (pure abstract math)
rather than a grid of pixels.
So there''s no magic bullet except making the image smaller that will
give you file-size savings if all you''re doing is switching between
static frames.
Walter
On May 24, 2011, at 10:41 AM, KevinC wrote:
> Hi -
>
> I''m trying to programatically create animated images.
It''s relatively
> easy with RMagick, but the animated GIFs are huge. Is there a way to
> convert animated GIFs to SWF in Rails (and shrink them in the
> process), or is there any way to create SWFs given a bunch of frames?
>
> Thanks,
> Kevin
>
> --
> You received this message because you are subscribed to the Google
> Groups "Ruby on Rails: Talk" group.
> To post to this group, send email to rubyonrails-
> talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
> .
> For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
> .
>
--
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.