Solved

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

Posted on 2010-11-12
2
2,892 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Article by: Ivo
C# And Nullable Types Since 2.0 C# has Nullable(T) Generic Structure. The idea behind is to allow value type objects to have null values just like reference types have. This concerns scenarios where not all data sources have values (like a databa…
Introduction Although it is an old technology, serial ports are still being used by many hardware manufacturers. If you develop applications in C#, Microsoft .NET framework has SerialPort class to communicate with the serial ports.  I needed to…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, just open a new email message. In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…

920 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now