class.upload.php is a powerful and mature PHP class to manage uploaded files, and manipulate images in many ways. The script is available under a GPL license.
I want to sandwich 2 images together almost a watermark application but more like grading an image on the fly, so a water mark the same size as the original with reduced opacity so that image underneath still comes through, is this possible?Reply
It is possible, if the images that you upload always have the same size. If it is the case, create an image watermark.png with these fixed dimensions. Then try something like this:
Note that you can't set the opacity/transparency of the watermark image. However, the watermark can be an alpha-transparent PNG. I use it often; simply create a semi transparent PNG as a watermark. You can have alpha-transparent areas, and fully transparent areas; the uploaded picture will appear underneath.Reply
Note that you can't set the opacity/transparency of the watermark image. However, the watermark can be an alpha-transparent PNG. I use it often; simply create a semi transparent PNG as a watermark. You can have alpha-transparent areas, and fully transparent areas; the uploaded picture will appear underneath.