Open the Upload class file in the PHP directory under Ueditor compression package: Uploader.class.phpAdd the call watermark processing method under the main method of uploading files:
The code is as follows
Copy Code
/*** The main processing method of uploading files* @return Mixed*/Private Function Upfile (){................................................$this->stateinfo = $this->statemap[0]; (about 122 lines)Add below t
Company confidential Excel form information, in order to prevent the outbound. You need to add watermarks such as "confidential", "internal data", and "controlled files" when printing. Below to learn how to add a watermark:
First open an Excel, on the toolbar to find inserts, WordArt;
Any choice of a WordArt insert, enter the text you want, and then
For how to add watermark on the picture is a difficult problem that many technical personnel encounter, that everyone has seen the public number and some other technology platform can realize this function, but how to realize the source code, but there is no clue, then today to introduce you about Kindeditor upload pictures and watermark method, After reading, I believe that the technical staff will know.Fi
This article is mainly for everyone in detail introduced the Kindeditor editor plus image upload watermark function, with a certain reference value, interested in small partners can refer to, hope to help everyone.
Kindeditor is an open source online HTML editor that allows developers to replace traditional multi-line text input boxes (textarea) with visual rich text input boxes with Kindeditor. Can be seamlessly integrated with Java,. NET, PHP, ASP
Example 1
The code is as follows
Copy Code
Header ("Content-type:image/png"); /* Notification browser, to output the image * *$im = Imagecreate (400, 300); /* Define the size of the image * *$gray = Imagecolorallocate ($im, 235, 235, 235);$pink = Imagecolorallocate ($im, 255, 128, 255);$fontfile = "Simkai.ttf";/* $fontfile The path of the font, depending on the operating system, can be Simhei.ttf (bold), Simkai. TTF (italics), Simfang. TTF (imitation), SimSun. TTC (XX
PHP implementation of a picture to add a watermark effect,
PHP implementation of a picture to add watermark effect
Let's take a look at a support to add a watermark to a picture in two ways: Picture and text. Image support Gif,png,jpg Three formats, watermark image support PNG and GIF
function Setwater ($IMGSRC, $M
In the front we have a preliminary understanding of the Word 2007 document to insert the Watermark method of setting, mainly through the watermark style to choose from. If you do not find the watermark you want in the style, then you can customize the watermark, can be a text water
This class is very powerful and detailed! I hope you will like it and give some suggestions on text and image watermarks.
Supports random or fixed watermark positions (nine cells)
Watermark transparency settings (image watermarks and text watermarks are supported)
Font, color, and size settings of text watermarks
Transparency of the image watermark background
T
AspJpeg is a persits-produced shareware, the probationary period is 30 days, you can download here: Http://www.persits.com/aspjpeg.exe. The latest version number is 1.3.
AspJpeg is a very powerful image processing component, with which you can easily make thumbnails of pictures and add watermarks to images. Here is a brief description of how to use it:
You will first perform the downloaded EXE file and install the component
1. Make thumbnails for pictures
Dim Jpeg,path
Set Jpeg = Server.CreateO
Php image watermark function code (supports pictures and text)
/*
* Function: php image watermark (watermarks support images or text)
* Parameters:
* $ GroundImage: specifies the background image to be Watermark. Currently, only GIF, JPG, and PNG formats are supported;
* $ WaterPos
Adding watermarks to Images Using ASP requires components... common applications include aspjpeg software and wsImage software developed by the Chinese people. You can search and download the two software online. We recommend that you use the wsImage developed by the Chinese people. After all, it is a Chinese version and easy to operate.
How to register Components:Enter "regsvr32 [Dll path]" at the command prompt.Adding a watermark to an image is not
You can use aspose. Cells to add special text effects to a workbook. For example, you can stretch the title, modify the text, make the text conform to the preset shape, or add a watermark effect to the workbook.
The following example shows how to use the Simple API provided by aspose. Cells to add watermarks to a worksheet.
ExampleCode:
C #
// Instantiate a new workbookworkbook workbook = new Workbook (); // get the first default sheetworkshee
Support text watermark, image watermark
Watermark is supported at random or fixed position (nine Sudoku)
Watermark Transparency Settings (both image watermark and text watermark are supported)
font, color, size settings for text w
The method used here is to add a watermark During User Access (without damaging the original image, but affecting server performance ).
(1) Use the general processing program bookcover. asxh
Using system;Using system. Web;Using system. drawing;Using system. IO;
Public class bookcover: ihttphandler {// Cover folder pathPrivate const string coversaddr = "~ /Images/bookcovers /";// Digital watermark pathPrivat
ArticleDirectory
Control and cueinfo
About the ComboBox control
Apply the watermark effect to the control.
It took some time to package a simple sendmessage and create a component for watermark management. Let's take a look at it first.
These two classes are the main types for implementing the watermark manager, na
Added the Image Upload watermark function (php Code) to the Kindeditor editor ),
KindEditor is an open-source online HTML editor. developers can use KindEditor to replace the traditional multi-line text input box (textarea) with a visualized rich text input box. It can be seamlessly integrated with Java,. NET, PHP, ASP and other programs, and is suitable for use in Internet applications such as CMS, mall, forum, blog, Wiki, and email.Main features:
Fa
Word watermark is widely used in the production of documents, many friends in the production of Word documents, in order to make the document more beautiful, like to add any pictures and text as a background picture, which we call "watermark." Not only that, we can also set the document background to any color or a variety of exquisite style, a beautiful article with a good background style, so that gives a
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.