libpng dependency issue

Vincent Povirk madewokherd+8cd9 at
Thu Feb 4 15:40:53 CST 2010

Could you test the attached patch? It builds with libpng 1.2 and seems
to work, but I'd like to verify that it also solves the problems with

If it's not too much trouble, I'd like you to also test the functionality.

There's a program at
that tests the ability to load images. It can be invoked as "wine
imagetest.exe filename.png".

In particular, I'd like to know whether the following two files from
the png test suite ( work:

* - This is a
grayscale png with an alpha channel. That's the situation where we use
the png_set_gray... function that was removed.

* - This is a
broken png file. It will trigger an error. The program should print
"GdipLoadImageFromFile returned 1" when loading this file (rather than
-------------- next part --------------
A non-text attachment was scrubbed...
Name: png14.diff
Type: text/x-patch
Size: 6281 bytes
Desc: not available
URL: <>

More information about the wine-devel mailing list