General Programming |
Author |
Message |
delovski
Joined: 14 Jun 2006 Posts: 3524 Location: Zagreb
|
Posted: Sat Aug 26, 2006 8:53 am Post subject: Zip API |
|
|
At JoS: Zip API
"Is there a free API out there which allows you to ZIP and unzip FILES?" |
|
Back to top |
|
|
Galeb 007 Guest
|
Posted: Fri Sep 08, 2006 5:05 pm Post subject: |
|
|
Can you imagine, there's The Data Compression News Blog
"c10n.info aims to provide you a comprehensive coverage of any new
happening related to data compression. All about the most recent
compression techniques, algorithms, products, tools and events. Or
anything else which can be of interest to data compression enthusiasts."
At present, the moderators are:
Sachin Garg (http://www.sachingarg.com)
Mark Nelson (http://www.MarkNelson.us)
In case you are wondering, the name c10n.info is a compressed version
of “CompressionNews” |
|
Back to top |
|
|
Joe Guest
|
Posted: Wed Oct 04, 2006 12:16 pm Post subject: |
|
|
Mac Help: Distribute app as "SIT", "ZIP", "DMG", "SEA", etc???
"A catch is that a self-mounting disk image has a resource fork, so if
you're going to post it for download, you must wrap it with MacBinary
or Binhex. I'm not sure about plain .img." |
|
Back to top |
|
|
delovski
Joined: 14 Jun 2006 Posts: 3524 Location: Zagreb
|
Posted: Thu Oct 12, 2006 3:27 pm Post subject: |
|
|
Compression Blog: 18 Years of ZIP format: Happy Birthday
"The ZIP file format was originally created in 1989 by Phil Katz, founder
of PKWARE, after a prolonged legal dispute between PKWare and System
Enhancement Associates (SEA) over the trademark name “ARC” (short for
“Archive”), the file name extension .arc and copyright issues over SEA’s
published code. (The name zip (meaning speed) implied that their product
would be faster than ARC and other compression formats of the time)." |
|
Back to top |
|
|
XNote Kapetan
Joined: 16 Jun 2006 Posts: 532
|
Posted: Sat Oct 14, 2006 9:37 pm Post subject: |
|
|
Create ZIP archives on the fly with a PHP script and a PEAR class
"When developing Web applications, it's quite likely that you will
encounter files in different formats -- CSV data, password files, XML-
encoded content, and different forms of binary data. Your PHP script can
interact with a ZIP files, both reading and creating them, via its ZZipLib
extension and PEAR's Archive_Zip class." |
|
Back to top |
|
|
Ike Kapetan
Joined: 17 Jun 2006 Posts: 3049 Location: Europe
|
Posted: Sat Nov 04, 2006 10:05 pm Post subject: |
|
|
Several ZIP related articles at the CodeProject:
1. XZip and XUnzip - Add zip and/or unzip to your app with no extra .lib or .dll,
by Hans Dietrich
"I have already introduced XZip in a previous article. This article
presents XZip and also XUnzip, which together allow you to add zip and
unzip to your application without using any .lib or .dll.
First, let me acknowledge the work of Lucian Wischik, who took the
many .c and .h files from Info-ZIP and produced the .cpp and .h files that
XZip is based on."
2. Zip Utils - clean, elegant, simple, C++/Win32,
by ljw1004
"This source code shows how to add zip/unzip functionality to your
programs. Lots of people have written their own wrappers around Zip,
and indeed there are several articles on CodeProject that are based on
earlier versions of my own code. How is this version different?"
3. ProjectZip 1.6 - Zip up the source code for your latest CodeProject article,
by .dan.g.
"Enter ProjectZip, a Visual Studio add-in which provides tools to zip the
active project and all its files to a single zip file. And all with a single button click.
The solution, in itself, is actually quite trivial; all the significant work was
in developing the appropriate wrapper classes to Gilles Volant's Multi-File
API built on top of the classic ZLib code base by Jean-loup Gailly and Mark Adler."
4. LiteZip and LiteUnzip,
by Jeff Glatt
"This project is largely based upon work by Lucian Wischik, who in turn
based his work on gzip 1.1.4, zlib, and info-zip which are by by Jean-Loup
Gailly and Mark Adler. Lucian's code has been reworked to be written in
plain C, using only the Win32 API, and packaged into 2 DLLs. (Also some
improvements to error-checking, some added functionality, and code-
reduction/stream-lining was accomplished)." |
|
Back to top |
|
|
Ike Kapetan
Joined: 17 Jun 2006 Posts: 3049 Location: Europe
|
Posted: Wed Nov 08, 2006 7:41 pm Post subject: |
|
|
QuickLZ 0.9 data compression library
"QuickLZ is an easy to use data compression library which is optimized
for speed and intended for real time compression." |
|
Back to top |
|
|
delovski
Joined: 14 Jun 2006 Posts: 3524 Location: Zagreb
|
Posted: Fri Nov 10, 2006 10:15 pm Post subject: |
|
|
Packsetup2 - generate a self-extracting installer by Lucian Wischik.
"Packsetup2 is a tool for making self-extracting installers. It is particularly
useful for the older versions of InstallShield that were bundled free with
Visual Studio and Borland, and which lacked a built-in option to create
self-extracting installers. Or, you can look at the source code to build your
own slicker self-extracting installers." |
|
Back to top |
|
|
delovski
Joined: 14 Jun 2006 Posts: 3524 Location: Zagreb
|
Posted: Mon Apr 23, 2007 6:18 pm Post subject: |
|
|
Slashdot: Exhaustive Data Compressor Comparison
"The author tests 11 compressors: 7-zip, ARJ32, bzip2, gzip, SBC Archiver,
Squeez, StuffIt, WinAce, WinRAR, WinRK, and WinZip. All are tested using 8
filesets: audio (WAV and MP3), documents, e-books, movies (DivX and MPEG),
and pictures (PSD and JPEG)." |
|
Back to top |
|
|
Ike Kapetan
Joined: 17 Jun 2006 Posts: 3049 Location: Europe
|
Posted: Fri Aug 24, 2007 6:19 pm Post subject: |
|
|
Mark Russinovich: The Case of the Failed File Compression
"Zipfldr.dll, the Explorer file compression DLL, was in most of the stack traces,
meaning that the compression engine itself was ultimately responsible for
the waste. Further, the number of repetitious operations explodes when you
compress multiple files." |
|
Back to top |
|
|
Ike Kapetan
Joined: 17 Jun 2006 Posts: 3049 Location: Europe
|
Posted: Fri Oct 24, 2008 8:45 pm Post subject: |
|
|
SO - Compression API on the iPhone
"zlib and bzip2 are available. And you can always add others, as long as
they'll (generally) compile under OS X." |
|
Back to top |
|
|
Ike Kapetan
Joined: 17 Jun 2006 Posts: 3049 Location: Europe
|
Posted: Fri Dec 19, 2008 8:14 pm Post subject: |
|
|
decaffeinated.org - DMG for Panther & Tiger
"To put those all–important image files into the DMG without cluttering it up,
we need to hide them. Or better yet: throw them all into a folder that will be
hidden." |
|
Back to top |
|
|
delovski
Joined: 14 Jun 2006 Posts: 3524 Location: Zagreb
|
Posted: Wed Aug 05, 2009 4:36 pm Post subject: |
|
|
SO - Is there any zip decompression for iPhone?
"I found the zlib and gzip decompression algorithms, but I need to compress
a whole directory and download it from the server. Would rather not go file
at a time." |
|
Back to top |
|
|
delovski
Joined: 14 Jun 2006 Posts: 3524 Location: Zagreb
|
|
Back to top |
|
|
Ike Kapetan
Joined: 17 Jun 2006 Posts: 3049 Location: Europe
|
|
Back to top |
|
|
delovski
Joined: 14 Jun 2006 Posts: 3524 Location: Zagreb
|
Posted: Wed Mar 02, 2016 8:49 pm Post subject: |
|
|
wakaba.c3.cx - The Unarchiver
"The Unarchiver is a much more capable replacement for "Archive
Utility.app", the built-in archive unpacker program on Mac OS X. The
Unarchiver is designed to handle many more formats than Archive
Utility, and to better fit in with the design of the Finder.
Supported file formats include Zip, Tar-GZip, Tar-BZip2, RAR, 7-zip, LhA,
StuffIt and many other old and obscure formats. See further down the page
for a more complete list of supported formats."
Plus there's the source code. |
|
Back to top |
|
|
Ike Kapetan
Joined: 17 Jun 2006 Posts: 3049 Location: Europe
|
Posted: Thu Feb 16, 2023 11:32 pm Post subject: |
|
|
git - Compress and then Decompress a string with zlib
strlen should be replaced by infstream.total_out
printf("Uncompressed size is: %lu\n", infstream.total_out);
printf("Uncompressed string is: %.*s\n", infstream.total_out, c);
line 45 should be
printf("Compressed size is: %lu\n", defstream.total_out); |
|
Back to top |
|
|
|