Search results

  1. G

    Question Converting Memorystream from 24BitRGB to 32BGR

    Hi, I'm capturing an image from a video card into a buffer as a memory stream. the format is "BMP,which contains BITMAPFILEHEADER, BITMAPINFOHEADER and RGB24 raw data". I then need to write it down as a BGR32. I can do it the following code (basically, Marshal.copy) but this procedure is LONG...
Top Bottom