Bartosz Kosiorek (@gang65) commented about dlls/gdiplus/tests/image.c:
{ 0.8, PixelOffsetModeHalf, image_080 }, /* 14 */ { 1.0, PixelOffsetModeHalf, image_100 }, - { 1.2, PixelOffsetModeHalf, image_120_half, TRUE }, + { 1.2, PixelOffsetModeHalf, image_120_half }, { 1.5, PixelOffsetModeHalf, image_150_half, TRUE }, - { 1.8, PixelOffsetModeHalf, image_180_half, TRUE }, - { 2.0, PixelOffsetModeHalf, image_200_half, TRUE }, + { 1.8, PixelOffsetModeHalf, image_180_half }, + { 2.0, PixelOffsetModeHalf, image_200_half }, { 2.5, PixelOffsetModeHalf, image_250_half, TRUE },
The colours of the HALF image is perfectly fine. What still needs to improvement is destination area calculation. Destination area for Half pixel offset should use `Rounding half down` instead of current `Rounding half up`. I will do that in separate Merge Request, to easier understand it. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/3871#note_45680