Click here to Skip to main content
13,090,299 members (75,050 online)
Rate this:
Please Sign up or sign in to vote.
See more:

how cane reduce size for any file using C# windows form
Posted 21-Nov-12 12:09pm
Sergey Alexandrovich Kryukov 21-Nov-12 18:36pm
File size and Form? Don't mix different things in one pile. Ever heard of separation of concerns?

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Please see my comment to the question. It's not clear what do you mean by "reduce" here, but you should understand that most files can be effectively compressed in smaller size in a lossless way:[^].

If could be, among many other algorithms, Deflate, GZip or ZIP. Please see:[^].

For working with ZIP, you can use #ziplib:[^].

Another option is using SevenZipSharp, a .NET wrapper of the famous 7-Zip:[^],[^].

Both ZIP libraries are open-source.


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

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web02 | 2.8.170813.1 | Last Updated 21 Nov 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100