www.GetXFactor.com

Leading Technology, Science,
Agriculture News and information


Part of the Identityscape.com network...

getxfactor.com jmoodmusic.com smartbusinesschoices.com mintdepot.com lowfaresalways.com evangelicalview.com shoppingpodder.com soproudlywehail.com webnews.ws currenthumor.com

 

 

zlib routines
   Science and Technology news... Forum Index -> Compression Forum  
View previous topic :: View next topic  
Author Message
Sergio D. Caplan
Guest






PostPosted: Tue Aug 05, 2003 1:03 am    Post subject: zlib routines Reply with quote

am looking at using zlib in my app to decrompress ONLY files....

is there any high-level function where i just say...here is the input
filename , the output filename....now just go and do your magic?

thanks ahead,


serg
Back to top
Thomas Richter
Guest






PostPosted: Sun Aug 10, 2003 6:04 pm    Post subject: Re: zlib routines Reply with quote

Sergio D. Caplan wrote:
[quote]am looking at using zlib in my app to decrompress ONLY files....

is there any high-level function where i just say...here is the input
filename , the output filename....now just go and do your magic?
[/quote]
Well, almost. Check the zlib, specifically its gzopen() call. It allows
you to read from a compressed file much in the same way as you read from
an uncompressed file. Now, if that>s not magic enough... (-;

Greetings,
Thomas
Back to top
apm
Guest






PostPosted: Mon Aug 11, 2003 2:13 pm    Post subject: Re: zlib routines Reply with quote

Thomas Richter <thor@math.tu-berlin.de> wrote in message news:<3F3642CD.3060106@math.tu-berlin.de>...
[quote]Sergio D. Caplan wrote:
am looking at using zlib in my app to decrompress ONLY files....

is there any high-level function where i just say...here is the input
filename , the output filename....now just go and do your magic?

Well, almost. Check the zlib, specifically its gzopen() call. It allows
you to read from a compressed file much in the same way as you read from
an uncompressed file. Now, if that>s not magic enough... (-;

Greetings,
Thomas
[/quote]
There is a library that will do what you want. Check out:
http://zziplib.sf.net
But be aware that there is an unusual license attached. It resembles
the LGPL but is different in a few ways that raise a question mark
over whether or not your code has to be GPL>d if you statically link
with zziplib.

-Andrew Marlow
Back to top
Display posts from previous:   
   Science and Technology news... Forum Index -> Compression Forum  
Page 1 of 1
All times are GMT

 
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