Closed Bug 1706818 Opened 4 years ago Closed 4 years ago

PNG images look blurry instead of pixel-perfect

Categories

(Core :: Graphics: ImageLib, enhancement)

Firefox 87
enhancement

Tracking

()

RESOLVED INVALID

People

(Reporter: calsavara.nicolas, Unassigned)

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:87.0) Gecko/20100101 Firefox/87.0

Steps to reproduce:

Open any PNG image. Zoom into it until pixels are quite large.

E.g. https://i.imgur.com/92NW9uO.png

Actual results:

Image looks blurry.

Expected results:

Image should look crisp, with well-defined pixels.

The Bugbug bot thinks this bug should belong to the 'Core::ImageLib' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.

Component: Untriaged → ImageLib
Product: Firefox → Core

You probably want something like style="image-rendering: crisp-edges;" on the image.

(In reply to Timothy Nikkel (:tnikkel) from comment #2)

You probably want something like style="image-rendering: crisp-edges;" on the image.

So it's a CSS thing, not a browser thing? I didn't expect that, thanks for the help. By looking up "crisp edges", I found this https://support.mozilla.org/en-US/questions/1327906, which solved the problem for me. I still think having an override switch in the browser would be a valid addition, as I'm probably not the only one to prefer crispy, pixelated looks to smoothed-out ones.

Closing since it's not a correctness bug. It's unlikely we'll have resources to dedicate to adding a feature like this one.

Status: UNCONFIRMED → RESOLVED
Closed: 4 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: