Bitmap
-
Hello all, Am newly working with bitmap, i do have many questions regarding this. At present am working on Visual C++, but am devolping code in C without any dialog based(No GUI), just with CLASS view and FILE view, am almost finished with the work, but the problem, now i have to open a bitmap to plot the output data on the bitmap. Is it possible to create a Bitmap in C or should i use VC++ dialog based application only? Is there any special function?
-
Hello all, Am newly working with bitmap, i do have many questions regarding this. At present am working on Visual C++, but am devolping code in C without any dialog based(No GUI), just with CLASS view and FILE view, am almost finished with the work, but the problem, now i have to open a bitmap to plot the output data on the bitmap. Is it possible to create a Bitmap in C or should i use VC++ dialog based application only? Is there any special function?
Its possible to open a bitmap the same as any other "text" file. You can also use the CreateBitmap() LoadBitmap() ... functions, but I think these require that you include windows.h or at least GDI.h into your project. I'm not sure exactly what you are rying to do, but if you do some research about DI (Device Independant) Bitmaps, these allow you to manipulate each pixel in the structure.
-
Hello all, Am newly working with bitmap, i do have many questions regarding this. At present am working on Visual C++, but am devolping code in C without any dialog based(No GUI), just with CLASS view and FILE view, am almost finished with the work, but the problem, now i have to open a bitmap to plot the output data on the bitmap. Is it possible to create a Bitmap in C or should i use VC++ dialog based application only? Is there any special function?
Are u working on WIN32 console application?
-
Hello all, Am newly working with bitmap, i do have many questions regarding this. At present am working on Visual C++, but am devolping code in C without any dialog based(No GUI), just with CLASS view and FILE view, am almost finished with the work, but the problem, now i have to open a bitmap to plot the output data on the bitmap. Is it possible to create a Bitmap in C or should i use VC++ dialog based application only? Is there any special function?
srija wrote:
Is it possible to create a Bitmap in C or should i use VC++ dialog based application only? Is there any special function?
Yes, you can create a bitmap in Plain Old C. Have a look at all the bitmap structures in MSDN. But what are you wanting to do with the bitmap you created ?if your program only read data and create the bitmap manually, and save it back to a file, you can use paint.exe ( or any other bitmap/image viewer ) to see the resulting image.
Maximilien Lincourt Your Head A Splode - Strong Bad
-
Are u working on WIN32 console application?
-
Its possible to open a bitmap the same as any other "text" file. You can also use the CreateBitmap() LoadBitmap() ... functions, but I think these require that you include windows.h or at least GDI.h into your project. I'm not sure exactly what you are rying to do, but if you do some research about DI (Device Independant) Bitmaps, these allow you to manipulate each pixel in the structure.
-
srija wrote:
Is it possible to create a Bitmap in C or should i use VC++ dialog based application only? Is there any special function?
Yes, you can create a bitmap in Plain Old C. Have a look at all the bitmap structures in MSDN. But what are you wanting to do with the bitmap you created ?if your program only read data and create the bitmap manually, and save it back to a file, you can use paint.exe ( or any other bitmap/image viewer ) to see the resulting image.
Maximilien Lincourt Your Head A Splode - Strong Bad