Igor Delovski Board Forum Index Igor Delovski Board
My Own Personal Slashdot!
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Zip API

 
Post new topic   Reply to topic    Igor Delovski Board Forum Index -> General Programming
General Programming  
Author Message
delovski



Joined: 14 Jun 2006
Posts: 3522
Location: Zagreb

PostPosted: Sat Aug 26, 2006 8:53 am    Post subject: Zip API Reply with quote

At JoS: Zip API

"Is there a free API out there which allows you to ZIP and unzip FILES?"
Back to top
View user's profile Send private message Visit poster's website
Galeb 007
Guest





PostPosted: Fri Sep 08, 2006 5:05 pm    Post subject: Reply with quote

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





PostPosted: Wed Oct 04, 2006 12:16 pm    Post subject: Reply with quote

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: 3522
Location: Zagreb

PostPosted: Thu Oct 12, 2006 3:27 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
XNote
Kapetan


Joined: 16 Jun 2006
Posts: 532

PostPosted: Sat Oct 14, 2006 9:37 pm    Post subject: Reply with quote

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
View user's profile Send private message
Ike
Kapetan


Joined: 17 Jun 2006
Posts: 3025
Location: Europe

PostPosted: Sat Nov 04, 2006 10:05 pm    Post subject: Reply with quote

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
View user's profile Send private message
Ike
Kapetan


Joined: 17 Jun 2006
Posts: 3025
Location: Europe

PostPosted: Wed Nov 08, 2006 7:41 pm    Post subject: Reply with quote

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
View user's profile Send private message
delovski



Joined: 14 Jun 2006
Posts: 3522
Location: Zagreb

PostPosted: Fri Nov 10, 2006 10:15 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
delovski



Joined: 14 Jun 2006
Posts: 3522
Location: Zagreb

PostPosted: Mon Apr 23, 2007 6:18 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Ike
Kapetan


Joined: 17 Jun 2006
Posts: 3025
Location: Europe

PostPosted: Fri Aug 24, 2007 6:19 pm    Post subject: Reply with quote

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
View user's profile Send private message
Ike
Kapetan


Joined: 17 Jun 2006
Posts: 3025
Location: Europe

PostPosted: Fri Oct 24, 2008 8:45 pm    Post subject: Reply with quote

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
View user's profile Send private message
Ike
Kapetan


Joined: 17 Jun 2006
Posts: 3025
Location: Europe

PostPosted: Fri Dec 19, 2008 8:14 pm    Post subject: Reply with quote

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
View user's profile Send private message
delovski



Joined: 14 Jun 2006
Posts: 3522
Location: Zagreb

PostPosted: Wed Aug 05, 2009 4:36 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
delovski



Joined: 14 Jun 2006
Posts: 3522
Location: Zagreb

PostPosted: Fri Jun 25, 2010 1:34 am    Post subject: Reply with quote

MF - How to download a zip file and unzip it?

"I need to download a zip file and unzip it in my app, what can I do?"
Back to top
View user's profile Send private message Visit poster's website
Ike
Kapetan


Joined: 17 Jun 2006
Posts: 3025
Location: Europe

PostPosted: Wed Jan 22, 2014 10:24 pm    Post subject: Reply with quote

github.com - soffes / ssziparchive

"Utility class for zipping and unzipping files on iOS and Mac"

Based on: ziparchive

"An Objective C class for zip/unzip on iPhone and Mac OSX"

How to use it: Creating a document centric iPhone/iPad application with own file format using ZipArchive

"The star of today’s article is ZipArchive – the Objective-C library I’m
going to use for compressing and uncompressing my custom zip files. It
is completely free and you can download it..."
Back to top
View user's profile Send private message
delovski



Joined: 14 Jun 2006
Posts: 3522
Location: Zagreb

PostPosted: Wed Mar 02, 2016 8:49 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Ike
Kapetan


Joined: 17 Jun 2006
Posts: 3025
Location: Europe

PostPosted: Thu Feb 16, 2023 11:32 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Igor Delovski Board Forum Index -> General Programming All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Delovski.hr
Powered by php-B.B. © 2001, 2005 php-B.B. Group