Pixelation

General => General Discussion => Topic started by: Sly on June 18, 2010, 02:04:34 pm

Title: The Push for Pixel Safe Zoom
Post by: Sly on June 18, 2010, 02:04:34 pm
Tired of smooth scaling in today's browsers? Well you can help with the push for browser wide support for custom interpolation modes.

A few browsers already support this:

Firefox 3.6+ (and its derivatives) using:

image-rendering: -moz-crisp-edges;

Internet Explorer using this:

-ms-interpolation-mode: nearest-neighbor;

Only browsers left are Chrome, Safari, and possibly Opera. (Not sure if Opera already supports this.)

Good thing is that Chrome and Safari both run on the webkit browser and with the upcoming CSS3 standards this is
chance to get something like this implemented.

I can't wait to see something like this:

image-rendering: -webkit-crisp-edges;
-webkit-interpolation-mode: nearest-neighbor;

Support the push here:

http://code.google.com/p/chromium/issues/detail?id=1502
Title: Re: The Push for Pixel Safe Zoom
Post by: st0ven on June 19, 2010, 09:21:15 pm
Awesome Sly, I was actually just researching this last week before i read this post, and stumbled upon that bug report for chromium as well. It appears that they feel it was more of a webkit core issue rather than a chrome extension issue, and took their advice and submitted a bug report to webkit for this as well. I had done a search to see if anyone else brought this issue up but there are a lot of marked bugs so its hard to sift through them all.

https://bugs.webkit.org/show_bug.cgi?id=40881 (https://bugs.webkit.org/show_bug.cgi?id=40881)

Hopefully there is a positive response.

Title: Re: The Push for Pixel Safe Zoom
Post by: Sly on June 19, 2010, 10:36:35 pm
Thank you for that St0ven.

I hope we get some feedback as well.

I'm not a programmer but this seems like a very straight forward and easy task to add in. I don't think there would be any complications.

Basically they would set it as it is and when it detects the browser specific css code it renders in the css suggested filter.


Title: Re: The Push for Pixel Safe Zoom
Post by: Mathias on June 21, 2010, 03:22:19 am
I posted for support of the feature. Thanks for posting.