Add a watermark to a picture
Copy Code code as follows:
Dim Jpeg ' '//Declaration variable
Set Jpeg = Server.CreateObject ("persits.jpeg") '//Calling Component
Jpeg.open Server.MapPath ("AAA"). JPG ")"//Source Picture location
Insert dense watermark and QR code in Word and Excel, and wordexcel watermark
The customer recently asked to develop a feature:
After a file is uploaded to the system, an intensive watermark and two-dimensional code are automatically added to each
Add a watermark to a picture
Copy Code code as follows:
Dim Jpeg ""//Declaration variable
Set Jpeg = Server.CreateObject ("Persits.jpeg") ""//Calling Component
Jpeg.open Server.MapPath ("AAA"). JPG ")"//Source Picture position
Phpgd2 uploads image text watermark, image watermark, and other proportional thumbnail source code. For more information, see.
The code is as follows:
// Upload file type list
$ Uptypes = array (
'Image/jpg ',
'Image/jpeg ',
'Image/png
Phpgd2 uploads image text watermark, image watermark, and other proportional thumbnail source code. For more information, see.
The code is as follows:
// Upload file type list$ Uptypes = array ('Image/jpg ','Image/jpeg ','Image/png
Phpgd2 uploads the image text watermark, image watermark, and other proportional thumbnails implementation code. Copy the code as follows :? Php Upload file type list $ uptypesarray (imagejpg, imagejpeg, imagepng, imagepjpeg, imagegif, imagebmp,
1. Add watermarks to images
CopyCode The Code is as follows: Dim jpeg "" // declare the variable
Set JPEG = server. Createobject ("persits. JPEG") "// call the component
JPEG. Open Server. mappath ("AAA. jpg") "// source Image Location
JPEG. Canvas.
Image watermark in PHP There are many ways to achieve, he these features are based on the GD library in PHP, if there is no opening of the GD library is not allowed to use the watermark function.
The Imagecopymerge () function is used to copy and
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.