compression

Best unzip class (to folder hierarchy) for the iPhone SDK (3.0)?

Downloading .zip file from server after in app purchase, then want to simply unpack it into the original folder hierarchy in-place (not into a new containing folder), and trash the zip if everything checks out. Feedback on how the unpacking is progressing (1/progression) to show the user would be helpful. As would clean error handling ...

Issue with Zipped Streams from .Net and reading them from Java

I'm trying to zip a stream from .Net that can be read from Java code. So as input I have a byte array, which I want to compress and I'm expecting to have a binary array. I've tested with SharpZipLib and DotNetZip to the compressed byte array, but unfortunately I always get an error when trying to uncompress it using the java.util.zip.De...

How to extract all the zipped subdirectories and file using java program

Hi, I have a a zipped file. That file contains various directories and files also. I want to extract all those and save in a specified path. So How to write a java program to extract the zipped file. Thanks Sunil Kumar Sahoo ...

How to process compressed data in Java

I have some data which takes up more than 50MB in an uncompressed file, but compresses down to less than half a MB using gzip. Most of this is numerical data. I'm trying to figure out how to process this data without having to uncompress it completely. For example, if this data contains a couple of strings and 5 or so numerical values...

JavaScript syntax checking and compression

Do you know a good syntax checker and compressor for JavaScript? We are currently using JSLINT as syntax checker and YUI for compression. Note we are using the library ExtJS for UI. ...

How to enable IIS compression for WCF services?

Hi, I currently use a custom gzip encoder for my WCF service. I want to replace it with the built-in IIS 7 compression if that is possible. I can't find info online on how to that. Is there any way to enable IIS 7 compression for WCF services? Do you know if this will be supported out-of-the-box with .Net 4? Edit June 15th: I'm still...

The best compressor

What is the best memory and file compressor lzo, bzip2, zlib or lzma ? ...

Compress data before storage on Google App Engine

I im trying to store 30 second user mp3 recordings as Blobs in my app engine data store. However, in order to enable this feature (App Engine has a 1MB limit per upload) and to keep the costs down I would like to compress the file before upload and decompress the file every time it is requested. How would you suggest I accomplish this (...

How to find if a request is for js or css in httpHandler

Hi guys, is there any way to find if a particular request is for JS or CSS in httphandler to improve the performance of my website i was using HttpCompress from Code Project http://www.codeproject.com/KB/aspnet/httpcompression.aspx?msg=2544100 but since it is combining all the js it is breaking my javascript in many places...so i want...

Where is 7-Zip's compression source code?

I need the source code for the compression used in 7-Zip. Does anyone have a link? ...

Compressing and Archiving the files in the folder using Java Runtime

Hi, I am trying to Compress and Archive all the files in a folder, using Java Runtime class. My code snippet looks as this : public static void compressFileRuntime() throws IOException, InterruptedException { String date = Util.getDateAsString("yyyy-MM-dd"); Runtime rt = Runtime.getRuntime(); String archivedFile = "myuse...

BlackBerry - Unpack Zip File

I'm developing a BlackBerry application in which I need to unpack a zip file compressed with PKZIP. The package could have one file in it, or it could have 10; it will vary in each case. I know that the BlackBerry API has native support for GZip and Zlib, although I'm pretty sure that these methods aren't going to be helpful in my case...

What Is The Best Python Zip Module To Handle Large Files?

EDIT: Specifically compression and extraction speeds. Any Suggestions? Thanks ...

Java Path compression

Hi, I have to create a method find that would use a local Set to collect the objects and the root. Then, I would compress the object e (in the parameter) and have the roost as its parent. Then, I would return the reference to the root. I can use the Graph, Map, and set class since it was imported. But, how can I call the parent of the ro...

Rails: Sending cached gzip content directly to client using caches_action

I am using caches_action to cache one of the action's response I want to save in the cache compression response and then send it as it is if browser supports that compression otherwise decompress it and then send it. Some characteristics of my content: 1. It rarely changes 2. My server gets requests from 90% gzip enabled browsers Do y...

PDF file compression

I have a requirement to dynamically generate and compress large batches of PDF files. I am considering the usual algorithms Zip Ace Rar Any other suggestion are welcome. My question is which algorithm is likely to give me the smallest file size. Speed and efficency are also important factors but size is my primary concern. Also do...

What is the meaning of O( polylog(n) )? In particular, how is polylog(n) defined?

Brief: When academic (computer science) papers say "O(polylog(n))", what do they mean? I'm not confused by the "Big-Oh" notation, which I'm very familiar with, but rather by the function polylog(n). They're not talking about the complex analysis function Lis(Z) I think. Or are they? Something totally different maybe? More detail: Mos...

Zip3.0 exclude file list

Does Info-Zip's latest release Zip3.0 support exclude list file? As in, can one pass a file(containing names of the files to be excluded) name as a parameter to zip? I could see that one can pass only exclude patterns as arguments. Is there any limit on the number of exclude patterns that one can pass? ...

How to compress an FLV movie in java?

How can we compress the flv movie? Is there any free library which i can use? for compressing the video i can go for reducing the resoultion as well, even framerate reducing is acceptable to me. ...

Transparent SQLite Data Compression

I am looking for an existing solution for transparent SQLite 3 zlib compression using a custom VFS implementation and a custom IO methods implementation. Is anyone aware of an existing project that already does that, or will I have to roll my own? I vaguely remember seeing something similar a year ago, but can't find it anymore. ...