Pixel Fomat?

  • Thread starter Thread starter Ismail Rajput
  • Start date Start date
I

Ismail Rajput

i am creating a bitmap fromfile

picture format is 24 bits per pixel and now i need to convert this bitmap to
32 bits per pixel , but the answer i am getting is its read only .

please give me some idea
 
You need to create a new bitmap object, with the size of the old bitmap but
a pixelformat of 32bpp. then simply use drawimage to put your bitmap data
into the new bitmap. thats it.
 
Back
Top