About 216,000 results
Open links in new tab
  1. To Compress a big file in a ZIP with Java - Stack Overflow

    Mar 14, 2010 · Sounds like a bad idea if you have such large objects in your response. Consider returning an URL instead from where the zip-file can be retreived. Plain servlets allow for a byte …

  2. Compressing large files using blocks in Java - Stack Overflow

    Feb 7, 2014 · I am compressing files of over 2GB in Java using a consecutive application of two compression algorithms; one LZ based and one Huffman-based. (This is similar to DEFLATE). Since …

  3. What's a good compression library for Java? - Stack Overflow

    Sep 24, 2008 · Depending on the server, it probably has support for compression (especially with deflate/gzip). The problem then becomes on the client. If the client is a browser it probably already …

  4. Implementing in-memory compression for objects in Java

    Feb 21, 2015 · The reason it is smaller is it just does the compression whereas the alternatives add file format extensions like CRC checks and headers. If size is important, you might like to have a simple …

  5. How can I compress images using java? - Stack Overflow

    This is only for one image but I am sure I will have lots of images for compression. so how can I compress image by passing bytes or percentage as a parameter or using anyother calculations in …

  6. How to use LZMA SDK to compress/decompress in Java

    Mar 30, 2011 · The guys that invented the XZ format build a pure java implementation of the XZ archive compression / extraction algorithms The XZ file format is designed to store 1 file only. Thus you need …

  7. How to reduce PDF file size programmatically in Java?

    Jan 16, 2013 · 0 You can use ghostscript, invoking the exe with specific parameters for print your pdf with the ghostscript's pdfwriter (example: sDEVICE=pdfwrite -sOutputFile=myfile.pdf). There are …

  8. java - PDF Compression Techniques - Stack Overflow

    May 4, 2016 · I am trying to compress PDF document in Java. The original file size is 1.5-2 MB and we need to bring it down to less than 1 MB. I tried using iText compression on it, however the results are …

  9. java - Using GZIP compression with Spring Boot/MVC/JavaConfig with ...

    123 We use Spring Boot/MVC with annotation-based java-config for series of RESTful services and we want to selectively enable HTTP GZIP stream compression on some API responses.

  10. file - LZ4 and Zstd for Java - Stack Overflow

    Is there any Best Java Compression Library available for LZ4 and ZStd. I have tried with apache commons ( which is zstd-jni implementation) String fileURL = TestFileUtil.getFileURL(