The Spriters Resource Community
SearchMember ListCalendarHelp Hello There, Guest! LoginRegister



The Spriters Resource Community » Main Stuff » Site Discussion
A small fix for the blur in zoomed images

User(s) Viewing This Thread: 1 Guest(s)
Post Reply 
Threaded Mode | Linear Mode
A small fix for the blur in zoomed images
Author Message
DigiTamer Metaru Offline
More Contrast, more!
***

Posts: 1,353
Joined: Apr 2009
Reputation: 28
3rd Place1st Place
Post: #1
A small fix for the blur in zoomed images
in Firefox 3, of course.

copied from PJ:
Quote:As of the official implementation of Gecko version 1.9.2, there will be a tag implemented that chooses the resizing algorithm used on a page, allowing you to choose between Nearest Neighbor (direct resize, no blur), Bilinear Filtering (low quality blur, which is currently used), or Bicubic Blur (high quality blur, what photoshop uses). Meaning that we'll no longer have blurry pixel art when we resize.

https://developer.mozilla.org/En/CSS/image-rendering

This is the official documentation. It'll be stuck in along with HTML 5, meaning that you can probably try out the new tags in the current Firefox 3.5 beta.

The tags to be added into the CSS styles are as follows:

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; }

For an invidual image you'd use this code (can be factored into the BBcodes in the forum, and the display for individual images on the site):

<img style="-ms-interpolation-mode:nearest-neighbor" alt="images/WhateverAlt.jpg" src="images/Whatever.jpg"/>

The code will be fully implemented in Firefox 3.5, but as mentioned above, you can try it out now in the beta version.
is it posible to add said lines of code to TSR?

[Image: 8b6907be347782d89b25ae997ae5f17f.gif]
[Image: fawmrr5.gif]
06-15-2009 04:37 PM
Find all posts by this user Quote this message in a reply
Thanked by
K.D. Offline
Administrator
Administrators

Posts: 94
Joined: Aug 2008
Reputation: 12
Post: #2
RE: A small fix for the blur in zoomed images
Interesting. This only affects Gecko 1.9.2+, though. Meaning it won't apply to Firefox 3.5 when it comes out soon.

It will only apply to Firefox 3.6 (1.9.2), which is planned for 2010.
06-15-2009 05:23 PM
Find all posts by this user Quote this message in a reply
Thanked by
MrLollige Offline
Junior Member
*

Posts: 2
Joined: Nov 2009
Reputation: 0
Post: #3
RE: A small fix for the blur in zoomed images
(06-15-2009 05:23 PM)K.D. Wrote:  Interesting. This only affects Gecko 1.9.2+, though. Meaning it won't apply to Firefox 3.5 when it comes out soon.

It will only apply to Firefox 3.6 (1.9.2), which is planned for 2010.

Sorry for bumping such an old thread, but it is always better to post in existing ones than making new ones Wink

Anyway, firefox 3.6 is available for alpha testing. You can find all information on how to download it and how to prevent the zoom blur in all images here

Good luck fixing your browser!
(This post was last modified: 11-05-2009 10:22 AM by MrLollige.)
11-04-2009 01:51 PM
Find all posts by this user Quote this message in a reply
Thanked by
Ngamer01 Offline
RAWR!
**

Posts: 406
Joined: May 2008
Reputation: 15
Post: #4
RE: A small fix for the blur in zoomed images
(11-04-2009 01:51 PM)MrLollige Wrote:  Anyway, firefox 3.6 is available for alpha testing.

Wrong. Firefox 3.6 is in beta now.

(11-04-2009 01:51 PM)MrLollige Wrote:  Good luck fixing your browser!

Um. What?

tSR doesn't have to do anything with Firefox 3.6 right now. tSR isn't even involved with Firefox development.

You want Mozilla for Firefox related stuff.

[Image: SIG039.png]
Ngamer01's Portal
11-05-2009 05:25 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Thanked by
MrLollige Offline
Junior Member
*

Posts: 2
Joined: Nov 2009
Reputation: 0
Post: #5
RE: A small fix for the blur in zoomed images
Whoops, you are right about the 3.6 in beta now! That was news for me Tongue
However, in the beta this does not work! I just tested, and I don't know why, but in the alpha version it works just fine. So you still better download that alpha version!

And with fixing your browser I meant making sure that your images don't get blurred anymore.
(This post was last modified: 11-06-2009 08:37 AM by MrLollige.)
11-06-2009 08:18 AM
Find all posts by this user Quote this message in a reply
Thanked by
« Next Oldest | Next Newest »
Post Reply 


  • View a Printable Version
  • Send this Thread to a Friend
  • Subscribe to this thread
Forum Jump:

Contact UsThe Spriters ResourceReturn to TopReturn to ContentLite (Archive) ModeRSS Syndication

Current time: 11-21-2009, 12:50 PM Powered By MyBB, © 2002-2009 MyBB Group. Theme created by Justin S.