[PATCH 0/2] gdiplus: Small DrawImage() resampling fixes.

Nikolay Sivov bunglehead at gmail.com
Sun Mar 24 10:54:53 CDT 2019


On Sun, Mar 24, 2019 at 5:49 PM Jan Havran <havran.jan at email.cz> wrote:

> Hello Wine community, this is my first Wine patch.
>
> This series fixes some drawing of GDI+ DrawImage() where resampling was
> applied.
> I tried to write some unit tests, but it turned out that there is no simple
> and effective way how to catch all differences between native gdiplus
> library
> and Wine lib (without putting significant part of DrawImage() into tests
> file).
> At least I wrote relative complex standalone tests for my own testing where
> I was comparing every pixel drawn by buildin and native lib, and I am
> pretty sure this series fixes mentioned issues without breaking anything
> else.
>
> There are much more drawing issues I noticed so far, but for some I do not
> know to
> fix them without breaking other stuff, for some issues I know what caused
> them, but
> I do not know how to fix them, and for some for I have no idea why are
> they appearing.
> But I will keep testing.
>
> Jan Havran (2):
>   gdiplus: Fix rounding dst_area borders for GdipDrawImagePointsRect().
>   gdiplus: Fix resample offset for nearest neighbor interpolation.
>
>  dlls/gdiplus/graphics.c | 46 ++++++++++++++++++++++++++++++++++-------
>  1 file changed, 38 insertions(+), 8 deletions(-)
>

Hi, Jan.

Could you open a bug report for that, and attach before/after images there
that show artifacts?


>
> --
> 2.21.0
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20190324/a2f84abd/attachment.html>


More information about the wine-devel mailing list