Solved

Changing Image Transparency color (HTML/JavaScript/VbScript)

Posted on 2003-11-16
4
2,366 Views
Last Modified: 2008-03-10
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.
0
Comment
Question by:variant7
  • 3
4 Comments
 
LVL 53

Accepted Solution

by:
COBOLdinosaur earned 125 total points
Comment Utility
try:
<style>
body {filter: chroma (color=#ff00ff); }
</style>

In the head of the page.

Cd&
0
 
LVL 53

Expert Comment

by:COBOLdinosaur
Comment Utility
BTW,

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

Cd&
0
 
LVL 2

Author Comment

by:variant7
Comment Utility
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
0
 
LVL 53

Expert Comment

by:COBOLdinosaur
Comment Utility
Glad I could help.  Thanks for the A. :^)

Cd&
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Article by: Matthew
I am a very big proponent of technology compliance standards and strive to meet such criteria in all of my work. That includes my site, which is 100% XHTML 1.0 compliant as determined by the World Wide Web Consortium. https://www.matthewstevenkel…
I found this questions asking how to do this in many different forums, so I will describe here how to implement a solution using PHP and AJAX. The logical flow for the problem should be: Write an event handler for the first drop down box to get …
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

6 Experts available now in Live!

Get 1:1 Help Now