Solved

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

Posted on 2010-11-12
2
2,886 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
Comment Utility
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
Comment Utility
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

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Article by: Najam
Having new technologies does not mean they will completely replace old components.  Recently I had to create WCF that will be called by VB6 component.  Here I will describe what steps one should follow while doing so, please feel free to post any qu…
Summary: Persistence is the capability of an application to store the state of objects and recover it when necessary. This article compares the two common types of serialization in aspects of data access, readability, and runtime cost. A ready-to…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

771 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

11 Experts available now in Live!

Get 1:1 Help Now