smooth
02-17-2006, 07:54 PM
Im trying to use text watermark on images using GD functions.
I went through a couple of watermarking threads here, but those were mostly like watermarking images on another image. And only one instance of watermarking is done.
I'd like to use text for watermarking. I can set the size & transparency of the text & write to the image directly. Im thinking of using imagettftext function. But this doesnt have transparency as parameter. Any other function would do that? Or is it better to convert text to image & then watermark it using transparency?
Another thing is, I would like to write the text many times on the image, not just once, so that entire image is watermarked. Is there any standard way of doing this?
Or i should do it using a function that starts from pixel 1 of the image & writes the text till the end, then goes to next line and so on? Im doing this for the first time.. any suggestions would be of help!
I went through a couple of watermarking threads here, but those were mostly like watermarking images on another image. And only one instance of watermarking is done.
I'd like to use text for watermarking. I can set the size & transparency of the text & write to the image directly. Im thinking of using imagettftext function. But this doesnt have transparency as parameter. Any other function would do that? Or is it better to convert text to image & then watermark it using transparency?
Another thing is, I would like to write the text many times on the image, not just once, so that entire image is watermarked. Is there any standard way of doing this?
Or i should do it using a function that starts from pixel 1 of the image & writes the text till the end, then goes to next line and so on? Im doing this for the first time.. any suggestions would be of help!