Handling animated gif files

The Featured Discussion Board Post this week is GifRenderer ArgumentException: Value does not fall within the expected range started by Mr Wolf PST.

Mr Wolf PST is trying to generate and share an animated GIF, using a list of PNG images stored in the local storage of a Windows Phone 8.0 app. He is getting an exception: GifRenderer ArgumentException: Value does not fall within the expected range.

A lengthy discussion follows between him and Nokia Developer Champion Oliver Ulm. Mr Wolf PST realizes that Nuget had linked the WinRT version of the library to his project. But the second part of the problem remained: Mr Wolf PST wanted to save these files in the MediaLibrary, which is possible in Windows Phone 8.1. Oliver suggests a workaround where he could save one frame to the library while saving the GIF to local storage (IsolatedStorage). When the user opens the image through the Rich Media Extensibility, it would open a page that contains the WebView, which links to the local image. This is an acceptable solution for Mr Wolf PST.

We decided to feature this discussion because it affirms how a good discussion leads to a good workable solution within the given boundaries.

Keep those interesting questions coming!