Bartosz Kosiorek (@gang65) commented about dlls/gdiplus/image.c:
if (src_value)*dst++ = 0;else*dst++ |= 0xff000000;}dst_row += lockeddata.Stride;}
DeleteObject(iinfo.hbmColor);
DeleteObject(iinfo.hbmMask);
if (color_scanlines <= 0 || mask_scanlines <= 0)
{ heap_free(bits);
GdipBitmapUnlockBits(*bitmap, &lockeddata);GdipDisposeImage(&(*bitmap)->image);return GenericError;
Could you verify what kind of error (if any) is returned in test case?