Click here to Skip to main content
15,893,668 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Please help to me
Aboute this program?
how to reduce file size from mb to kb + by c#
Example create a program like winrar.

[edit]SHOUTING removed - OriginalGriff[/edit]
Posted
Updated 18-Nov-12 20:56pm
v2
Comments
OriginalGriff 19-Nov-12 2:56am    
DON'T SHOUT. Using all capitals is considered shouting on the internet, and rude (using all lower case is considered childish). Use proper capitalisation if you want to be taken seriously.

Use ICSharpCode.SharpZipLib.dll. You can find it on web.
 
Share this answer
 
Start reading here: http://en.wikipedia.org/wiki/Data_compression[^] - it provides a good overview. The follow the links - they go to more involved explanations of the various methods.

Then when you have decided what kind of compression you need, you can start implementing them.

But don't expect this to be a simple process. WinRar and WinZip pout a lot of research into this, and many files are already compressed, so significant gains becomes very difficult to achieve.

Alternatively, you could use zSharpLib: http://www.icsharpcode.net/OpenSource/SharpZipLib/[^]
 
Share this answer
 
You already asked this question in how to reduce file size from mb to kb + by C++[^], and marked it as solved. If you have additional information or questions then please edit the original.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900