Very powerful php image watermark code, the details are well done, I hope you will like it, and welcome your suggestions.
Implement some of the following functions:
Support text watermarks and picture watermarks
Supports random or fixed position of watermark (nine-square grid)Watermark transparency setting (both image watermarks and text watermarks are supported)
Font, color and size settings of text watermark
The background of the picture watermark is transparent
All resources on this site are contributed by netizens or reprinted by major download sites. Please check the integrity of the software yourself! All resources on this site are for learning reference only. Please do not use them for commercial purposes. Otherwise, you will be responsible for all consequences! If there is any infringement, please contact us to delete it. Contact information: admin@php.cn
Related Article
23 Nov 2016
* Picture watermark category, supports text watermark, transparency setting, customized watermark position, etc. * Usage example: * $obj = new WaterMask($imgFileName); //Instantiated object * $obj->$waterType = 1; //Type: 0 is text watermark, 1 is image watermark
16 May 2016
Adding a watermark to a picture actually means adding the original picture and the watermark together. Below I will share with you the information I have recently compiled.
13 Jul 2016
PHP text watermark and PHP image watermark implementation code (two watermarking methods). Text watermark Text watermark is to add text to the picture. It mainly uses the imagefttext method of the gd library and requires a font file. The rendering is as follows: The implementation code is as follows: Copy the code
25 Jul 2016
PHP image watermark program, PHP gd library to add image watermark
07 Aug 2023
How to use PHP to implement the picture watermark function of the CMS system. In modern CMS systems, the picture watermark function is a very common requirement. It can be used to protect the copyright of pictures and also add personalized logos to pictures. This article will introduce how to use PHP to write code to implement the image watermark function of the CMS system. Preparation First, we need to ensure that the GD library has been installed in the server environment. The GD library is an open source graphics library for processing images in PHP. You can check whether the server has been installed by using the following code
21 Jul 2016
PHP image watermark code. Supports text watermarks and picture watermarks. Supports random or fixed position of watermark (nine-square grid). Watermark transparency setting (both picture and text watermarks are supported). Text watermark font, color,
Hot Tools
PHP multifunctional image processing class
PHP multifunctional image processing class
PHP library for creating animated GIFs
PHP library for creating animated GIFs