473,387 Members | 1,899 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Load/Save Bitmaps

Hi,

I'm looking for code to load and save bitmap files (24 bit per pixel).

TIA
Claus
Mar 2 '08 #1
3 1451
Have a look at System.Drawing.Bitmap and System.Drawing.Image.

<cd*****@gmail.comwrote in message
news:db**********************************@s13g2000 prd.googlegroups.com...
Hi,

I'm looking for code to load and save bitmap files (24 bit per pixel).

TIA
Claus

Mar 2 '08 #2
<cd*****@gmail.comwrote in message
news:db**********************************@s13g2000 prd.googlegroups.com...
Hi,

I'm looking for code to load and save bitmap files (24 bit per pixel).

TIA
Claus

Explore the options in System.Drawing.Bitmap Using those in combination with
System.IO will get you where you need to be.
--
Roger Frost
"Logic Is Syntax Independent"

Mar 2 '08 #3
Thanks all!
Mar 3 '08 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
by: Mark Johnson | last post by:
How can you save all or a portion of the Grafics object to a Image/Bitmap ? I am try to save the Images from Cards.dll to a BitMap file. I can read in the Images to the Grafics, but when I try this...
1
by: Mark Evans | last post by:
I have a dialog box and on it I want to display a bitmap, which will change at various times during the program. My problem is that the bitmaps will not be the same each time. I want the user to...
2
by: TC | last post by:
I would like to save bitmaps to a file stream, but I can't get the Bitmap.Save(Stream) overload to work. If I save one bitmap to the stream, it works okay, but if I save two or more, they all...
1
by: Mythran | last post by:
I am attempting to read all of the resources from a Win32 executable, and load each of them to display them on a screen. So, please help figure out why I can't seem to get it right :) First...
0
by: moumita | last post by:
How to diplay a bitmap on form load. I want to display multiple bitmaps treating the form as a xy coordinate form. How do I scale a form as a xy coordinate screen.On various positions I want to...
5
by: dotnetchic | last post by:
(Sorry about cross-post to MFC...got no reply so I'm reposting here) Porting my code over from VC++6 to MC++, loading bitmaps from resources broke. This code is in a lib file (previously, it was...
12
by: Lee | last post by:
I have the following code using System; using System.Windows.Forms; using System.Drawing; using System.Collections; namespace FINN {
5
by: Speed | last post by:
Hi, I have a monochrome camera connected to my computer through the USB port. I would like to capture the images from it using C++ and save them as 8-bit grayscale Bitmaps. I am using MS Visual...
13
by: Joe | last post by:
does anyone know why this source code throws an error?? Dim myBitmap As System.Drawing.Bitmap Dim myGraphics As Graphics myBitmap = New System.Drawing.Bitmap(fileName:="C:\test.tif")...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.