mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 16:45:03 +00:00
This patch adds support for JPEG decoding. The JPEG decoder is capable of handling standard 2x1 horizontal, 2x1 vertical and quartered chroma subsampling. The implemented Inverse DCT performs with a decent speed. As of interchange formats, since we tend to ignore the metadata in APPn markers, the decoder can handle any format compatible with JFIF, which includes EXIFs and sometimes WebMs too. The decoder does not support progressive JPEGs yet.
24 lines
719 B
HTML
24 lines
719 B
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<title>Pretty JPEG Pictures</title>
|
|
</head>
|
|
<body>
|
|
<div>
|
|
<h3>Non-subsampled Lena</h3> <br>
|
|
<img alt="lena" src="jpgsuite_files/non-subsampled-lena.jpg"/> <br>
|
|
<h3>Chroma Horizontally Halved Lena</h3> <br>
|
|
<img alt="lena" src="jpgsuite_files/horizontally-halved-lena.jpg"/> <br>
|
|
<h3>Chroma Vertically Halved Lena</h3> <br>
|
|
<img alt="lena" src="jpgsuite_files/vertically-halved-lena.jpg"/> <br>
|
|
<h3>Chroma Quartered Lena</h3> <br>
|
|
<img alt="lena" src="jpgsuite_files/chroma-quartered-lena.jpg"/><br>
|
|
</div>
|
|
<div>
|
|
<h3>Oh Lena!</h3> <br>
|
|
<img alt="lena" src="jpgsuite_files/oh-lena.jpg"/>
|
|
</div>
|
|
</body>
|
|
</html>
|