Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

Mozilla サポートの検索

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

このスレッドはアーカイブに保管されました。 必要であれば新たに質問してください。

How can you disable image smoothing if firefox?

  • 2 件の返信
  • 1 人がこの問題に困っています
  • 1 回表示
  • 最後の返信者: Super Scooper

more options

Whenever I zoom into images in Firefox (example), the image smoothing makes them look blurry, especially on low resolution images. Is there any way to disable image smoothing of Firefox?

Whenever I zoom into images in Firefox ([https://upload.wikimedia.org/wikipedia/commons/thumb/a/a0/Firefox_logo%2C_2019.svg/87px-Firefox_logo%2C_2019.svg.png example]), the image smoothing makes them look blurry, especially on low resolution images. Is there any way to disable image smoothing of Firefox?

選ばれた解決策

Well, hmm, there isn't a built-in setting for this but if there happens to be a style rule in the page to switch from bilinear scaling ("auto") to nearest neighbor scaling ("crisp-edges") then you'll get a different result. As an example, see the attachment.

The style rule for that is:

img {
  image-rendering: crisp-edges !important;
}

More info on this CSS property: https://developer.mozilla.org/docs/Web/CSS/image-rendering

You can use an extension like Stylus to inject that change into every page, but I don't know whether you want it on every page or only selected pages. ??

この回答をすべて読む 👍 1

すべての返信 (2)

more options

選ばれた解決策

Well, hmm, there isn't a built-in setting for this but if there happens to be a style rule in the page to switch from bilinear scaling ("auto") to nearest neighbor scaling ("crisp-edges") then you'll get a different result. As an example, see the attachment.

The style rule for that is:

img {
  image-rendering: crisp-edges !important;
}

More info on this CSS property: https://developer.mozilla.org/docs/Web/CSS/image-rendering

You can use an extension like Stylus to inject that change into every page, but I don't know whether you want it on every page or only selected pages. ??

more options

jscher2000 said

Well, hmm, there isn't a built-in setting for this but if there happens to be a style rule in the page to switch from bilinear scaling ("auto") to nearest neighbor scaling ("crisp-edges") then you'll get a different result. As an example, see the attachment. The style rule for that is:
img {
  image-rendering: crisp-edges !important;
}

More info on this CSS property: https://developer.mozilla.org/docs/Web/CSS/image-rendering

You can use an extension like Stylus to inject that change into every page, but I don't know whether you want it on every page or only selected pages. ??

I put the code into stylus, and image smoothing is now disabled. I don't know how to make it inject the code in every page, so I just made it apply to any url that starts with "http". All pages have no image smoothing now, thanks!