zeanwork / Watermark

Apply watermark image with PHP
44 stars 20 forks source link

imagepng() function advice #4

Closed greatcz closed 6 years ago

greatcz commented 6 years ago

Thanks for your contribution, it save a lot of my energetic to do watermark for local images .

I found a issue when I used it to do my work.

in watermark.php @ line 204 $functionTarget($this->imgSource, $imgTarget, 100);

if the functionTarget is imagepng(), the third parameter of this function is quality which value range is 0~9, but here is fixed 100. and the result can not be read.

greatcz commented 6 years ago

I am sorry,after scanning the issue list. I found that this one is same as another.