manykarim / robotframework-doctestlibrary

Robot Framework DocTest library. Simple Automated Visual Document Testing.
Apache License 2.0
48 stars 21 forks source link

Deprecation messages / warnings when comparing 2 files #23

Closed UliSei closed 2 years ago

UliSei commented 2 years ago

Test with lib version pre (develop) 1) Compare of 2 pdf files leads to messages: "Deprecation: 'getPixmap' removed from class 'Page' after v1.19.0 - use 'get_pixmap'. Deprecation: 'getImageData' removed from class 'Pixmap' after v1.19.0 - use 'tobytes'." The compare is executed however. Seems to be just a warning (?)

2) Compare of 2 png files leads to messages: "libpng warning: iCCP: known incorrect sRGB profile libpng warning: iCCP: known incorrect sRGB profile"

3) Compare of 2 jpg files leads to no warnings.

grafik log.html.txt

-> the messages / warnings don't have any functional impact?

manykarim commented 2 years ago

Thanks a lot @UliSei !! I will include those fixes for the upcoming 0.2.0 Release. Would it please be possible to provide me the .png files for 2) ? (either here or via eMail)

UliSei commented 2 years ago

Done - eMail with 9.4MB attachment.

manykarim commented 2 years ago

Warnings about Deprecation have been fixed. I updated to the new function names in the 0.2.0 release.

manykarim commented 2 years ago

As 0.2.0 has just been released, I will close this issue. As some warnings were coming from libpng and don't affect the functionality I will investigate later