How to Save WriteableBitmap image to a Gif file using Silverlight/C#

How can I save a WriteableBitmap image into a Gif file using C# in Silverlight.

Thanks

Shankar Manickam.
shankarmanickamAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
grayeConnect With a Mentor Commented:
What are you trying to do?   WriteableBitmap was designed for images that are rapidly changing.   To save a copy of whatever is in the WriteableBitmap at any point in time, you'd perform a freeze operation (to lock it down) and then you can access the BackBuffer property.
0
 
shankarmanickamAuthor Commented:
I am providing a canvas in silverlight in which the uesr can draw free hand images. When the hit save button i am able to get the image they have drawn in form of WritableBitmap.

Can you provide some code snippets for freezing and accessing the BackBuffer.

Thanks
Shankar Manickam
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.