Download the library from the SourceForge project page. |
Zip-Ada in action within a Zip archive manager (AZip): |
Zip-Ada in action within a self-extracting installer: |
HTML report from the ReZip tool: |
Zip-Ada @ FOSDEM 2019:
| Zip-Ada @ Swiss Ada Event 2017: | |
-- Zip archive creation demo. -- For a complete Zip creation tool, see tools/zipada.adb . -- with Zip.Create; procedure Demo_Zip is use Zip.Create; zip_file : aliased Zip_File_Stream; -- Archive is a file in this example. archive : Zip_Create_Info; begin Create_Archive (archive, zip_file'Unchecked_Access, "mini_zip.zip"); -- We insert a couple of files into the Zip archive: Add_File (archive, "demo/demo_zip.adb", Password => "1234"); Add_File (archive, "demo/demo_unzip.adb"); -- Here we add directly some contents to the Zip archive -- without a file in the first place: Add_String (archive, "==== Hello world! ====" & ASCII.LF & "It is such a nice ""Hello world""-like demo, isn't it ?", "nice_string.txt"); Add_Empty_Folder (archive, "empty_folder/"); Finish (archive); end Demo_Zip; |
Browse the source (of version 58) |
Visit the Ada Forum:
OS | CPU | Compiler |
OpenVMS | Intel Itanium (64 bit) | GNU - GNAT |
AIX | Power7 (64 bit) | |
MS Windows 32-bit | Intel x86 | |
MS Windows 64-bit | AMD/Intel x64 | |
Linux 32-bit | Intel x86 | |
Linux 64-bit | AMD/Intel x64 | |
Linux on PS3 | Cell (64 bit) | |
Linux on Raspberry Pi | ARM | |
Mac OS X | PowerPC (64 bit) | |
Mac OS X | AMD/Intel x64 (64 bit) | |
Solaris | SPARC (32 or 64 bit) | |
Solaris | AMD/Intel x64 (64 bit) | |
OpenBSD | (one of several) | |
FreeBSD | Intel x86 (32 bit) | |
FreeBSD | AMD/Intel x64 (64 bit) | |
Android 2.3+ | ARM | |
MS Windows x64 | AMD/Intel x64 (64 bit) | PTC - ObjectAda |
MS Windows NT+ | Intel x86 (32 bit) | SofCheck - AdaMagic |
MS Windows NT+ | AMD/Intel x64 (64 bit) | |
Linux | Intel x86 (32 bit) | |
Mac OS X | PowerPC (64 bit) | |
Mac OS X | AMD/Intel x64 (64 bit) | |
Solaris | SPARC (32 or 64 bit) | |
Solaris | AMD/Intel x64 |
Zip-Ada | Other software. | Info-Zip | ||||||||
Format | Format # | Compress | Decompress | PKZip | 7-Zip | WinZip | Zip | UnZip | ||
Store | 0 | v.22 | v.1 | v.0.90 | all | all | all | all | ||
Shrink | 1 | v.22 | v.1 | v.0.90 | v.9.20 | all | never | |||
Reduce 1 .. 4 | 2 .. 5 | v.29 | v.1 | v.0.90 | all | never | v.<=5.12 | |||
Implode | 6 | never | v.1 | v.1.01 | v.9.20 | all | never | |||
Deflate | 8 | v.50 (v.40-49: limited) |
v.1 | v.2.0 | all | all | v.2.0 | all | ||
Enhanced Deflate | 9 | never | v.30 | v.2.1 | all | v.8.0 | v.5.5 | |||
BZip2 | 12 | v.60 | v.36 | v.4.6 | v.9.20 | v.9.0 | v.3.0 | v.6.0 | ||
LZMA | 14 | v.51 | v.47 | v.6.3 | all | v.12.0 | ||||
PPMd | 98 | v.6.3 | v.9.11 | v.10.0 | ||||||
Zstandard | 93 | v.6.3.8 | v.24.01 | v.24 |