Tag

file compression

1 views collected around this technical thread.

Java Captain
Java Captain
May 23, 2025 · Backend Development

CompressUtil Java Utility for File Compression and Download

This article introduces a Java utility class named CompressUtil that provides methods for compressing files and directories into ZIP archives, handling duplicate filenames, creating new files safely, and offering HTTP endpoints for downloading the generated ZIP files in a single request.

JavaServletUtility
0 likes · 10 min read
CompressUtil Java Utility for File Compression and Download
Top Architecture Tech Stack
Top Architecture Tech Stack
Mar 23, 2025 · Backend Development

Design and Implementation of a Flexible Download Library for Spring Applications

This article explains how to build a Spring‑based download library that uses annotations to simplify downloading files, HTTP resources, or custom objects, supports both WebMvc and WebFlux, handles concurrency, compression, and event‑driven logging, and provides a modular architecture for extensibility.

AnnotationsJavaReactive
0 likes · 15 min read
Design and Implementation of a Flexible Download Library for Spring Applications
Python Programming Learning Circle
Python Programming Learning Circle
Dec 4, 2024 · Frontend Development

Creating Various PySimpleGUI Pop‑up Windows and a Simple File Compression Tool in Python

This tutorial demonstrates how to install PySimpleGUI, use its one‑shot and persistent window patterns, employ a range of popup functions for messages, text, input, file/folder selection, and progress bars, and combine them to build a lightweight Python compression utility.

GUIPopupPySimpleGUI
0 likes · 7 min read
Creating Various PySimpleGUI Pop‑up Windows and a Simple File Compression Tool in Python
Architecture Digest
Architecture Digest
Apr 8, 2024 · Backend Development

Design and Implementation of a Flexible Java Download Library for Spring MVC/WebFlux

This article introduces a Java library that simplifies file and resource download handling in Spring MVC and WebFlux by using annotations, reactive programming, customizable handlers, source factories, concurrent loading, compression, response writing, and event‑driven logging to support a wide range of download scenarios.

JavaReactiveSpring
0 likes · 15 min read
Design and Implementation of a Flexible Java Download Library for Spring MVC/WebFlux
Java Architect Essentials
Java Architect Essentials
Oct 18, 2023 · Backend Development

Design and Implementation of a Reactive Download Library for Spring MVC/WebFlux

This article introduces a Java library that simplifies downloading various resources—files, HTTP URLs, or custom objects—by using a single @Download annotation, reactive programming, customizable handlers, source factories, concurrent loading, compression, and event‑driven logging to streamline complex download workflows in Spring MVC and WebFlux applications.

AnnotationJavaReactive
0 likes · 16 min read
Design and Implementation of a Reactive Download Library for Spring MVC/WebFlux
Architecture Digest
Architecture Digest
Sep 7, 2023 · Backend Development

Design and Implementation of a Flexible Download Library for Spring MVC and WebFlux

This article explains how a Java download library uses a @Download annotation, reactive programming, handler chains, source abstractions, compression, and event logging to simplify downloading various resources—including files, HTTP URLs, and custom objects—while supporting both Spring MVC and WebFlux with concurrent processing and customizable pipelines.

JavaReactiveSpring
0 likes · 14 min read
Design and Implementation of a Flexible Download Library for Spring MVC and WebFlux
php中文网 Courses
php中文网 Courses
Jul 27, 2023 · Backend Development

Extracting and Creating RAR and ZIP Archives with PHP

This article explains how to use PHP's RarArchive and ZipArchive classes to extract RAR and ZIP files, create ZIP archives, and compress folders into RAR archives, providing step‑by‑step code examples and detailed explanations for each operation.

Backend DevelopmentPHPfile compression
0 likes · 7 min read
Extracting and Creating RAR and ZIP Archives with PHP
macrozheng
macrozheng
Apr 24, 2022 · Fundamentals

Why 7‑Zip Remains the Go‑To Free Compression Tool in 2024

This article reviews the open‑source 7‑Zip utility, covering its recent updates, cross‑platform support, key features such as high compression ratios and AES‑256 encryption, and provides step‑by‑step installation and command‑line usage instructions for Windows, macOS, and Linux.

7-Zipcommand linecross‑platform
0 likes · 10 min read
Why 7‑Zip Remains the Go‑To Free Compression Tool in 2024
Python Programming Learning Circle
Python Programming Learning Circle
Feb 17, 2022 · Fundamentals

Handling Various Compressed File Formats in Python (zip, tar.gz, rar, 7z)

This article explains how to work with common compressed file formats such as zip, tar.gz, rar, and 7z in Python, detailing the relevant modules, usage patterns, and providing complete code examples for creating and extracting archives on both Windows and Linux.

7zfile compressionrar
0 likes · 10 min read
Handling Various Compressed File Formats in Python (zip, tar.gz, rar, 7z)
Laravel Tech Community
Laravel Tech Community
Apr 28, 2021 · Backend Development

zip_entry_compressedsize() – Retrieve the Compressed Size of a ZIP Entry

The zip_entry_compressedsize() function in PHP returns the compressed size of a specific ZIP archive entry, taking a zip_entry resource obtained from zip_read() as its parameter and providing the size as an integer value.

PHPbackenddocumentation
0 likes · 1 min read
zip_entry_compressedsize() – Retrieve the Compressed Size of a ZIP Entry
Python Programming Learning Circle
Python Programming Learning Circle
Mar 13, 2021 · Frontend Development

Creating Dialog Windows and a Simple Zip Utility with PySimpleGUI

This tutorial demonstrates how to install PySimpleGUI, design one‑shot and persistent windows, use various popup functions for messages, text input, file and folder selection, progress meters, and finally combine these features to build a lightweight Python zip‑compression tool with full code examples.

AutomationDialogGUI
0 likes · 7 min read
Creating Dialog Windows and a Simple Zip Utility with PySimpleGUI
Code Ape Tech Column
Code Ape Tech Column
Feb 9, 2021 · Backend Development

Optimizing Java File Compression: From Buffered Streams to NIO Channels and Memory‑Mapped Files

This article demonstrates how to improve Java file compression performance by replacing unbuffered FileInputStream with BufferedInputStream, then leveraging NIO Channels, transferTo, memory‑mapped files, and Pipe, showing step‑by‑step code examples and timing results that reduce processing time from 30 seconds to about 1 second.

Buffered StreamsJavaMemory-Mapped Files
0 likes · 11 min read
Optimizing Java File Compression: From Buffered Streams to NIO Channels and Memory‑Mapped Files
Top Architect
Top Architect
Nov 15, 2020 · Backend Development

Optimizing Java File Compression: From Buffered Streams to NIO Channels and Memory‑Mapped Files

This article explains how to improve the performance of Java code that compresses multiple images into a zip archive by replacing unbuffered streams with buffered I/O, then using NIO channels, direct buffers, memory‑mapped files, and pipes, achieving a reduction from 30 seconds to about 1 second.

Buffered StreamsJavaMemory-Mapped Files
0 likes · 12 min read
Optimizing Java File Compression: From Buffered Streams to NIO Channels and Memory‑Mapped Files
Java Captain
Java Captain
Nov 12, 2020 · Backend Development

Optimizing Java File Compression: From Buffered Streams to NIO Channels, Memory‑Mapped Files and Pipes

This article demonstrates how to dramatically reduce the time required to compress multiple large images in Java by progressively applying buffered streams, NIO channels, direct buffers, memory‑mapped files and pipe techniques, measuring each optimization and explaining the underlying I/O mechanisms.

Buffered StreamsJavaMemory-Mapped Files
0 likes · 13 min read
Optimizing Java File Compression: From Buffered Streams to NIO Channels, Memory‑Mapped Files and Pipes
Youku Technology
Youku Technology
Sep 10, 2020 · Fundamentals

ZIP Streaming Decompression: Technical Principles and Implementation

The article explains Alibaba Youku’s picture‑book team’s streaming ZIP decompression technique that bypasses the end‑of‑file central directory by using each entry’s local file header, supports PKWARE and AES‑encrypted archives, and achieves up to 100 % faster extraction, reducing a 30 MB file’s load time to under one second.

AES encryptionCentral DirectoryLocal File Header
0 likes · 9 min read
ZIP Streaming Decompression: Technical Principles and Implementation
Test Development Learning Exchange
Test Development Learning Exchange
May 6, 2018 · Fundamentals

Python Script to Compress a Directory into a ZIP Archive

This concise tutorial shows how to use Python's built‑in zipfile module to recursively collect all files from a specified folder and create a compressed ZIP archive, including example code and a brief note on where to find more automation resources.

file compressionscriptingzip
0 likes · 2 min read
Python Script to Compress a Directory into a ZIP Archive