-
Notifications
You must be signed in to change notification settings - Fork 42
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
Add option for JPEG screenshots #233
Comments
Why don't we default to jpeg? Any objection to that using it on the Uptime UI vs the current png type? |
@paulb-elastic raised the point that visual diffs, if we choose to use them in the future, don't tend to work as well with jpeg. I'd be inclined to just switch to jpeg for now however, and move to PNG later if we can find value there. |
Yeah i get the visual diff behaviour, but we are not there yet and if we right now aim for the storage space, then jpeg with quality 80 default would be the right choice and would work great for both thumbnail and our full picture in the Uptime UI. |
I’m ok changing this to be the default. Will there be any changes needed to Uptime to support the different format? Similarly, I would suggest Uptime needs to be able to automatically handle PNG and/or JPEG automatically, for if we do add a PNG option to Synthetics in the future for higher fidelity screenshots for features like visual comparisons. |
@paulb-elastic let's do a local change and test it, IIRC we didn't hard code the MIME type, and send it with each request, so we should be good. |
@andrewvc do we updated the JPEG code officially? or any option to do in configuration files? |
For those who are space conscious JPEG screenshots would be welcome as a CLI option. We would need to add a corresponding heartbeat option.
The text was updated successfully, but these errors were encountered: