Papers
arxiv:2509.19624

Raw-JPEG Adapter: Efficient Raw Image Compression with JPEG

Published on Sep 23
Authors:
,

Abstract

RawJPEG Adapter is a preprocessing pipeline that converts raw images into a format suitable for JPEG compression, achieving higher fidelity and better compression ratio than direct JPEG storage.

AI-generated summary

Digital cameras digitize scene light into linear raw representations, which the image signal processor (ISP) converts into display-ready outputs. While raw data preserves full sensor information--valuable for editing and vision tasks--formats such as Digital Negative (DNG) require large storage, making them impractical in constrained scenarios. In contrast, JPEG is a widely supported format, offering high compression efficiency and broad compatibility, but it is not well-suited for raw storage. This paper presents RawJPEG Adapter, a lightweight, learnable, and invertible preprocessing pipeline that adapts raw images for standard JPEG compression. Our method applies spatial and optional frequency-domain transforms, with compact parameters stored in the JPEG comment field, enabling accurate raw reconstruction. Experiments across multiple datasets show that our method achieves higher fidelity than direct JPEG storage, supports other codecs, and provides a favorable trade-off between compression ratio and reconstruction accuracy.

Community

What if raw image files could be as small as JPEGs?

Raw formats like DNG are typically tens of megabytes per image, making them expensive to store and manage, even though they’re essential for high-quality post-capture editing and photofinishing.

We introduce a lightweight, learnable pre-processing pipeline that prepares camera raw images for standard JPEG compression. The pipeline uses spatial-domain (and optionally frequency-domain) transforms and remains fully invertible, with all parameters compact enough (under 64 KB) to fit inside the JPEG file’s comment (COM) segment. After JPEG decoding, the original raw image can be accurately reconstructed.

The result is high-fidelity raw-to-JPEG storage with dramatically reduced file size, without giving up the benefits of raw.

Links: paper - code

Sign up or log in to comment

Models citing this paper 0

No model linking this paper

Cite arxiv.org/abs/2509.19624 in a model README.md to link it from this page.

Datasets citing this paper 0

No dataset linking this paper

Cite arxiv.org/abs/2509.19624 in a dataset README.md to link it from this page.

Spaces citing this paper 0

No Space linking this paper

Cite arxiv.org/abs/2509.19624 in a Space README.md to link it from this page.

Collections including this paper 0

No Collection including this paper

Add this paper to a collection to link it from this page.