Fmdpa Posted August 19, 2010 Share Posted August 19, 2010 Can I run an image through a function that applies a watermark (from a PNG image) on the specified image at certain coordinates (even lower-right would work), and 2.), saves the watermarked image? Link to comment Share on other sites More sharing options...
justsomeguy Posted August 19, 2010 Share Posted August 19, 2010 You can use imagecopyresampled to copy part of one image to another one, so you can copy a transparent PNG image with a partially transparent watermark to another image. There are several examples online of saving PNG images with alpha transparency. I haven't actually copied a transparent image over another one, but I imagine that's how it would be done. Link to comment Share on other sites More sharing options...
Fmdpa Posted August 20, 2010 Author Share Posted August 20, 2010 Here is some code I found on bg.php.net. Does almost exactly what I wanted. I just needed to make a few modifications and it's cool. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.