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

Screenshot changes to support more image types #5108

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

chriscallan
Copy link
Contributor

Modification of the Screenshot/Taker classes to support other image formats than just "jpg"
Implemented support for: jpg, png, tiff, and bmp; although other formats can be supported by extending Screenshot.IMAGE_FORMATS;
Extended test cases to prove out the support for non-jpg types;

@chriscallan
Copy link
Contributor Author

@pekkaklarck looking at the Acceptance test results, the root error appears to be, "Make sure tests are run with a physical or virtual display." Which I experienced on my local env when running tests originally, had to uncomment the "WaylandEnable=false" line inside /etc/gdm3/custom.conf (something about recent changes in Unbuntu).
Is there some other way to handle the above error?

@pekkaklarck
Copy link
Member

It's pretty much impossible to review the PR because the whole Screenshot.py file has changed. Have you possibly changed line endings?

@chriscallan
Copy link
Contributor Author

@pekkaklarck Sorry about the CRLFs. I got those mixed up in my IDE. Looks to be much cleaner now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants