ShattenReyze - Forum
December 26, 2024, 03:36:28 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Yarrr, revolution!
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Crisp pixel art in Firefox 3+  (Read 10692 times)
abstauber
Administrator
Hero Member
*
Posts: 975



View Profile Email
« on: 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 Wink )

* 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:

Code:
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á
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!