GdipBitmapLockBits assume bitmap is always top-down (positive stride), but it may not always true, wine's gdiplus give a bottom-up one. I suggest checking stride in DATA,
  z=. |.^:(s<0) (h,w)$memr p,((s<0)*_4*w*h),(w*h),JINT

Also wine does not accept null pointer for rect in GdipBitmapLockBits, so you may consider pass a valid rect structure to it by first calling GdipGetImageWidth and GdipGetImageHeight.

I did not try but I think the current platimg will not run under win-x64.

regards,
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to