[osg-users] [osgPlugins] Animated Gifs on iOS

Robert Osfield robert.osfield at gmail.com
Tue Apr 2 12:04:21 PDT 2019


Hi Alessandro,

On Tue, 2 Apr 2019 at 18:12, Alessandro Terenzi <a.terenzi at gmail.com> wrote:
> I'm thinking to create a osg::ImageSequence if the actual Gif file contains more than 1 image and return that instead of a osg::Image object...
>
> I will test this approach more in depth and submit the improvement if there's no other way to use animated Gifs on iOS.

The ImageSequence approach should work, though I've never heard it
used for working around lack of animated gifs support under iOS before
:-)

One other possible direction you could look at is building the OSG's
libgif based plugin and explictly use this instead of the imageio
based on.

Robert.


More information about the osg-users mailing list