Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

media scaling incorrectly, even local images opened in a tab

  • 1 个回答
  • 0 人有此问题
  • 1 次查看
  • 最后回复者为 Farfie

more options

All images, webm, gif etc. are loading, seemingly, exactly 20% upscaled compared to the real resolution of the media. I'm using a 4k TV (S95B), but I have desktop scaling at 100%, and browser scaling at 100%. I don't believe it's a GPU or OS system wide type setting because windows photo viewer gets pictures right. I'm using ShareX to measure the pixels of pictures. I can even load a local picture in a tab, and it will be upscaled beyond its native resolution. I have no idea why. I've tried a bunch of things, like setting layout.css.devPixelsPerPx to 1.0, which did nothing. I've reset Firefox to no avail, and I have noticed that Chrome is doing the same thing, which would usually indicate it could be the OS or GPU driver, but again, other apps load images perfectly normally. Do apps have categories on Windows now, where something like a "browser" can be told to treat media files differently than other media handling categories? I'm really lost at this point, nothing seems to work.

All images, webm, gif etc. are loading, seemingly, exactly 20% upscaled compared to the real resolution of the media. I'm using a 4k TV (S95B), but I have desktop scaling at 100%, and browser scaling at 100%. I don't believe it's a GPU or OS system wide type setting because windows photo viewer gets pictures right. I'm using ShareX to measure the pixels of pictures. I can even load a local picture in a tab, and it will be upscaled beyond its native resolution. I have no idea why. I've tried a bunch of things, like setting layout.css.devPixelsPerPx to 1.0, which did nothing. I've reset Firefox to no avail, and I have noticed that Chrome is doing the same thing, which would usually indicate it could be the OS or GPU driver, but again, other apps load images perfectly normally. Do apps have categories on Windows now, where something like a "browser" can be told to treat media files differently than other media handling categories? I'm really lost at this point, nothing seems to work.

被采纳的解决方案

Upon deeper search, I discovered that the Windows option "Accessibility > Text Size" is effecting much more than just text. It is upscaling my images across many different applications, including browsers, but also things like Mozilla Thunderbird. Really, who knows what else it's scaling up.

I have since set it to 100% and images are now scaled appropriately. I will also submit feedback to Windows that this is occurring.

Thanks for your response.

定位到答案原位置 👍 1

所有回复 (1)

more options

选择的解决方案

Upon deeper search, I discovered that the Windows option "Accessibility > Text Size" is effecting much more than just text. It is upscaling my images across many different applications, including browsers, but also things like Mozilla Thunderbird. Really, who knows what else it's scaling up.

I have since set it to 100% and images are now scaled appropriately. I will also submit feedback to Windows that this is occurring.

Thanks for your response.