-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Screenshot changes to support more image types #5108
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
base: master
Are you sure you want to change the base?
Screenshot changes to support more image types #5108
Conversation
…nshots in formats other than jpg;
… for non-jpg image formats;
@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). |
It's pretty much impossible to review the PR because the whole Screenshot.py file has changed. Have you possibly changed line endings? |
@pekkaklarck Sorry about the CRLFs. I got those mixed up in my IDE. Looks to be much cleaner now |
Resolved issues with comparing the right directories;
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;