Does anyone know what compression to use in Java for creating KMZ files that have images stored within them? I tried using standard Java compression (and various modes, BEST_COMPRESSION, DEFAULT_COMPRESSION, etc), but my compressed file and the kmz file always come out slightly different don't load in google earth. It seems like my png i...
Hi,
I'm sorry for the generic title of this question but I wish I was able to articulate it less generically. :-}
I'd like to write a piece of software (in this case, using C++) which translates a stream of input tokens into a stream of output tokens. There are just five input tokens (lets call them 0, 1, 2, 3, 4) and each of them can ...
I need to (un)zip some files and after some googling I haven't found any utility for doing it. I know I can do it with built-in java.uitl.zip.* classes but isn't there any utility, that will make it easer, best like this:
SomeClass.unzip("file_name.zip", "target_directory");
or
SomeClass.zip("source_directory", "target_file_name.zip"...
I like to zip multiple files which are being created dynamically in my web application. Those files should be zipped. For this, i dont want to use any third-party tools. just like to use .net api in c#
...
Hello,
I have a archive (I know its a game compression) and I am trying to figure out how it is compressed so I can add files to it using C#. It opens/works in 7zip, and winrar. But when I use ZipForge/ComponentAce archive reference it says Invalid File.
Any help?
Steve
...
I found this article http://archive.webproasp.com/webproasp-27-20080620CompressingWebResourceaxdtoReduceYourWebsiteSize.html
and it explains how to compress axd files (and js files).
I wondered if there is any advantage in doing this over letting IIS handle the compression.
...
Hello,
I'm trying to find a Python library that would take an audio file (e.g. .ogg, .wav) and convert it into mp3 for playback on a webpage.
Also, any thoughts on setting its quality for playback would be great.
Thank you.
...
We need a cross platform solution for compressing files. Our server runs on Windows XP/Vista/7 and 3 Unix distros, SunOS, HPUX, and AIX. Our server creates files that needed to be zipped before being set back to the client. Our initial thought was to compress the files with jar, as most of the servers have java installed, but apparent...
When making a webpage every byte counts. Especially if the webpage is heavy on graphics, has large backgrounds, etc.
For that reason I want to find a good tool to compress my huge background files into as small JPEG files as possible, while still maintaining an acceptable quality.
I know that a lot of things depend on the compression a...
I'm compressing a string using PHP's gzcompress() function:
http://us2.php.net/manual/en/function.gzcompress.php
I'd like to take the output from the PHP compression function and decompress the string in Java. Can anyone send me down the right path?
Thanks so much!
...
I'm trying to write an adobe air application that compresses multiple files into one archive and then uploads that archive to a web server. Currently I'm using the fzip library. The problem is fzip requires me to load the entire file into memory before serializing it to the zip format. I'm looking for an example of doing streaming fil...
The top result on google http://csharpfeeds.com/post/4382/A%5Fshorter%5Fand%5FURL%5Ffriendly%5FGUID.aspx will get one down to 00amyWGct0y_ze4lIsj2Mw
Can it go smaller than that?
...
I have an online tool through which another user upload photos. The user is having issues when using slower bandwidth.
I found this
http://en.wikipedia.org/wiki/Lossless%5Fdata%5Fcompression
1) Is there any tool or API that utilizes this algorithm?
2) Will it slow the upload process for being able to compress locally?
...
I use the following code to create a thumbnail on the site:
$small_image = new Imagick($large_path."/".$pic['image']);
$small_image->thumbnailImage(100, 0);
$small_image->writeImage($small_path."/".$pic['image']);
It sets it's own quality and I tried adding
$small_image->setCompression(imagick::COMPRESSION_JPEG);
$small_image->setCom...
The (very outdated) page for LZO contains a link to a Java implementation. There is also the vague promise of "New ... Java ... interfaces ... sometime in the near future.", but I believe that has been there for a few years.
This makes me think that the old LZO Java implementation may have been slow. Are there any benchmarks measuring...
Hello, I was wondering if there is a compression algorithm, in common use today, that contains a fixed point, i.e., an identity file.
To explain, let's call C : byte[] -> byte[] a function that represents the compression algorithm. I want to know if there exists (and what it is, if it is possible to determine in reasonable time) a file ...
Okay so I have some data streams compressed by python's (2.6) zlib.compress() function. When I try to decompress them, some of them won't decompress (zlib error -5, which seems to be a "buffer error", no idea what to make of that). At first, I thought I was done, but I realized that all the ones I couldn't decompress started with 0x78DA ...
How do I take advantage of HTTP 1.1's compression when downloading web pages using Python?
I am currently using the built-in urllib module for downloading web content. Reading through the documentation I couldn't find any information that is indeed using compression.
Is it already built-in into urllib or is there another library that ...
I'm using a combination of Paul Duncans php ZipStream (http://pablotron.org/software/zipstream-php/) on the server side, for on-the-fly creation of zips, and Fzip (http://codeazur.com.br/lab/fzip/) on the Flex/Air client side.
Works fine in Air, but when running Flex in browser, the zip needs to include a Adler32 checksum in the header ...
I've had some experience dealing with neural networks and probabilistic models, but I'm looking for a resource specifically regarding the practical use of artificial neural networks in data compression.
Any suggestions?
...