compression

Async Web Service calls to IIS7 with Dynamic Compression don't work.

We have some ASP.NET Web Services that fail under this perfect storm of conditions: IIS7 Dynamic Compression is turned on Web Service call is Asynchronous If it is IIS 6, or we turn Dynamic Compression off or call the web service synchronously, it works fine. It fails in the call to SoapHttpClientProtocol.EndInvoke(IAsyncResult as...

Library for decompression of most common file-archive formats?

I'm writing an application that needs to read the contents of & decompress common file-archival formats, including ZIP, RAR, and 7z. However, I can't seem to find a library that does all this and abstracts the functionality to the level I need, with simple functions in the vein of: ExtractArchive() ExtractArchiveTruncated() ReadArch...

Is there a compressed representation of Xpath?

I am working on a project which requires working with XPath (on HTML). The (multiple) XPath is transferred to client-side inside JavaScript. Since XPath strings are long, I was wondering if there is a shorter representation which is equivalent to XPath? Perhaps one which works sort of like huffman encoding but specific to XPath. ...

PHP iMagick image compression

Hi All, I'm fairly new to iMagick and have only found very limited documentation on the PHP library. I'm happily resizing images and writing them back to the hard drive, but I'm failing completely to compress the images using JPG for instance. This is the code I'm using so far function scale_image($size = 200,$extension) { if(!file_...

Compressing CSS and JS without mod_gzip and mod_deflate

I would like to compress the CSS and JS files on my server to minimise load times, problem. My hosting is with Streamline.net (big mistake, never go there) who will not activate mod_gzip and mod_deflate due to security issues. Does anyone have another way to compress these types of files (and image files too if poss) without going the ...

Oracle connection compression?

I have an application that uses JDBC to connect to Oracle 11g. Unfortunately, the machine my app is running on and the Oracle machine are connected via a somewhat low bandwidth connection. I haven't sniffed the connection, but I am pretty sure the data streaming across the connection is not compressed. For my application, I'm more con...

Why do I get an "abstract error" when calling TJclCompressArchive.Compress?

I have the following code that always fails with an "Abstract Error": arch := TJclCompressArchive.Create(GetDesktop + 'Support.7z'); try with arch do begin if FindFirst('*.log', faAnyFile, sr) = 0 then begin repeat AddFile(ExtractFileName(sr.Name),sr.Name); until FindNext(sr) <> 0; ...

DCT Compression - Block Size, Choosing Coefficients

I'm trying to understand the effect of the Block Size and best strategy of choosing the Coefficients in DCT compression. Basically I want to ask what I wrote here: http://stackoverflow.com/questions/4582/video-compression-what-is-discrete-cosine-transform/1948138#1948138 Lets assume the most primitive compression. Making block of an im...

How to compress JavaScript and CSS using gzip compression in Asp .Net 3.5 web application?

How to compress JavaScript and CSS using gzip compression in Asp .Net 3.5 web application? Gzip compression results error in CSS menu and validators scripts. ...

Distributed File Compression

I've been doing some thinking about data redundancy, and just wanted to throw everything out in writing before I kept going along with this (and furthermore to double check whether or not this idea has already been put into practice). Alright, so here goes. The internet is filled with redundant data, including text, images, videos, etc...

Delta row compression in PCLXL

Hi all, Is there a difference in the implementation of delta row compression between PCLXL and PCL5? I was using Delta Row compression in PCL5, but when I used the same method in PCLXL, the file is not valid. I checked the output using EscapeE and it says that the image data size is incorrect.. Could anyone point me to some material e...

A filesystem-based compression cache -- does this exist?

Hi. I'm looking for a program with really quite specific functionality, which hopefully exists so I don't have to implement it myself. I can best describe this hypothetical program as a filesystem-based cache of compressed copies of documents in the working directory. I've made a mock-up of what I would expect this program to do: jam...

How to implement the session compression in Java?

I was listening .Net Rocks! podcast (with Scott Hunter) where it was mentioned about session compression. I wonder how can I achieve the session compression in Java? ...

How to compress images in CodeIgniter, yet do not change their dimensions?

I have a site where users can upload images. I process these images directly and resize them into 5 additional formats using the CodeIgniter Image Manipulation class. I do this quite efficiently as follow: I always resize from the previous format, instead of from the original I resize using an image quality of 90% which about halves th...

c++ what in-memory compression library?

Hi! I already googled for in-memory compression and found quite a few libraries that offert this functionality. the zlib seems to be widely used - but it also seems to be quite old. I'm asking here whether there are newer, better alternatives. The data i want to compress in-memory are memorypools with size of a few megabytes (2-16 MB) ...

External JPG compression library for iPhone?

Does anyone know if any JPEG compression library that produces decent image quality has been ported to the iPhone? The built-in algorithm inside UIImageJPEGRepresentation produces huge files (compared to the quality), which makes uploading images from the phone over the network much slower than necessary. I can compress a JPG compressed ...

orkut/facebook like image compression

I want to know compression technique used by orkut/facebook albums which compresses image without losing the quality(visually) Or the alternative way to achieve the same effect ...

gzip compression in html

i want to apply gzip compression on my site , all my site is in html and i have following limitations hosting server is windows 2003 server. i can upload files, but i can't modify IIS (as most if users just having hosting account) i can't modify the .html files to .php as i have too many pages in html, changing file extension is big...

Linux: Adding named files to a zip archive, from a pipe

Is it possible to use something like: command.exe | zip >> archive.zip command2.exe | zip >> archive.zip ...and end up with two named files inside one zip archive. This way, if at all possible, would be neater than having temp files. ...

How to create full compressed tar file using Python?

how can I create a .tar.gz file which compress the data as much tar can... ...