ShattenReyze - Forum

Public => General Discussion => : abstauber April 18, 2011, 11:26:58 AM



: Crisp pixel art in Firefox 3+
: abstauber April 18, 2011, 11:26:58 AM
I keep forgetting how to disable bilinear filtering in Firefox, so that all zoomed images don't appear blurry anymore.

Here's the fix (more as a memo to myself ;) )

* open the url "about:support"

* Click on "open profile folder" (or whatever it is called in your locale)

* Open the folder called "chrome" inside that profile folder, or create it, if it isn't there.

* create a file called "userContent.css" and put this in:

:
img[src$=".gif"] { image-rendering: -moz-crisp-edges; -ms-interpolation-mode: nearest-neighbor; }
img[src$=".png"] { image-rendering: -moz-crisp-edges; -ms-interpolation-mode: nearest-neighbor; }

Voilá


Sorry, the copyright must be in the template.
Please notify this forum's administrator that this site is missing the copyright message for SMF so they can rectify the situation. Display of copyright is a legal requirement. For more information on this please visit the Simple Machines website.