Peter
How are you setting up the "Stride" in your BitmapData Class when defining
your bitmap data?
If the pixel data is stored bottom-up, the Stride data member is negative.
If the pixel data is stored top-down, the Stride data member is positive.
-Greg
Microsoft Developer Support
This posting is provided “AS IS” with no warranties, and confers no rights.
I tried that but it causes an exception: Access Violation in GDIPLUS.DLL!
GdipCreateBitmapFromScan0 + 9497 bytes.
I'm preallocating the buffer and everything works fine (only upside down)
when Stride is positive.
Any suggestions?
Thanks,
Peter
"Greg Binkerd [MS]" <GregB...@Microsoft.com> wrote in message
news:ZmdS6kv...@cppssbbsa01.microsoft.com...
I don't know if this is the problem in your case. Let me know.
Thanks,
Thanks,
Peter
"Greg Binkerd [MS]" <GregB...@Microsoft.com> wrote in message
news:Xvw6OfT...@cppssbbsa01.microsoft.com...