Solved

Changing Image Transparency color (HTML/JavaScript/VbScript)

Posted on 2003-11-16
4
2,370 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
ID: 9759300
try:
<style>
body {filter: chroma (color=#ff00ff); }
</style>

In the head of the page.

Cd&
0
 
LVL 53

Expert Comment

by:COBOLdinosaur
ID: 9759341
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
ID: 9762023
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
ID: 9763799
Glad I could help.  Thanks for the A. :^)

Cd&
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

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…
Shoutout to Emily Plummer (http://www.experts-exchange.com/members/eplummer26.html) for giving me this article! She did most of it, I just finished it up and posted it for her :)    Introduction In a previous article (http://www.experts-exchang…
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

947 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

21 Experts available now in Live!

Get 1:1 Help Now