Saving GIF and BMP images in C#

Posted on 2006-07-19
Last Modified: 2008-02-01

Hi all,

I am implementing a saveImage dialog box and would like to know how to save GIF and BMP file to a specific directory ?

any sample code is appreciated.

Question by:Ramesh4u
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions

Author Comment

ID: 17143858

Actually I also want to know how to covert programmatically from one image format  to another.

I should be able to do the convertion among jpeg, bmp, and gif.


Assisted Solution

MuhammadAdil earned 50 total points
ID: 17143926
LVL 48

Assisted Solution

AlexFM earned 50 total points
ID: 17143931
LVL 22

Accepted Solution

Mohammed Nasman earned 50 total points
ID: 17143936
Hi Ramesh,

  For easy way, you could convert easily like the following

      Image img= Image.FromFile("c:\\img.bmp");

Mohammed Nasman

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity AddWithValue when using IN condition 7 45
itextsharp with c# 3 35
Set custom font WPF 2 25
Inserting LocalDB Table to SQL Server C# 3 51
In order to hide the "ugly" records selectors (triangles) in the rowheaders, here are some suggestions. Microsoft doesn't have a direct method/property to do it. You can only hide the rowheader column. First solution, the easy way The first sol…
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.
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…

738 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