HighDots Forums  

Watermarks printing

Cascading Style Sheets Layout/presentation on the WWW (comp.infosystems.www.authoring.stylesheets)


Discuss Watermarks printing in the Cascading Style Sheets forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Michele
 
Posts: n/a

Default Watermarks printing - 12-14-2005 , 02:54 AM






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);*/

filterrogidXImageTransform.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;

filterrogidXImageTransform.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>



Reply With Quote
  #2  
Old   
Spartanicus
 
Posts: n/a

Default Re: Watermarks printing - 12-14-2005 , 03:16 AM






"Michele" <mtonon (AT) texa (DOT) it> wrote:

Quote:
So ... how can I print a image with a "watermark" one th background ?
Add the watermark to every image with an image editor.

--
Spartanicus


Reply With Quote
  #3  
Old   
Michele
 
Posts: n/a

Default Re: Watermarks printing - 12-14-2005 , 06:44 AM



Ok ... the problem is that I've to add the watermarks on the fly ,
dinamically ( on client side ) , without modifing the original images, for
printing only.


"Spartanicus" <invalid (AT) invalid (DOT) invalid> ha scritto nel messaggio
news:kkovp1hbh889jp95jgonbavnqhogam5cfd (AT) news (DOT) spartanicus.utvinternet.ie...
Quote:
"Michele" <mtonon (AT) texa (DOT) it> wrote:

So ... how can I print a image with a "watermark" one th background ?

Add the watermark to every image with an image editor.

--
Spartanicus



Reply With Quote
  #4  
Old   
Spartanicus
 
Posts: n/a

Default Re: Watermarks printing - 12-14-2005 , 07:14 AM



Please do not top post, and remove sigs manually if your method of
posting doesn't do that for you, corrected this once.

"Michele" <mtonon (AT) texa (DOT) it> wrote:

Quote:
So ... how can I print a image with a "watermark" one th background ?

Add the watermark to every image with an image editor.

Ok ... the problem is that I've to add the watermarks on the fly ,
dinamically ( on client side ) , without modifing the original images, for
printing only.
http://homepage.ntlworld.ie/spartanicus/temp.htm

Won't work if a user opens the image separately.

--
Spartanicus


Reply With Quote
  #5  
Old   
levski
 
Posts: n/a

Default Re: Watermarks printing - 12-15-2005 , 02:14 AM



In article <wfbqzjn6vv.fsf (AT) calligramme (DOT) cl.cam.ac.uk>, Jón Fairbairn
<jon.fairbairn (AT) cl (DOT) cam.ac.uk> wrote:

Quote:
"Michele" <mtonon (AT) texa (DOT) it> writes:
"Spartanicus" <invalid (AT) invalid (DOT) invalid> ha scritto nel messaggio
news:kkovp1hbh889jp95jgonbavnqhogam5cfd (AT) news (DOT) spartanicus.utvinternet.ie...
"Michele" <mtonon (AT) texa (DOT) it> wrote:

So ... how can I print a image with a "watermark" one th background ?

Add the watermark to every image with an image editor.

Ok ... the problem is that I've to add the watermarks on
the fly , dinamically ( on client side ) , without
modifing the original images, for printing only.

Given that the client can turn off or replace stylesheets,
surely this is pointless?
use server-side scripting, like PHP with GD


Reply With Quote
  #6  
Old   
Jasen Betts
 
Posts: n/a

Default Re: Watermarks printing - 12-17-2005 , 06:56 PM



On 2005-12-14, Michele <mtonon (AT) texa (DOT) it> wrote:
Quote:
Ok ... the problem is that I've to add the watermarks on the fly ,
dinamically ( on client side ) , without modifing the original images, for
printing only.
what is the purpose of the watermark?
if you are serving unmarked images people will be able to print them.
(eg by selecting view image, or putting the images URL in the location
field...)

if you are trying to protect your intellectual property you must serve
marked images, this can be done on the fly at the server side

As for hiding the mark in the print preview - what are you hoping to
gain by doing that?



--

Bye.
Jasen


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.