Hi,
Is it possible to write a bitmap in C# line by line? I am worried that using the Bitmap.Save() function will require too much memory when dealing with LARGE files..
To clarify, I want to do this:
- Open the file and write the bitmap header (if any)
- Put 1 scanline worth of image data into a buffer (byte[])
- Write the contents of the buffer into the file
- Repeat from 2 unless there are no more scan lines
- Close the file
How is this done in C#?
Thanks,
kreb