RLE image to BMP using buffer.
C#
1
Posts
1
Posters
0
Views
1
Watching
-
Hello. I have an RLE image file which i load to a buffer using a function and then decode to 8Bit BMP. The function return Pointer to the buffer with the BMP . 1) can i use the buffer directly using the pointer - if so how? 2) the buffer i get has no BMP header i need to add one myself - is it possible (it only contains the data.
CRleImageClass myRLE = new CRleImageClass(); myRLE.Load(@"E:\1.rle",2048); System.IntPtr mp ; // the pointer to the buffer mp = myRLE.Decode8Bit();
3) Do i have to save the file as BMP before starting any manupulation on it? i know it's a lot of questions - sorry thanks liq:confused: Have a nice Day