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!

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s