Take Snapshots PART II - Save as animated GIF

Published 09 April 08 11:31 | .NET Rocker » TrivadisContent
I was asked, if it would be possible to save the snapshots created in my last post as an animated gif. With a DispatcherTimer and the GifBitmapEncoder-class you’re not far away from it. Just create a MediaElement in your Window: <MediaElement Source="thomasOnBoard.wmv" x:Name="media" MediaOpened="media_MediaOpened" MediaEnded="media_MediaEnded" Width="300" Height="200" Stretch="Fill"/> In the Codebehind-File, implement Eventhandlers for [...]

Lesen Sie den vollständigen Eintrag unter http://www.thomasclaudiushuber.com/blog/2008/04/09/take-snapshots-part-ii-save-as-animated-gif/

Abgelegt unter: , ,