Forums
View unanswered posts | View active topics It is currently Thu Dec 14, 2017 8:34 pm



Reply to topic  [ 1 post ] 
 Image with rounded corners and grayscale filter 
Author Message

Joined: Wed Jul 20, 2011 8:10 am
Posts: 1
Post Image with rounded corners and grayscale filter
I'm wondering if anyone has a solution to use IE filters to make an image grayscale and combine this with PIE to round the corners of the image.

I am using this to turn the image grayscale:

Code:
img {
  -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(grayscale=1)";
  filter: progid:DXImageTransform.Microsoft.BasicImage(grayscale=1);
}


which works fine, alone but when I apply PIE to the image and give it rounded corners the filters above are ignored. The image does have rounded corners but is in color again.

Is there a workaround to achieve the best of both worlds or must I only have my cake but not eat it...

Thanks in advance for your help!


Wed Jul 20, 2011 8:15 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 1 post ] 

Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.