From http://kongjian.baidu.com/sunch721521/blog/item/12cdd633ab47e34bac4b5f20.html
'Note :~ Represents press enter, % Represents ALT, ^ represents Ctrl, CTRL + ← represents deletion...'Set the followingCodeCopy and paste the image to notepad, modify the image path, and save it ?. Vbs'The image taken by a digital camera occupies a lot of space.ProgramOpen the image and save it as a result. The image effect remains unchanged but is much smaller.'This vbs can save images in batches'Function: S
Paint.NET 2.61
The Apprentice editor Wang June delivers:Washington State University students in C # do a paint.net, more powerful than Windows MSPaint, including layer, Clone stmap, Edge detection, Motion blur and history, the interface is also very good, Style is a bit like Photoshop, the image processing is interested in the friend blessed, but the drawback is that only one picture can be processed at a time
Compression (zip), compression zip
By default, these compression tools will delete the source files (except zip files) after compression. By default, only files are compressed, but directories are not compressed (LinkPackage).
Gzip
Bzip2
Zip
GNU tar
1. gzip
1. Compr
A simple zip compression decompression Tool class written using Java base classes
Copy Code code as follows:
Package sun.net.helper;
Import java.io.*;Import Java.util.logging.Logger;Import java.util.zip.*;public class Ziputil {Private final static Logger Logger = Logger.getlogger (ZipUtil.class.getName ());private static final int BUFFER = 1024*10;
/*** Compress the specified directory into a zip
PHP online compression zip function-php create zip/* PHP create zip package */
/* Create a zip package in PHP */
Function create_zip ($ files = array (), $ destination = '', $ overwrite = false ){
// If the zip file already exists and overwrite is false, return false
If (fil
The basic usage of the Linux zip command is:Zip [parameters] [file name after packaging] [packaged directory path]Linux zip command parameter list:-a convert the file to ASCII mode-F attempt to repair corrupted compressed file-H Display Help interface-M after compressing the file, delete the source file-N specific string does not compress files with a specific trailing string-O to set the latest change time
The basic usage of the zip command and the zip command
The basic usage of the zip command is:
Zip [parameter] [package file name] [Package directory path]
Linux zip command parameter list:
-A converts a file to ASCII mode.-F try to repair damaged compressed files-H: disp
ZIP package and zip package
The basic usage of linux zip commands is:
Zip [parameter] [package file name] [Package directory path]
Linux zip command parameter list:
-A converts a file to ASCII mode.-F try to repair damaged compressed files-H: display the Help Page-M: after c
Java uses ant to implement ZIP files to compress and extract zip files.
A single file is compressed into a zip file, and multiple files are compressed into a zip file.
You can compress large files.
You need to use the Ant.jar file and put it in the Lib directory.
Ant.jar Download: http://download.csdn.net/detail/xinxin
Zip is a widely used compression program that compresses files to produce a compressed file with a ". zip" extension.
Grammar
Zip [-acddffghjjkllmoqrstuvvwxyz$][-b
Parameters:
-A adjusts the executable automatic decompression file.
-b
-C adds a comment for each compressed file.
-d deletes the specified file from the compressed file.
The directory
The Linux system does not have its own compression decompression tool; We need to install it ourselves; Zip package is required when the package is in. zip format1, Apt-get Installation:Apt-get Install Zip2. Yum Installation:Yum install-y Unzip zipCommand instance:1. Compress the MyData directory below the/home directory to Mydata.zipCd/home zip-r Mydata.zip MyD
ZIP compresses the last month's files in the folder and copies the backup files to the server. zip last month
Traverse all the files in the subfolders of the folder, combine the files from the previous month, compress each other, and copy the files to the ing disk of the server.
Static void Main (string [] args){// Location where the original file is storedDirectoryInfo theFolder = new DirectoryInfo (@ "E:
Target: Print values for two listsUse while True:i=[' d ', ' e ', ' f ', ' G ']t=[' a ', ' B ', ' C ']n=0while n Use the For loop to combine the ZIP function:For k,v in Zip (i,t): print (k) print (v)Printing results:DAEBFCUse Help (Zip) to see how the function module is usedZip:The popular point is to make a new tuple of the corresponding positions of several lis
You do not need to decompress the package and directly read the specified file in the ZIP file. For example, the file/sdcard/a.zipcontains the file z.txt. The read procedure is as follows:
int zfd = zip_open("/sdcard/a.zip/z.txt");if (ZIP_IS_VALID(zfd)) {zip_seek(zfd, 5, SEEK_SET);zip_read(zfd, buf, 10);zip_close(zfd);}
1. dependent on zipfilero. h In Android framework, which must be compiled in the Android system source code environment;
2. Currentl
1. Database download
MySQL official website: http://www.mysql.com/, database download address: http://www.mysql.com/downloads/. From the official website can find two kinds of packages, one is EXE installer, the other is a zip compression package. I like the refreshing way, so the download is a zip compression package. The newest 5.6.22 is about 350M, download also need Oracle account number, register a go
Brief Introduction to the zip () and * zip () functions in Python and the python Functions
Preface
1. experiment environment: Python 3.6;
2. Sample Code address: Download example;
3. The element in this article refers to the next-level project (which may be a single element or nested list) in the list, tuples, dictionaries, and other collection-type data types ).
Detailed description of the
Java-compressing folders into zip files and java folders into zip files
Import java. io. bufferedInputStream; import java. io. file; import java. io. fileInputStream; import java. io. fileOutputStream; import java. io. IOException; import org.apache.tools.zip. zipEntry; import org.apache.tools.zip. zipOutputStream; /***** @ author hwt **/public class TestDir {/*** compresses the folder and its files into fi
Reference: http://blog.163.com/shanqing_shuixiu@yeah/blog/static/165319229201192444434865/
Talk is cheap,show me the code!
Multiple folders under the same folder to make a ZIP package
importjava.io.bufferedinputstream; importjava.io.file; import java.io.fileinputstream; importjava.io.fileoutputstream; import java.util.zip.crc32; importjava.util.zip.checkedoutputstream; import java.util.zip.zipentry; importjava.util.zip.zipoutputstream; Public cla
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.