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
scale-factor-aware screenshot #114
Comments
|
Just take a bigger screenshot size or scale up a smaller one? |
|
If you're on an HiDPI device, you'll see that the first screenshot is blurry when the second one is perfect |
|
@hughsie What do you think in terms of bloat vs. usefulness? Adding scaling will - if we do it in a compatible way which we obviously should - mess up any SC that encounters it and doesn't use a recent enough version of AppStream that supports this feature (we did this in the past though). In terms of space, the screenshots will consume a bit more on AppStream data servers, which shouldn't be an issue. All in all, I don't see that many drawbacks to this, except that the number of projects that will supply scaled screenshots is likely really small (but that's okay, as long as Elementary uses this ^^). A simple Another thing wonder about is whether we should go all the way and also think about a |
|
I think @2 makes sense, as does |
|
That would be great to have, especially as high DPI screens are less and less rare, and even more since we have appstream-powered phones which all use scale 2. |
|
Having an integer |
|
@ximion generally the way that works on the web (and possibly even in GTK?) is that the next-highest integer image would be loaded and then scaled by the toolkit/browser/etc. So as long as you support integers in the spec, clients should be able to do what they need with non-integers. (Since partial pixels don't exist, I don't think it's reasonable to try and support non-integer images anyway; it would generally look the same as the 2× image scaled down to 1.83254× |


As it is the case with icons, we should take care of
@2screenshots in order to get better looking descriptionsThe text was updated successfully, but these errors were encountered: