Skip to content

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.

2 participants