# Brunsli

> lossless JPEG repacking library

**Wikidata**: [Q104640177](https://www.wikidata.org/wiki/Q104640177)  
**Source**: https://4ort.xyz/entity/brunsli-q104640177

## Summary
Brunsli is a lossless JPEG repacking library designed to optimize the storage and transfer of JPEG files. It is free software available under the MIT License and is capable of running on Microsoft Windows and Unix-like operating systems. The library serves as a foundational technology, listed as a derivative work or predecessor to the JPEG XL image format.

## Key Facts
*   **Description:** A lossless JPEG repacking library.
*   **Software Type:** Free software (software library).
*   **License:** MIT License.
*   **Operating Systems:** Microsoft Windows and Unix-like operating systems.
*   **Initial Release:** Version 0.1 was released on October 28, 2019.
*   **Source Repository:** Hosted at `https://github.com/google/brunsli`.
*   **Related Formats:** Listed as a derivative work or predecessor to JPEG XL.
*   **Programming Language:** Identified in technical sources as Q2407 (C++).
*   **Repology Project:** Listed under the project name `brunsli`.
*   **AUR Packages:** Available as `brunsli` and `brunsli-git`.

## FAQs
### Q: What is the primary function of Brunsli?
A: Brunsli is a library designed for the lossless "repacking" of JPEG images. This implies it allows for the modification of the JPEG container or compression structure without losing any image quality or data.

### Q: Is Brunsli free to use?
A: Yes, Brunsli is classified as free software released under the MIT License, allowing users to freely run, study, change, and distribute it.

### Q: How is Brunsli related to JPEG XL?
A: Brunsli is listed as a derivative work or predecessor to JPEG XL. This suggests that the technology or concepts developed for Brunsli contributed to the creation of the JPEG XL format.

### Q: When was the first version of Brunsli released?
A: The first recorded version, version 0.1, was released on October 28, 2019.

## Why It Matters
Brunsli represents a significant development in the optimization of web and archival image formats. By functioning as a lossless JPEG repacking library, it addresses the critical need for efficient data compression without the quality degradation typically associated with re-encoding media files. While JPEG is the ubiquitous standard for digital images, its compression efficiency is outdated compared to modern standards. Brunsli bridges this gap by allowing existing JPEG files to be stored more efficiently—a process often referred to as "repacking"—while maintaining 100% data integrity.

The library's importance is underscored by its relationship to JPEG XL, a next-generation image format designed to replace legacy formats with superior compression and quality. Brunsli serves as a technical stepping stone or component within this broader evolution of image technology. Licensed under the permissive MIT License and maintained via a public Google repository, it provides a transparent, open-source tool for developers looking to implement advanced image optimization in their software. Its availability on both Microsoft Windows and Unix-like systems ensures it serves a wide range of technical infrastructures.

## Notable For
*   **Lossless Optimization:** It allows for the repacking of JPEGs without any loss of quality, a distinct advantage over re-encoding tools.
*   **JPEG XL Lineage:** It is a direct derivative work or predecessor to JPEG XL, positioning it at the forefront of modern image format development.
*   **Google Development:** The source code repository is hosted under the Google GitHub organization, indicating corporate backing for high-performance image processing.
*   **Permissive Licensing:** Released under the MIT License, allowing for broad commercial and private use.
*   **Cross-Platform Support:** natively functions across both Microsoft Windows and Unix-like environments.

## Body
### Technical Classification and Definition
Brunsli is defined strictly as a "lossless JPEG repacking library." As a software library, it provides the codebase necessary for developers to integrate JPEG repacking capabilities into larger applications. It is categorized as free software, ensuring that users have the liberty to run, study, modify, and distribute the code. The library is written in the programming language identified as Q2407 (C++).

### Development and Release History
The project is maintained in a public source code repository located at `https://github.com/google/brunsli`. The earliest recorded release in the provided data is **version 0.1**, which was published on **October 28, 2019**. The development trajectory links Brunsli to the **JPEG XL** format, identifying it as a derivative work or technological precursor.

### Licensing and Distribution
Brunsli is distributed under the **MIT License**. Despite being free software, the project retains a copyrighted status. The software is available through various channels, including the primary GitHub repository and Arch User Repository (AUR) packages under the names `brunsli` and `brunsli-git`.

### System Compatibility
The library is designed for broad compatibility across major operating system families. It officially supports **Microsoft Windows** (incepted 1985) and **Unix-like operating systems**, making it versatile for server environments, desktop applications, and cross-platform development pipelines.

## References

1. [Source](https://api.github.com/repos/google/brunsli)
2. [Release 0.1. 2019](https://github.com/google/brunsli/releases/tag/v0.1)
3. [Source](https://github.com/google/brunsli#introduction)