Answer the question
In order to leave comments, you need to log in
How to make filters (brightness and contrast) for images in ie9?
Given: ie9, a picture on which you need to hang contrast and brightness filters, which will then be adjusted by the slider
Question: How can these two filters be made to work correctly in ie9 (brightness could both darken and highlight the picture)?
ps
(canvas is not an option, js libraries like raphael are also not an option - very heavy, ancient filters ie - filter:progid:.... - do not have brightness and contrast settings, vml has no filters of its own - only through css you can hang, svg does not work properly)
Answer the question
In order to leave comments, you need to log in
I am a very careless person. With the help of vml, you can just create such filters.
VML embosscolor - Color used to display the picture when doing an embossed shadow.
VML gain - Picture contrast setting.
VML blacklevel - Picture brightness setting.
VML gamma - Picture gamma setting.
VML grayscale - Display picture in grayscale.
( w3.org )
<html xmlns:v="urn:schemas-microsoft-com:vml">
<v:shape class="invert"
coordorigin="0 0" coordsize="200 200"
style="top:1;left:1;width:300;height:200"
path="m 1,1 l 1,200, 200,200, 200,1 x e">
<v:imagedata blacklevel="2.0" gain="0.4" src="http://lh3.ggpht.com/_vScVCDhZ52k/Srd_TlwNwKI/AAAAAAAAGAM/zqd4fKXfy2Y/s800/22093-fullsize.jpg"/>
</v:shape>
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question