products:zipwriter:index
Delphi 12 Athens Updates Available!
To download, click your product: DIContainers, DIConverters, DICreole, DIFileFinder, DIGoogleReader, DIHtmlLabel, DIHtmlParser, DIMime, DIRegEx, DISQLite3, DITidy, DIUcl, DIUnicode, DIXml, YuBrotli, YuImage, YuNetSurf, YuOpenSSL, YuPcre2, YuPdf, YuStemmer, YuXmlSec, YuZip.
To download, click your product: DIContainers, DIConverters, DICreole, DIFileFinder, DIGoogleReader, DIHtmlLabel, DIHtmlParser, DIMime, DIRegEx, DISQLite3, DITidy, DIUcl, DIUnicode, DIXml, YuBrotli, YuImage, YuNetSurf, YuOpenSSL, YuPcre2, YuPdf, YuStemmer, YuXmlSec, YuZip.
no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
— | products:zipwriter:index [2023/07/20 11:57] (current) – created - external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== DIZipWriter ====== | ||
+ | {{page> | ||
+ | |||
+ | ===== DIZipWriter is now YuZip ===== | ||
+ | |||
+ | DIZipWriter has changed its name and is now superseded by the new [[..: | ||
+ | |||
+ | ===== Overview ===== | ||
+ | |||
+ | DIZipWriter' | ||
+ | |||
+ | * Files • Streams • Strings • Memory Buffers | ||
+ | |||
+ | After a ZIP file entry is added, applications can write data to it. Writing can take place in one go or in multiple chunks. There can be any number of chunks of any size, starting from an empty chunk of size zero. | ||
+ | |||
+ | '' | ||
+ | |||
+ | **Comments** are supported for each ZIP file entry, plus a global comment for the ZIP archive itself. **File names** of the ZIP entries are automatically encoded to support Unicode. Long file names are supported, too, just as absolute and relative path names. | ||
+ | |||
+ | ==== Compression Algorithms ==== | ||
+ | |||
+ | '' | ||
+ | |||
+ | | {{tyustorecompressor.gif}} | '' | ||
+ | | {{tyudeflatecompressor.gif}} | '' | ||
+ | | {{tyubzip2compressor.gif}} | '' | ||
+ | | {{tyulzmacompressor.gif}} | '' | ||
+ | | {{tyuppmdcompressor.gif}} | '' | ||
+ | | {{tyuxzcompressor.gif}} | '' | ||
+ | | {{tyuzstdcompressor.gif}} | '' | ||
+ | |||
+ | Custom compressors can be implemented by inheriting from the '' | ||
+ | |||
+ | ===== Zip64 Large File Support ====== | ||
+ | |||
+ | DIZipWriter uses the Zip64 extension for files larger than 4 GB. This applies to the compressed and uncompressed size of a file, and the total size of the archive. Zip64 is applied automatically if needed. To keep the archive file size as low as possible, files smaller than 4 GB are stored without Zip64. | ||
+ | |||
+ | Zip64 support is compatible with all compression algorithms and encryption methods. | ||
+ | |||
+ | ===== Direct Streaming ====== | ||
+ | |||
+ | Direct streaming is a unique feature to DIZipWriter. It allows objects to stream their data directly to a ZIP archive using their own '' | ||
+ | |||
+ | <code pascal> | ||
+ | { Save a TBitMap image to a ZIP archive. } | ||
+ | |||
+ | { Create and initialize an example bitmap image. } | ||
+ | Img := TBitMap.Create; | ||
+ | |||
+ | { Add a new entry to the ZIP archive. } | ||
+ | DIZipWriter.AddEntry(' | ||
+ | |||
+ | { Write the bitmap to the archive' | ||
+ | Img.SaveToStream(DIZipWriter.CurrentEntryStream); | ||
+ | |||
+ | { The same works to save a database BLOB. } | ||
+ | MyBlob.SaveToStream(DIZipWriter.CurrentEntryStream); | ||
+ | </ | ||
+ | |||
+ | ===== Encryption: Strong AES, and Standard PKZIP Algorithms ===== | ||
+ | |||
+ | DIZipWriter can encryt data using **strong AES encryption** up to 256 bits. It follows the AE-1 and AE-2 Encryption Specification first introduced by WinZip 9. Many ZIP software allows to extract AES encrypted ZIP archives, for example the free [[https:// | ||
+ | |||
+ | DIZipWriter also supported the **standard PKZIP encryption**, |
products/zipwriter/index.txt · Last modified: 2023/07/20 11:57 by 127.0.0.1