In the project, we need to do some similar avatar upload, picture clipping function, OK look at the following article! Require plugins: jQuery jcrop Back-end code:
Package org.csg.upload;
Import Java.awt.Rectangle;
Import Java.awt.image.BufferedImage;
Import Java.io.File;
Import Java.io.FileInputStream;
Import java.io.IOException;
Import Java.util.Iterator;
Import Javax.imageio.ImageIO;
Import Javax.imageio.ImageReadParam;
Import Javax.image
Environment Preparation: Python version is 3.5.1. Use the PIP command: Pip install Pyopengl Install the Pyopengl module. Graphics of the final design, do not know what to do with OpenGL or WebGL cool effect, had to do algorithm, tragedy wrote more than 500 lines, the disadvantage is that the clipping algorithm is not encapsulated into a function. Also note that the OpenGL files need to be copied to the system disk System32 (32-bit system) or SYSWOW64
Just the project used to upload + clipping function, sent up to facilitate later use.
I can not tell you are actually from the blog garden Grilled front code, haha.
Front end is jquery+fineuploader+jquery. Jcrop
Backstage is asp.net mvc 4
The core JS calling code is the Crop.js and Helper folder under the ImgHandler.cs
Effect Chart
Front Code
Method
1, Lightroom crop photos often encounter the need to switch cropping grid guide to better composition of the time, in fact, the method is very simple, first of all, we lightroom in the image gallery to select photos.
Lightroom
2, click Lightroom to modify the photo options, and then click the Cropping Overlay tool.
Lightroom
3, at this point in the English input method can see the shortcut key "O" to quickly switch
Simply use software to MP3 Qiatouquwei
We download MP3 from the Internet, some may not be very satisfying, such as some MP3 start or end has a long silence, noise and other discordant sound, people in the process of listening to always feel uncomfortable. Well now, as long as you have mp3trim this small and convenient MP3 trimming tool, remove MP3 file at the beginning of the silence or noise is simply a piece of cake. It can help you remove parts of
In WPS, the feature in the Clipboard menu option is the Paste option and the format brush.
The Paste options include the following 5 items:
1. Formatted text: Paste content with the original format;
2. Match the current format: the pasted content grid is the same as the current use format;
3. Unformatted text: Paste into unformatted text (plain text content);
4. Paste selectively: Select the specific paste format;
5. Set Default paste: Set the default paste into the document format.
As sh
Effect:
"Above for screenshots, after the local computer finished, using mobile tools in the screen drag the mouse mobile tool, the screen in the mobile phone will appear with the mobile phone different scenery, very interesting."
1 Open a vegetarian dish:
2 ctrl+j copy background layer, get Layer 1, click on "Layer 1" before the eye icon, the Layer 1 shadow hidden, select the background l
Recently in the Web page drag-and-drop verification Code of the Open source project, need to generate a picture in the service side of the corresponding removable color block, but the resources on the web is to do thumbnails, the entire picture scaling, so do-it-yourself, finished the picture to cut the small pieces of the tool
Use
Cropping an image
$ic =new Imagecrop ($pathToFile, './pic/aftercrop '. Time (). JPG ');
$ic->cut (40,
. Therefore, the various documents of demand research can be cropped, but the Customer interview record Analysis table should be clearly recorded, and a basic requirement specification must be given at last.
11. Product Integration Plan, Environment checklist, report can be cropped, but the interface list cannot be cropped, and it should be cross-examined.
12. During the test phase, the test plan can be cropped to a simple document, and the test case should not be cropped, because if the proje
Here are some simple free-to-share tools, technical support groups: 592132877, providing customized service development.GIF Motion Synthesis toolThe main function is to scan all the zip files in the specified folder, then extract the pictures in the zip file, and synthesize a GIF picture, save to the new path, support the time to set GIF, the demo effect is as follows:: GIF compositing toolFile Bulk Move ToolThe main function is to copy all the files in the specified folder and subfolders to the
Ncodegenerate is a razor syntax based on the. NET platform.CodeGenerate a tool.
Main features:
1. Use razor and C.
2. syntax highlighting prompt, which is automatically folded.
2. Enter a smart prompt. The @ model syntax smart prompt is supported.
3. The parameter model is directly customized using the C # class.
4. Supports multiple databases (currently MySQL, SQL Server, and Oracle), and supports expansion of write plug-ins.
5. Support
the path control menu.This includes creating a path layer, hiding a path, copying a path layer, deleting a path layer, converting a selected region to a path, converting a path to a selected region, and filling in the path area, outline the path boundary, set the CIDR path Clipping Path, and set the path layer thumbnail display option palette options. Most of the functions in the path control menu are similar to those in the
Blur tool, sharpen tool, smudge tool: RUse of the Blur tool: Reduce the contrast between pixels and reduce the contrast of the image.The sharpening tool, in contrast to the use of the Blur tool, enhances the contrast between pixel
Special character escape
Because WEB applications need to be federated to multiple languages, each containing some special characters, for dynamic or tabbed languages, a problem that we often encounter when we need to dynamically construct the content of a language is the escape of special characters. The following are some of the special character types that Web developers most frequently need to escape: HTML special characters; JavaScript special characters; SQL special characters;
If you do n
CodeSmith is one of the most widely used tools in code generation and has rich template resources and users. Many of my friends used CodeSmith and there are many ready-made templates. NCodeGenerate provides a template Conversion Tool from CodeSmith to NCodeGenerate. It makes it easier for users to switch from CodeSmith to NCodeGenerate. Next we will introduce it.
Open the tool menu> CodeSmith Conversion
Ncodegenerate asCodeGenerate tool. You can edit templates, check syntax, and execute template generation code. If there is no logical error in the template, there is no problem in the whole process. But who can ensure there is no error in the written template? Can you? I cannot.ProgramDevelopers know that code debugging takes much longer than code writing during development. Okay, ncodegenerate provides the debugging function. Today, we will briefly t
Compile tool (Compilers)
Compiler
Masm32 v8.2Masm32 v9.0
Learning w32asm programming uses masm32, because 99% of win32asm programmers use MASM. Http://www.movsd.com/
RadAsm 2.2.1.2
The Assembly editor requires masm32. this version provides good support for Chinese characters. Chinese: caocongEnglish to the official website download: http://www.radasm.com/
Auxiliary Tools
Apilist 1.01
Displays,
. DBSchema document, which is connected in the following document.
Attached:
NCodeGenerate.zip
Document: Document
NCodeGenerate series of articles:I. What is NCodeGenerate? Ii. Code Generation Tool-NCodeGenerate tutorial (1) traverse all tables in the database III. Code Generation Tool-NCodeGenerate tutorial (2) code Generation Tool-NCodeGenerate tutorial (3) ge
************* before you start HBase, make sure the ZK cluster is started ***************** The location of the Hmaster is not configured in the configuration file, and the result is which node starts HBase and which node is hmaster******* ****** HBase can start multiple hmaster by hbase-daemon.sh start Master, which is redundant standby status ****** To view the startup process:------------------------------------------------------------------------hmasterhregionserver---------------------- --
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.