Solved

File Compression

Posted on 2000-03-27
4
191 Views
Last Modified: 2013-11-20
I need a class or function that will compress a file. All it needs to do is take an input filename and an output filename and possibly amount of compression required.

Thankyou in advance for any help.
0
Comment
Question by:TSMITH
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 6

Expert Comment

by:snoegler
ID: 2661288
Check out www.gnu.org, they have lots of free code. Among others, you can find the compression functions from 'GZIP', which are slightly better compared to PKZIP/WinZIP.
I have adapted the source code within one of my own projects, it's not hard to do.
0
 
LVL 10

Accepted Solution

by:
RONSLOW earned 100 total points
ID: 2662986
look here

http://www.internz.com/compression-pointers.html

for links to libraries, source code, books etc on compression.

in particular, get zlib .. free portable compression. There is an article about it (with downloads) at

http://www.dogma.net/markn/articles/zlibtool/zlibtool.htm
0
 

Author Comment

by:TSMITH
ID: 2672431
I am now successfully using Zlib, cheers, it even has a little encryption function.
0
 
LVL 10

Expert Comment

by:RONSLOW
ID: 2672596
Good stuff .. I might even try it myself :-)
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
C++ BOOL WINAPI ReadFile fails on windows 10 when reading from USB cable 9 550
Separate into files by filename 12 92
sum28 challenge 31 117
java ^ examples 8 75
Introduction: Dialogs (1) modal - maintaining the database. Continuing from the ninth article about sudoku.   You might have heard of modal and modeless dialogs.  Here with this Sudoku application will we use one of each type: a modal dialog …
In this post we will learn different types of Android Layout and some basics of an Android App.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

751 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question