Crisp up-scaled images for displays with 150% DPI scale factor (Firefox 74+)

Prevents blurry anti-aliased borders between picture sampling areas ("pixels").

目前为 2020-06-17 提交的版本。查看 最新版本

作者
myf
评分
0 0 0
版本
1.0.1
创建于
2020-06-17
更新于
2020-06-17
大小
8.3 KB
许可证
CC0 - Public Domain
适用于

!! This style makes sense only for displays with DPI zoom factor set to 150% !!

If you have such display (be it for it's higher physical device pixel density or just wanted to scale up entire graphical user interface) then it is quite impossible to enjoy pixel-art as decently crisp natural squared mosaic, because web content by definition is operated in "virtual pixel" dimension, what then does not fit to physical display points. This style scales image views (images opened directly) back so they should fit to physical display points again.

While this style could operate as global, since it is quite scary it is by restricted to *.gif and *.png URLS only. That means it won't work for images served without suffix. Alter or remove `@-moz-document` definition if you need to remove this restriction.

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址