WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED INVALID
68775
-webkit-optimize-contrast: a need of behaviour rethought?
https://bugs.webkit.org/show_bug.cgi?id=68775
Summary
-webkit-optimize-contrast: a need of behaviour rethought?
asiekierka
Reported
2011-09-25 06:59:25 PDT
I've been trying to develop a website using -webkit-optimize-contrast for nearest-neighbour scaling, and I noticed a major behavioural difference: Firefox (and possibly IE): Changing the scaling to nearest-neighbour affects the image with any width and height, and zooming the page in/out also uses nearest-neighbour. WebKit (in this case, Chromium 13 with WebKit 535.1 and Google Chrome 15 with WebKit 535.2): Changing the scaling to nearest-neighbour requires you to specify the width and height EXPLICITLY, on top of that zooming the page in/out keeps using bilinear/whatever is default. My question is, as this brings a lot of confusion: Why was this behaviour chosen? And, if there is no good reason, is there a chance this could be changed? Example:
http://i.imgur.com/3dvyF.png
Attachments
Add attachment
proposed patch, testcase, etc.
asiekierka
Comment 1
2011-09-25 07:10:03 PDT
(Note:
http://guyspin.64pixels.org
is a test site. It upscales images from 40x56 to 80x112. The screenshots are a result of visiting that site and zooming it in.)
asiekierka
Comment 2
2011-09-25 07:22:49 PDT
(In reply to
comment #1
)
> (Note:
http://guyspin.64pixels.org
is a test site. It upscales images from 40x56 to 80x112. The screenshots are a result of visiting that site and zooming it in.)
Dammit! I forgot that the images ARE already 80x112, so the normal upscaling is pretty much useless.
asiekierka
Comment 3
2011-09-25 07:23:12 PDT
(In reply to
comment #2
)
> (In reply to
comment #1
) > > (Note:
http://guyspin.64pixels.org
is a test site. It upscales images from 40x56 to 80x112. The screenshots are a result of visiting that site and zooming it in.) > > Dammit! I forgot that the images ARE already 80x112, so the normal upscaling is pretty much useless.
Set the bug as INVALID as the non-crisp edges are merely an aestethic thing.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug