We help IT Professionals succeed at work.

We've partnered with Certified Experts, Carl Webster and Richard Faulkner, to bring you a podcast all about Citrix Workspace, moving to the cloud, and analytics & intelligence. Episode 2 coming soon!Listen Now

x

Saturation

InteractiveMind
on
Medium Priority
2,651 Views
Last Modified: 2008-02-01
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.
Comment
Watch Question

Commented:
.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);">
Top Expert 2006

Author

Commented:
That seems to be opacity, and not saturation.

Commented:
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
Commented:
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.

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts
Top Expert 2006

Author

Commented:
A grayscale effect is what I'm actually trying to achieve... :)
filter:progid:DXImageTransform.Microsoft.BasicImage(grayScale=1)

Thanks !
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.