Home > Backend Development > PHP Tutorial > Problem with adding watermark in php, watermark background cannot be removed_PHP tutorial

Problem with adding watermark in php, watermark background cannot be removed_PHP tutorial

WBOY
Release: 2016-07-13 10:51:05
Original
1289 people have browsed it



Question
Problem with adding watermark in php, watermark background cannot be removed
Solution
How can I make the effect of adding watermark to gif the same as that of adding watermark to jpg, without the white background behind
Attachment: Your user group cannot download or view attachments

Reference answer
JPG does not support transparency effects. Thanks.
Reference answer
This way you can achieve the same effect as a jpg picture! 3q, answer
Reference answer
Aren’t these three pictures of yours all gifs? Where is the jpg
Reference answer
Oh~~The first picture. Is it necessary to convert it to gif first and then to jpg?
Reference answer
Just png
Reference answer
You can specify a transparent color for GIF
Reference answer
If the watermarked picture is in jpg format, the effect will be normal, such as the effect of the first picture
If the watermarked picture is in gif format, the effect will be like the effect of the second and third pictures
Set a transparent color for gif, which is the effect of the third picture!
Note: The watermark image format is png, and the background has been removed
Reference answer
Yes, use PNG format
Reference answer
Yes, watermark images in png format work better

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/632597.htmlTechArticleProblem with php adding watermark, cannot remove watermark background solution How to add watermark effect to gif and add to jpg The effect of the watermark is the same, without the white background attachment: You...
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template