pushrbx icon

Untitled

pushrbx | PRO | 11/09/16 06:48:19 PM UTC | 0 ⭐ | 368 👁️ | Never ⏰ | []
C# |

290 B

|

None

|

0 👍

/

0 👎

// Copy line by line. This can happen if the image width is not divisible by four
                for (int i = 0; i < bitmap.Height; ++i)
                {
                    Marshal.Copy(buffer, i * imageStride, new IntPtr(ptrBmp.ToInt64() + i * bmpData.Stride), width);
                }

Comments