[01/01]
>

When Compression Makes Things Bigger

Regressive JPEGs

2024

02

The Concept

Understanding the paradox of lossy compression

What Are Regressive JPEGs?

  • 01
    Compression Paradox JPEGs deliberately crafted to grow larger through compression
  • 02
    Algorithm Exploitation Exploits the lossy compression algorithm's quantization process
  • 03
    Counterintuitive Result Compression operations increase file size instead of reducing it
  • 04
    Boundary Testing Demonstrates fundamental limits of lossy compression algorithms
04

Technical Deep Dive

How the technique exploits JPEG mechanics

The Regressive Process

1

Craft Pixel Patterns

Design specific patterns that trigger quantization artifacts

2

Initial Compression

JPEG applies DCT and quantization to the image

3

Artifact Amplification

Quantization errors create new high-frequency data

4

Iterative Growth

Each compression cycle adds more data to encode

Normal JPEG vs Regressive JPEG

Normal JPEG
  • Efficient compression
  • Smaller file sizes
  • Quality preservation
Regressive JPEG
  • Algorithm exploitation
  • Grows on compression
  • Maximum inefficiency
268
Hacker News Points
High engagement demonstrates strong interest in compression paradoxes

Thank You

Exploring the limits of compression

maurycyz.com/projects/bad_jpeg
Made with AirSlide
𝕏 in