upper-left corner of Word
2, in the Open File Options column, click Export, start the export of the Ribbon, and then click Create Pdf/xps
3, find the location to save the file, to remove the watermark after the file name, and then click on the publication (S)
4, this time again for you need the PDF format file, open this file, you can see that all the watermark has been removed, the inter
ctx.drawimage (IMG,0, 0); - - Ctx.font= "80px Microsoft Yahei"; - Ctx.fillstyle= "Rgba (252,255,255,0.8)"; - //the contents of the text box are added to the picture area. - document.getElementById ("btn"). onclick= function () { in Ctx.filltext (document.getElementById ("text"). Value, -, $); - //document.getElementById ("text"). Value = ""//You can choose whether to empty the contents of the input box to } + } -
of them, priority to use the $waterImage.
* When the $waterimage is valid, the parameters $waterstring, $stringFont, $stringColor are not effective.
* The watermark image has the same file name as the $groundImage.
* Author: longware @ 2004-11-3 14:15:13
*/
function Imagewatermark ($groundImage, $waterPos =0, $waterImage = "", $waterText = "", $textFont =5, $textColor = "#FF0000 ″)
{
$isWaterImage = FALSE;
$FOR
Class Lyout_image
Dim Objjpeg ' AspJpeg Object
Dim objFSO ' File Read-write Object
Dim Intimagewidth ' Image Width
Dim intimageheight ' Image Height
Dim strmessage ' as operational information
Dim flagopen ' File Open flag
Dim intjpegwidth ' Watermark Area width
Dim intjpegheight ' Watermark Area height
Dim intjpegcolor ' Watermark Text color or
watermark
Public $pos = 0; Watermark Location
Public $transparent = 45; Watermark Transparency
Public $waterStr = ' www.itwhy.org '; Watermark Text
public $fontSize = 16; Text font size
Public $fontColor = Array (255,0,255); Watermark text col
, with relative directory address, support PNG and GIF two formats, such as watermark picture in the execution file mark directory, can be written as: Mark/mark.gif$markText: Watermark text added to a picture$TextColor: Font color for watermark text$markPos: Image
same time, choose one of them, priority to use the $waterImage.
* When the $waterimage is valid, the parameters $waterstring, $stringFont, $stringColor are not effective.
* The watermark image has the same file name as the $groundImage.
* Author: longware @ 2004-11-3 14:15:13
*/
function Imagewatermark ($groundImage, $waterPos =0, $waterImage = "", $waterText = "", $textFont =5, $textColor = "#FF0000")
{
$isWaterIma
In fact, in the optical theory, watermark image can be perfectly restored, we do not talk about theory, only talk about operation.
Let's look at a watermark-added picture.
To get rid of the watermark, we want to determine two
The realization of watermark function is mainly depend on these function function operation
1.imagecreatefromjpeg//Open JPG picture 2.imagecreatefromgif//Open GIF picture3.imagecreatefrompng//Open PNG picture4.imagecreatefromwbmp//Open wbmp picture (less use)5.getimagesize//Get pi
formats, such as watermark picture in the execution file mark directory, can be written as: Mark/mark.gif$markText: Watermark text added to a picture$TextColor: Font color for watermark text$markPos: Image watermark Add location,
: Watermark text added to a picture$TextColor: Font color for watermark text$markPos: Image watermark Add location, value range: 0~90: Random position, randomly pick a position between 1~81: Top left 2: Top Center 3: Top right 4: Left center5: Picture Center 6: Right Center
PHP image processing using the Imagecopy function to add a picture watermark instance,
Adding a watermark to a picture is also a common feature in image processing. As long as you see the pictures in the page can easily get, you hard to edit the pictures do not want to be e
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.