Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libpng warning on linux #7

Closed
capaximperii opened this issue Apr 11, 2016 · 4 comments
Closed

libpng warning on linux #7

capaximperii opened this issue Apr 11, 2016 · 4 comments
Assignees
Labels

Comments

@capaximperii
Copy link

I have been using mss as the engine behind gui automation for linux in conjunction with visgrep and on some systems i get the following error.
libpng warning: Ignoring bad adaptive filter type
Then on systems with composite window managers, there is a bug as documented here:
https://bugs.launchpad.net/unity-2d/+bug/1081674

Is there a way to be able to capture the screen as i see it, without it rasterizing transparent layers that X windows seems to be introducing into the screenshot that is messing with the pattern matching.

@BoboTiG
Copy link
Owner

BoboTiG commented Apr 11, 2016

Thank you for the report capaximperii, I will check ASAP :)

@BoboTiG
Copy link
Owner

BoboTiG commented Apr 24, 2016

I pushed an update to pip to solve the "bad adaptative filter". It seems to resolve the issue.

Could you open a second issue for the other problem (with all informations needed as the OS version, Python version and whatever you think good)?

@capaximperii
Copy link
Author

Thank you, i have merged it with AutomationFramework Command line. I will try to gather more information as the fix trickles down to people that use it. I really appreciate this library and how well it fits with my linux automation testing effort.

@capaximperii
Copy link
Author

One of the problem systems with a custom built Linux-Gnome OS, now works fine with the fix.

BoboTiG pushed a commit that referenced this issue Apr 27, 2016
- Fix PNG scanlines creation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants