compressed

Loading ruby source from a zip archive?

I have a mod_rails server where disk space, oddly enough, is at a premium. Is there a way for me to compress my application's source, like Python's zipimport? There are obvious disadvantages to this, so I should probably just break down and spend a nickel on disk space, but I figured it'd be worth a shot. ...

How to create Bitmap from (Compressed format) Bitmap Info Header and Scanlines in WPF?

I am using SampleGrabber in DirectShow on windows 7, I noticed that the Code supplied by Microsoft and many other providers dont work because the Bitmap data header reports that bitmap data is compressed, however the new Bitmap(width, height, stride, pixelformat, scanlines) doesnt have any parameters to specify that the buffer has compre...

MAC, iPhone: Changing sample rate for recording IMA4 to .caf results in slow playing audio

I am currently trying to record compressed audio with the iPhone Simulator to a .caf container. More specifically I am using the IMA4 codec. It works fine if I have the Sample rate set to 44KHZ. But if I lower the setting to any other value (eg. 22KHZ, 16, or 8KHZ) the recorded file is being played back much slower?! This does not happen...

How to omit file path compression?

I have a process that injects environment variables while the process is running and all that works fine. However, when I expand one of the environment variables (Environment.ExpandEnvironmentVariables in C#) sometimes I get a compressed value of the file path: d:\progra~1\mifbef~1... instead of d:\Program Files\... Functionally ...

GZIP compressed web service provider

I am consuming a web service method and i want to send GZIP compressed file to service provider as request. Is it necessary that if service provider have implemented GZIP at their end then only they will receive GZIP compressed file other wise it will ignored or mis-readed at their end. What will happen if we send GZIP compressed file t...