Video: More Than You Ever Wanted to Know About JPEG Image Algorithms


I’ve been basically familiar with how JPEG compression works for a long time, but I still learned a lot from this excellent video. When you see how much processing is required to create and display JPEG images, you’ll have a new appreciation for the incredible speed of the algorithms that do it.

Go to to sign up for free, and expand your knowledge. The first 200 people will get 20% off their annual premium membership.

You’ve probably saved 1000s of JPEG images, but do you know what exactly JPEG does? Our smartphones and cameras save images in JPEG format, furthermore, the majority of images you see on the internet are saved using JPEG compression. This format is everywhere, but do you know exactly how it works? Well in this video we’re going to explore the JPEG compression format. This is a rather complicated video, so it may take watching it a few times through to understand it all.

Do you want to support in-depth engineering and technology education? Support us on:

Script, Modeling, Animation: Teddy Tablante
Twitter: @teddytablante
Voice Over- Phil Lee
Nature Photography- Tobias Karlsson

Table of Contents:
00:00 - Intro into JPEG
01:24 - What does JPEG do?
02:35 - What are the Steps of JPEG?
04:06 - Color Space Conversion
06:06 - Discrete Cosine Transform
09:32 - Quantization
11:02- Run Length and Huffman Encoding
12:04 - H.264 Video Compression
13:25 - Rebuilding an Image
15:01 - Notes and Caveats on JPEG
17:06 - Sponsored by Brilliant
18:20 - Outro

Key Branches from this video are: How does a Camera Work? How do SSDs Work?

Tulips are not the same as Lillies.

Animation built using Blender 3.0.0
Post with Adobe Premiere Pro

A Trip Through the Graphics Pipeline 2011: Index

DCT (Discrete Cosine Transform)

H.264 is Magic

How JPEG Works

Jack, Keith. Video Demystified. Fifth Edition. Elsevier 2007.

JPEG 101 - How does JPEG Work?

JPEG: Image Compression Algorithm

What is H.264?

Wikipedia contributors. “Chroma Subsampling”, “Chrominance”, “Chroma Subsampling”, “Discrete Cosine Transform”, , “JPEG” , “
Wikipedia, The Free Encyclopedia. Wikipedia, The Free Encyclopedia, Visited December, 2021

Music Credits

#JPEG #Camera #Picture

Jump to top

Create a PageThis is the LGF Pages posting bookmarklet. To use it, drag this button to your browser's bookmark bar, and title it 'LGF Pages' (or whatever you like). Then browse to a site you want to post, select some text on the page to use for a quote, click the bookmarklet, and the Pages posting window will appear with the title, text, and any embedded video or audio files already filled in, ready to go.
Or... you can just click this button to open the Pages posting window right away.
Last updated: 2021-06-05 2:51 pm PDT
LGF User's Guide RSS Feeds Tweet

Help support Little Green Footballs!

Subscribe now for ad-free access!Register and sign in to a free LGF account before subscribing, and your ad-free access will be automatically enabled.

Donate with
PayPal Shop at amazon
as an LGF Associate!
Recent PagesClick to refresh
Train Songs Five
A hollow voice says Vaccinate the world!
4 days, 12 hours ago
Views: 348 • Comments: 0 • Rating: 6
Tweets: 0 •
Train Songs Four
A hollow voice says Vaccinate the world!
4 days, 12 hours ago
Views: 347 • Comments: 0 • Rating: 4
Tweets: 0 •
Train Songs Three
A hollow voice says Vaccinate the world!
4 days, 12 hours ago
Views: 334 • Comments: 0 • Rating: 4
Tweets: 0 •
Snarky Puppy - Trinity (Extended Version) Snarky Puppy never lets you down, they always come out bright and enthusiastically high on the sounds. Snarky Puppy - Trinity (Extended Version)From Snarky Puppy's new album, Empire Central (September 2022, GroundUP Music)Stream/Buy: Written by Mark LettieriArranged by ...
1 week, 2 days ago
Views: 681 • Comments: 0 • Rating: 2
Tweets: 2 •