Solved

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

Posted on 2010-11-12
2
2,901 Views
Last Modified: 2012-06-21
How can I save a WriteableBitmap image into a Gif file using C# in Silverlight.

Thanks

Shankar Manickam.
0
Comment
Question by:shankarmanickam
2 Comments
 
LVL 41

Accepted Solution

by:
graye earned 125 total points
ID: 34148335
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
 

Author Comment

by:shankarmanickam
ID: 34154141
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

Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction This article series is supposed to shed some light on the use of IDisposable and objects that inherit from it. In essence, a more apt title for this article would be: using (IDisposable) {}. I’m just not sure how many people would ge…
Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question