• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2628
  • Last Modified:

Saturation

Hi,

is it possible to change the saturation of an image, using CSS? I understand that such an effect will not be very compatible - but I don't mind.

I'm just after something that would work in IE.

Thanks.
0
InteractiveMind
Asked:
InteractiveMind
  • 2
  • 2
1 Solution
 
LakioCommented:
.5 = 50% , .7 = 70% and so on

<img src="http://www.experts-exchange.com/images/expertAwards2006Button.gif" style="filter: progid:DXImageTransform.Microsoft.BasicImage(opacity=.5);">
0
 
InteractiveMindAuthor Commented:
That seems to be opacity, and not saturation.
0
 
LakioCommented:
well I dont see that css can do that with css
but maybe PHP? I just dont know, this is something http://php.amnuts.com/index.php?do=view&id=16
0
 
mreuringCommented:
Using Lakio's setup and this overview of filters: http://msdn.microsoft.com/library/default.asp?url=/workshop/author/filter/reference/reference.asp
brings me to the conclusion that what you ask is impossible. The BasicImage Filter can do a load of effects, like grayscale, colormasks, opacity and even rotation, but not saturation.
0
 
InteractiveMindAuthor Commented:
A grayscale effect is what I'm actually trying to achieve... :)
filter:progid:DXImageTransform.Microsoft.BasicImage(grayScale=1)

Thanks !
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now