I use the code at the of this message to add a copyright text ( watermark )
on image printing.
I would like to have a text Opacity at 30%.
On print preview and normal view all is ok , but when I print the image the
copyright text has the background and opacity at 100%. ( so it covers my
image ).
I've tried also with AlphaImageLoader (.copyImg class) but the result is the
same.
So ... how can I print a image with a "watermark" one th background ?
Any ideas ?
Thanks in advance
<head>
<style>
img.diagram{
position:absolute;
top:0;
left:0;
}
..copy{
position:absolute;
top:30;left:30;width:200;height:30;
color:gray;
font-family:Verdana;
font-size:30;
/*filter:alpha(opacity=40);*/
filter:progid:DXImageTransform.Microsoft.BasicImag e(Rotation=0,Mirror=0,Inve
rt=0,XRay=0,Grayscale=0,Opacity=0.30);
}
..copyImg{
position:absolute;
top:70;left:30;width:200;height:30;
filter:progid:DXImageTransform.Microsoft.AlphaImag eLoader(src='copy.png',
sizingMethod='scale');"
}
</style>
<head>
<body>
<img src="imageToProtect.png" class="diagram" >
<div src="copy.png" class="copyImg" ></div>
<div> My copyright ® </div>
</body>