Expiring Today—Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Saving GIF and BMP images in C#

Posted on 2006-07-19
4
Medium Priority
?
970 Views
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.

Ramesh
0
Comment
Question by:Ramesh4u
[X]
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
4 Comments
 

Author Comment

by:Ramesh4u
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.

Ramesh
0
 
LVL 6

Assisted Solution

by:MuhammadAdil
MuhammadAdil earned 200 total points
ID: 17143926
0
 
LVL 48

Assisted Solution

by:AlexFM
AlexFM earned 200 total points
ID: 17143931
0
 
LVL 22

Accepted Solution

by:
Mohammed Nasman earned 200 total points
ID: 17143936
Hi Ramesh,

  For easy way, you could convert easily like the following

      Image img= Image.FromFile("c:\\img.bmp");
      img.Save("c:\\img.jpg",System.Drawing.Imaging.ImageFormat.Jpeg);

Regards,
Mohammed Nasman
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

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…
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…

719 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