Adding a watermark in php cannot remove the watermark background _ PHP Tutorial

Source: Internet
Author: User
Tags transparent color
The problem of adding a watermark in php cannot remove the watermark background. Problem: How can I add a watermark in php without removing the watermark background? the effect of adding a watermark in gif is the same as that in jpg without the following white background attachment: your problem
Adding a watermark in php cannot remove the watermark background
Solution
The effect of adding a watermark to a gif image is the same as that of a jpg image without a white background.
Attachment: you cannot download or view attachments in your user group.

Reference answer
JPG does not support transparent effects. Thank you.
Reference answer
This will achieve the same effect as jpg images! 3q, answer
Reference answer
Aren't these three images all gif? Where can I find jpg?
Reference answer
Oh ~~ The first image. Is it first converted to gif and then to jpg?
Reference answer
Png.
Reference answer
GIF specifies a transparent color.
Reference answer
If the watermark image is in jpg format, the effect is normal, for example, the effect of the first image.
If the image to be watermark is in gif format, the effect will be like that of the second and third largest image.
Make the gif transparent color, which is the effect of the third image!
Note: the watermark image format is png and the background is removed.
Reference answer
Yes, in PNG format.
Reference answer
Yes. the watermark image is in png format.

Why can't I remove the watermark background when adding a watermark to the animated php file? how can I make the effect of adding a watermark to a gif file the same as that of a jpg file? there is no white background attachment: you...

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.