Active
Project:
Image watermark
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
16 Nov 2007 at 18:54 UTC
Updated:
10 Dec 2007 at 19:56 UTC
I'm having trouble handling the following case:
the image you're applying the watermark to is transparent.
It loses its transparency after applying the watermark (background becomes black.)
I'm looking at the following code (first comment on here)
http://us3.php.net/imagecopy
and wondering if this is the way to go to resolve it...i'm scaling the image so I would need to edit the cases for imagecopyresampled?
Comments
Comment #1
schnizZzla commentedAs I remember I used imagecopyresampled because of the option to have your watermark resized proportionally to the image size.
In general there are issues with transparancy, animated gifs and compression (file size) when using gd library functions. Transparency, animation or compression changes (gets lost / is rewritten) when you run an image through the gd library functions.
I'm sorry I can't help with this issue, but if you have a solution please post it here. I will do my best to integrate that into a new version of watermark.