View Full Version : watermarking

09-12-2004, 07:34 PM
i was using this script i found from sitepoint to watermark images: http://www.sitepoint.com/article/watermark-images-php

i managed to get it to work, but the watermark i used, even though it had a transparent background, ended up writing over the image with a white background...

the images i used are
and the result was

does anyone have any suggestions? thanks...

09-13-2004, 07:34 AM
I would say double check the original png and be sure. I've had trouble with transparency and png's before.

09-13-2004, 07:55 AM
I don't think that jpegs support transparency. Unless your script is somehow merging the pixels for you I think you'll have to use a program like photoshop to drop the transparent image on top of your photo and then export the image as a jpeg.

09-13-2004, 07:57 AM
yeah, i did test it out to make sure i didn't screw it up somehow, and the image is transparent... hmm.. i would think there would be some way to keep the transparency though without doing it by hand...

09-13-2004, 05:27 PM
jpeg does not support transparency but png and gif do.