Compression Assemblies for C#/.Net?
I know about SharpZipLib...but what else is out there? I'd like to make myself a file archiving utility that supports multiple compression formats. Any ideas? ...
I know about SharpZipLib...but what else is out there? I'd like to make myself a file archiving utility that supports multiple compression formats. Any ideas? ...
Hello, i need to compress or optimize the html page to give better perfomance,, so please tell me what tool will be best for it,,, ...
I have an application for storing many strings in a TStringList. The strings will be largely similar to one another and it occurs to me that one could compress them on the fly - i.e. store a given string in terms of a mixture of unique text fragments plus references to previously stored fragments. StringLists such as lists of fully-qua...
Looking at the node in a Web.config, I see that it allows both httpCompression and urlCompression elements. What's the difference between the two? I just want to do standard gzip, which one should I use? ...
EDIT // open output file for writing if ( ( outfilefd = fopen( file_name, "w+t" ) ) == NULL ) { fprintf(stderr, "Unable to create file\n"); exit(1); } Write to the file, then need to zip it. Opening a .z file and then calling def() FILE *zipFile; if ( ( zipFile = fopen( "C:\\LOGS\\test.txt.z", "w+t" ) ...
This is a theoretical question, so expect that many details here are not computable in practice or even in theory. Let's say I have a string s that I want to compress. The result should be a self-extracting binary (can be x86 asm but can also be some other hypothetical Turing-complete low level language) which outputs s. Now, we can ea...
This is a theoretical question, so expect that many details here are not computable in practice or even in theory. Let's say I have a string s that I want to compress. The result should be a self-extracting binary (can be x86 asm but can also be some other hypothetical Turing-complete low level language) which outputs s. Now, we can ea...
The user, when he clicks a link, needs to get my compressed html file that his browser will uncompress automatically, without any fuss. What must I do on the server side to accomplish this? Thanks! -- ben ...
I do not know much about compression algorithms. I am looking for a simple compression algorithm (or code snippet) which can reduce the size of a byte[,,] or byte[]. I cannot make use of System.IO.Compression. Also, the data has lots of repetition. I tried implementing the RLE algorithm (posted below for your inspection). However, it pr...
I am not very good at c at all. I have tried to capture the essense of what the C code does in C# using this wikipedia article. However my version is totally different and does not achive the same compression that the C code does. Therefore, I'd like to port the following code from C to C#. However, i do not need it to read/write to file...
My limited (and probably wrong?) understanding of video compression is that intra-frames are completely independent. In other words, all the picture data for a intra frame (key frame) is stored in its entirety for that frame. It's the following inter frames (P and B frames in H.264, I think) that depend on the data in other frames to b...
I'm building a web site and have multiple js files all in one directory. When I save any one of the js files I want a script to run that will compile and compress all files using the google closure compiler jar. Example from Google Closure Compiler README: java -jar compiler.jar --js=in1.js --js=in2.js ... --js_output_file=out.js Is ...
When using CSS3 and custom fonts, the client needs to download .oft or .ttf files. These files can be >50K. Can these files be compressed? How? Assuming Apache web server. I am looking for a compression technique or an Apache configuration. Any ideas will help because downloading +50K files should be prevented. ...
I've got a compressed string of bytes coming out of a database which I need to decompress so as to retrieve the rtf file in there. This is the requirement. I tried to use DotNetZip and it has given me a 50% success ratio. The failed 50% gave me a unsupported encryption (0x09, deflate64) error. So I think my problem is that some of the c...
Hi Guys, Just wondering how to set Cache Control as cacheControlMaxAge="31536000" ? Unsure how to get this using IIS ? <configuration> <system.webServer> <staticContent> <clientCache cacheControlMode="UseMaxAge" cacheControlMaxAge="00:00:15" /> </staticContent> </system.webServer> </configuration> Thx ...
hi, i want to know which approach is better to saving Webpage content to database for caching? Using ntext data-type and save content as flat string Using ntext, but compress content and then save Using varbinary(MAX) to save content (how i can convert flat string to binary? ;-)) An other approach which you are suggest to me UPDATE ...
I want to enable HttpCompression in IIS6.0 using adsutil.vbs. I understand that i can enable it for generic server level as well as for a specific website under IIS. (I used this http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/502ef631-3695-4616-b268-cbe7cf1351ce.mspx?mfr=true as a primary resource).. However ...
Is there a simple way, either through the Java libraries or a third party library to zip an existing file in Java? I am already familiar with the approach of creating a ZipOutputStream, adding ZipEntry objects to that, and then reading the data from a stream into the ZipOutputStream, I'm looking for a simpler way to zip up one File. Mos...
i have an app that uploads some video through an http POST command to a server. on the iPhone 4 (and possibly the 3GS) when the user uploads a 34 second video a little thing pops up at the bottom of the screen and says that the video is being compressed. probably for faster upload. problem being is that the server guy says he can't uncom...
Using deflate() I was unable to open the zipped file using WinZip. Are the gz() the only ones compatable with WinZip? or is there some sort of mode I must call deflate() with? Thanks. ...