[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

Changing Image Transparency color (HTML/JavaScript/VbScript)

Posted on 2003-11-16
4
Medium Priority
?
2,378 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
4 Comments
 
LVL 53

Accepted Solution

by:
COBOLdinosaur earned 500 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

Introduction Knockoutjs (Knockout) is a JavaScript framework (Model View ViewModel or MVVM framework).   The main ideology behind Knockout is to control from JavaScript how a page looks whilst creating an engaging user experience in the least …
Originally, this post was published on Monitis Blog, you can check it here . In business circles, we sometimes hear that today is the “age of the customer.” And so it is. Thanks to the enormous advances over the past few years in consumer techno…
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 the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.
Suggested Courses

650 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