Link to home
Start Free TrialLog in
Avatar of variant7
variant7

asked on

Changing Image Transparency color (HTML/JavaScript/VbScript)

Hi

My scenario :
1. I have an HTML page ( resides within a Internet Browser Control in VC++ application).
2. In the HTML I dynamically embed images (IE - client side only).
3. Some of the images come from another device in which transparency pixels are denoted by the magenta (#FF00FF) color.
4. 1+2+3 = The result looks kinda nasty...

My insights :
1. I need to change the color by which IE indexes transparency.
2. The most obvious solution will be to use IE's filters.
3. I could not find any filter that performs that trick.
4. There is one filter "ICMFilter" that can change color profiles on a specific IMG, but I couldn't understand if/how I can use it to change transparency behaviour.
5. As this whole Scenario runs on a controlled environment, is is possible to add a custom filter that CAN do that trick.

I would love to hear any comments to my Insights and maybe some other methods I couldn't think of.

Thanks A LOT


p.s At the moment i have only the initial 125 points. If I will recieve a good solution I will buy extra points and award another 500 pts.
ASKER CERTIFIED SOLUTION
Avatar of COBOLdinosaur
COBOLdinosaur
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
BTW,

If that solves it, there is no need for additional points.  125 seems appropriate for the level of difficulty.

Cd&
Avatar of variant7
variant7

ASKER

Thanx Cd& !

That solved it. for some reason I skipped that filter when reviewing it, guessed it had to do something with a Chrome effect. :-)

Ilan
Glad I could help.  Thanks for the A. :^)

Cd&