Home Backend Development PHP Tutorial 加水印的有关问题~水印图片的背景如何才能透明

加水印的有关问题~水印图片的背景如何才能透明

Jun 13, 2016 am 10:23 AM
gif png

加水印的问题~~水印图片的背景怎么才能透明?
文字可能表达不清楚 直接上例子吧...

这是我希望的效果:


这是我现在实现的效果:


就是水印图片的背景怎么样变成透明色?


代码在2楼...

------解决方案--------------------
相当简单...弄张透明的gif或者png图片就欧了!给哥哥分啊!哈哈哈

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

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Best Graphic Settings
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. How to Fix Audio if You Can't Hear Anyone
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
WWE 2K25: How To Unlock Everything In MyRise
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

How to convert PNG to JPG on Windows 11 How to convert PNG to JPG on Windows 11 May 12, 2023 pm 03:55 PM

How to Convert PNG to JPG on Windows 11 On Windows 10 and 11, you can use Microsoft's built-in Paint app to quickly convert image files. To convert a PNG image to JPG on Windows 11, use the following steps: Open File Explorer and navigate to the PNG image you want to convert. Right-click the image and select Open With > Draw from the menu. Your photo or image opens in the Paint app. Note the file size at the bottom of the screen. To convert a file from PNG to JPG, click File and select Save As > JPEG Image from the menu. When the file resource

How to rename the extension of all files within a folder, including subfolders How to rename the extension of all files within a folder, including subfolders Apr 14, 2023 pm 12:22 PM

Suppose you need to rename the extension of a file from one extension to another, say jpg to png. It's easy, of course! But what if you have multiple files whose extensions need to be changed? Or worse, what if these multiple files are also located in multiple folders and subfolders, within a single folder? Well, for a normal person, this can be a nightmare. But for a geek, absolutely not. The question now is, are you a geek? Well, with the help of Geek Page, you definitely are! In this article, we explain how to easily rename the extension of all files within a folder, including subfolders of your choice, from one extension to another through a batch script method. Notice:

What format is png? What format is png? Dec 10, 2020 pm 04:16 PM

png is a bitmap format that uses a lossless compression algorithm. The PNG format has three forms: 8-bit, 24-bit, and 32-bit. The 8-bit PNG supports two different transparent forms. The 24-bit PNG does not support transparency. The 32-bit PNG adds an 8-bit transparent channel to the 24-bit. Therefore, Can display 256 levels of transparency.

What is the format of png files? What is the format of png files? Feb 19, 2024 pm 08:32 PM

PNG is a common image file format, whose full name is "Portable Network Graphics". It is a lossless compression format designed to replace the JPEG and GIF formats commonly used in the past. The PNG format was created in 1995 by graphic designer Thomas Boutell and grew in popularity over the following years. The PNG format is characterized by supporting high-quality image compression while retaining image details and color information. Comparable to JPEG format

Which one is clearer, jpeg or png? Which one is clearer, jpeg or png? Mar 17, 2023 am 10:43 AM

Compared with jpeg and png, the png format is clearer; because the png format is a lossless format, while the jpeg format is lossy compression, which will reduce the quality of the original image data; therefore, if you use files produced by drawing software, save When you choose to save the png format, it will be clearer than the jpeg format.

What format is png file? What format is png file? Feb 21, 2024 pm 09:30 PM

PNG is a common image file format. It is a lossless compression format, which means that it does not lose image quality. PNG stands for Portable Network Graphics. The PNG file format was originally created by a group of developers in 1996 and was intended to replace some limited and inefficient file formats such as GIF. The PNG file format is based on a lossless compression algorithm and utilizes indexes, palettes, and grayscale images to store image data. Compared to other image formats, PN

How to make pictures into png How to make pictures into png Jan 19, 2021 am 09:14 AM

How to make a picture into a png: 1. Open the PS software; 2. Find the picture that needs to be processed and import it into the software; 3. Adjust the background color of the picture to white; 4. Select the "Magic Eraser" tool and click The background area on the picture that needs to be made transparent; 5. Click "File" - "Save As" in the menu bar, select "png" in the save format in the pop-up window, and export the picture in png format.

How to create a GIF with Linux's built-in screen recording tool? How to create a GIF with Linux's built-in screen recording tool? Jan 12, 2024 pm 06:27 PM

Deepin Linux has a built-in screen recording function that can record gif files. How to use the recording tool? Let’s take a look at the detailed tutorial below. 1. Open Deepin Linux desktop. 2. Find the launcher and open it. 3. Find Screen Recording and open it. 4. Drag an area to start recording and modify the generated file to GIF. 5. There will be a countdown icon when you start recording. 6. Finally, a gif will be generated on the desktop, and the final effect is as shown in the figure below.

See all articles