diff --git a/images/jpg/20scans.jpg b/images/jpg/20scans.jpg new file mode 100644 index 0000000..2bb6a18 Binary files /dev/null and b/images/jpg/20scans.jpg differ diff --git a/images/jpg/20scans_std.png b/images/jpg/20scans_std.png new file mode 100644 index 0000000..281363f Binary files /dev/null and b/images/jpg/20scans_std.png differ diff --git a/images/jpg/README.md b/images/jpg/README.md new file mode 100644 index 0000000..a5cee7a --- /dev/null +++ b/images/jpg/README.md @@ -0,0 +1,30 @@ +# JPEG PoCs +- `small.jpg` smallest valid JPG (no Application chunk) + - `small-invalid.jpg` same file w/o End of Image (invalid structure). +- `20scans.jpg`: a JPEG made of 20 scans with JPEGTran to keep all scans under 64Kb (size = 847kb, 1944x2508px, q=100%) ([original PNG for reference](20scans_std.png)). + - scan definitions: + ``` + 0: 0-0, 0, 0; + 0: 1-1, 0, 0; + 0: 2-6, 0, 0; + 0: 7-10, 0, 0; + 0: 11-13, 0, 0; + 0: 14-20, 0, 0; + 0: 21-26, 0, 0; + 0: 27-32, 0, 0; + 0: 33-40, 0, 0; + 0: 41-48, 0, 0; + 0: 49-54, 0, 0; + 0: 55-63, 0, 0; + # blue + 1: 0-0, 0, 0; + 1: 1-16, 0, 0; + 1: 17-32, 0, 0; + 1: 33-63, 0, 0; + # red + 2: 0-0, 0, 0; + 2: 1-16, 0, 0; + 2: 17-32, 0, 0; + 2: 33-63, 0, 0; + ``` +- `lossless.jpg`: a JPEG abused to store data losslessly (grayscale, 100%, with data padded and replicated 8 times). diff --git a/images/jpg/jpg.sha256 b/images/jpg/jpg.sha256 new file mode 100644 index 0000000..754316e --- /dev/null +++ b/images/jpg/jpg.sha256 @@ -0,0 +1,5 @@ +6bc94128962177a0ab9017ba5cd90468969b58755bc19a1af9ec4f3370b77f32 *20scans.jpg +07d95073f996441f694961d5916be21183a2e2deeb925eee2577655c523374bf *lossless.jpg +0b8d8b5f15046343fd32f451df93acc2bdd9e6373be478b968e4cad6b6647351 *small.jpg +b013a5e17c012d4f7fb66d56e7fabc31f0598f6a8b960387cbdace6351b231af *small-invalid.jpg +b91e0c691e40f5bd2205d6330c5b9103f313ad3e6d31ec6e0dfe2dbc1a4734dd *20scans_std.png diff --git a/images/jpg/lossless.jpg b/images/jpg/lossless.jpg new file mode 100644 index 0000000..49873ce Binary files /dev/null and b/images/jpg/lossless.jpg differ diff --git a/images/jpg/small-invalid.jpg b/images/jpg/small-invalid.jpg new file mode 100644 index 0000000..895557a Binary files /dev/null and b/images/jpg/small-invalid.jpg differ diff --git a/images/jpg/small.jpg b/images/jpg/small.jpg new file mode 100644 index 0000000..71911bf Binary files /dev/null and b/images/jpg/small.jpg differ