file_name stringlengths 22 46 | group stringclasses 9
values | scene stringclasses 2
values | extension stringclasses 7
values | real_format stringclasses 4
values | valid_jpeg bool 2
classes | width float64 1 4k ⌀ | height float64 1 3k ⌀ | display_width float64 1 4k ⌀ | display_height float64 1 3k ⌀ | exif_orientation float64 1 8 ⌀ | process stringclasses 2
values | bit_depth float64 8 8 ⌀ | components float64 1 4 ⌀ | sampling_factors stringclasses 5
values | chroma_subsampling stringclasses 5
values | scans int64 0 10 | restart_interval int64 0 50 | app_markers stringclasses 5
values | adobe_transform float64 0 0 ⌀ | icc_profile bool 2
classes | exif bool 2
classes | xmp bool 2
classes | comment bool 2
classes | jfif_density stringclasses 3
values | has_eoi bool 2
classes | trailing_bytes int64 0 960 | size_bytes int64 0 1.96M | sha256 stringlengths 64 64 | reference stringclasses 10
values | psnr_vs_reference_db float64 20.5 52.9 ⌀ | pillow_decode stringclasses 3
values | encoder_settings stringlengths 10 124 | expected_behavior stringlengths 16 146 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
files/quality/chart_q010.jpg | quality | chart | .jpg | jpeg | true | 800 | 600 | 800 | 600 | null | baseline | 8 | 3 | 2x2 1x1 1x1 | 4:2:0 | 1 | 0 | APP0:JFIF | null | false | false | false | false | 1x1 aspect | false | 0 | 23,394 | e0e159fe67893c6cfe069934f052edcd6b634f9e329407e6fb28467ae76270b7 | reference/chart.png | 25.14 | ok | quality=10 subsampling=4:2:0 | decodes upright, colours close to the reference |
files/quality/chart_q025.jpg | quality | chart | .jpg | jpeg | true | 800 | 600 | 800 | 600 | null | baseline | 8 | 3 | 2x2 1x1 1x1 | 4:2:0 | 1 | 0 | APP0:JFIF | null | false | false | false | false | 1x1 aspect | false | 0 | 32,317 | 20ba0104c950e93a070af9f2e5d83a45de4bd09e6a6e018509f185abaa9a5755 | reference/chart.png | 27.65 | ok | quality=25 subsampling=4:2:0 | decodes upright, colours close to the reference |
files/quality/chart_q050.jpg | quality | chart | .jpg | jpeg | true | 800 | 600 | 800 | 600 | null | baseline | 8 | 3 | 2x2 1x1 1x1 | 4:2:0 | 1 | 0 | APP0:JFIF | null | false | false | false | false | 1x1 aspect | false | 0 | 41,739 | f546c3a27052342d26baac52f9e362cb1c2b361e7547498359b5f4fa8e8b7e46 | reference/chart.png | 29.07 | ok | quality=50 subsampling=4:2:0 | decodes upright, colours close to the reference |
files/quality/chart_q075.jpg | quality | chart | .jpg | jpeg | true | 800 | 600 | 800 | 600 | null | baseline | 8 | 3 | 2x2 1x1 1x1 | 4:2:0 | 1 | 0 | APP0:JFIF | null | false | false | false | false | 1x1 aspect | false | 0 | 51,308 | bdf69c5b8de3dd79c9eaabad1986560f938cd15569cef8a0e846a97c373f7498 | reference/chart.png | 30.34 | ok | quality=75 subsampling=4:2:0 | decodes upright, colours close to the reference |
files/quality/chart_q085.jpg | quality | chart | .jpg | jpeg | true | 800 | 600 | 800 | 600 | null | baseline | 8 | 3 | 2x2 1x1 1x1 | 4:2:0 | 1 | 0 | APP0:JFIF | null | false | false | false | false | 1x1 aspect | false | 0 | 60,042 | 8bfb31b71366be719b21dffe10523d63bf4626f27a2dd148e7739b90aaacf4d4 | reference/chart.png | 30.86 | ok | quality=85 subsampling=4:2:0 | decodes upright, colours close to the reference |
files/quality/chart_q095.jpg | quality | chart | .jpg | jpeg | true | 800 | 600 | 800 | 600 | null | baseline | 8 | 3 | 2x2 1x1 1x1 | 4:2:0 | 1 | 0 | APP0:JFIF | null | false | false | false | false | 1x1 aspect | false | 0 | 83,062 | 1db7bcabb53084466a69f4e827aa7bf4e1ce41141d468a84b0e8c7fceccefd08 | reference/chart.png | 31.05 | ok | quality=95 subsampling=4:2:0 | decodes upright, colours close to the reference |
files/quality/chart_q100.jpg | quality | chart | .jpg | jpeg | true | 800 | 600 | 800 | 600 | null | baseline | 8 | 3 | 2x2 1x1 1x1 | 4:2:0 | 1 | 0 | APP0:JFIF | null | false | false | false | false | 1x1 aspect | false | 0 | 114,682 | 952ec8ccd9af84974242d1ca8c3325197d3b1d9d0921f61a8c4a79947cc9b2a2 | reference/chart.png | 31.11 | ok | quality=100 subsampling=4:2:0 | decodes upright, colours close to the reference |
files/subsampling/chart_444.jpg | subsampling | chart | .jpg | jpeg | true | 800 | 600 | 800 | 600 | null | baseline | 8 | 3 | 1x1 1x1 1x1 | 4:4:4 | 1 | 0 | APP0:JFIF | null | false | false | false | false | 1x1 aspect | false | 0 | 92,297 | 6e6ce1b5acd15cdbed9aa697b01c17cc1d71247d60892a90c6be450edda658a3 | reference/chart.png | 44.49 | ok | quality=90 subsampling=4:4:4 | decodes upright, colours close to the reference; on the chart 4:2:0 and 4:2:2 blur the red/blue stripes |
files/subsampling/chart_422.jpg | subsampling | chart | .jpg | jpeg | true | 800 | 600 | 800 | 600 | null | baseline | 8 | 3 | 2x1 1x1 1x1 | 4:2:2 | 1 | 0 | APP0:JFIF | null | false | false | false | false | 1x1 aspect | false | 0 | 75,258 | 664adf208c3ee9ada2cd8b0279562f67e2c5d22f3806e8749d0182ef5bf1d66a | reference/chart.png | 31.93 | ok | quality=90 subsampling=4:2:2 | decodes upright, colours close to the reference; on the chart 4:2:0 and 4:2:2 blur the red/blue stripes |
files/subsampling/chart_420.jpg | subsampling | chart | .jpg | jpeg | true | 800 | 600 | 800 | 600 | null | baseline | 8 | 3 | 2x2 1x1 1x1 | 4:2:0 | 1 | 0 | APP0:JFIF | null | false | false | false | false | 1x1 aspect | false | 0 | 68,469 | e236332879665c2d1ecbe2a01f1716cece9d9081850a5361246d868078b326a1 | reference/chart.png | 31.01 | ok | quality=90 subsampling=4:2:0 | decodes upright, colours close to the reference; on the chart 4:2:0 and 4:2:2 blur the red/blue stripes |
files/process/chart_baseline_optimized.jpg | process | chart | .jpg | jpeg | true | 800 | 600 | 800 | 600 | null | baseline | 8 | 3 | 2x2 1x1 1x1 | 4:2:0 | 1 | 0 | APP0:JFIF | null | false | false | false | false | 1x1 aspect | false | 0 | 54,925 | 9991c3fec3cb545d023d34a0735597c6f16ff088b49fd9440148c049e31ff833 | reference/chart.png | 31.01 | ok | quality=90 optimize=True (optimized Huffman tables) | decodes upright, colours close to the reference |
files/process/chart_progressive.jpg | process | chart | .jpg | jpeg | true | 800 | 600 | 800 | 600 | null | progressive | 8 | 3 | 2x2 1x1 1x1 | 4:2:0 | 10 | 0 | APP0:JFIF | null | false | false | false | false | 1x1 aspect | false | 0 | 52,345 | fc6249aa54125ee221ee442613d3376bd4bd905880f53bdab097aadc277eb28c | reference/chart.png | 31.01 | ok | quality=90 progressive=True | decodes upright, colours close to the reference; loads in several passes |
files/process/chart_progressive_444.jpg | process | chart | .jpg | jpeg | true | 800 | 600 | 800 | 600 | null | progressive | 8 | 3 | 1x1 1x1 1x1 | 4:4:4 | 10 | 0 | APP0:JFIF | null | false | false | false | false | 1x1 aspect | false | 0 | 70,622 | 730ddc2b9786edadcb61055e2e309f7fa5882015c982e1f0f4b8ec78c18465d8 | reference/chart.png | 44.49 | ok | quality=90 progressive=True subsampling=4:4:4 | decodes upright, colours close to the reference |
files/process/chart_restart_markers.jpg | process | chart | .jpg | jpeg | true | 800 | 600 | 800 | 600 | null | baseline | 8 | 3 | 2x2 1x1 1x1 | 4:2:0 | 1 | 50 | APP0:JFIF | null | false | false | false | false | 1x1 aspect | false | 0 | 68,476 | 0f015466693391a80c91edae70a811034dd157810d45e3f2d073d8625e30a453 | reference/chart.png | 31.01 | ok | quality=90 restart_marker_rows=1 | decodes upright, colours close to the reference; RST0-RST7 markers inside the scan |
files/color/chart_grayscale.jpg | color | chart | .jpg | jpeg | true | 800 | 600 | 800 | 600 | null | baseline | 8 | 1 | 1x1 | gray | 1 | 0 | APP0:JFIF | null | false | false | false | false | 1x1 aspect | false | 0 | 55,729 | 25c7f4e38795ff95a1df72a2c1605bab96696c7ae63ad5584b34bdb096957a20 | reference/chart_gray.png | 47.81 | ok | mode=L quality=90 | one channel; decodes as grayscale |
files/color/chart_cmyk_adobe.jpg | color | chart | .jpg | jpeg | true | 800 | 600 | 800 | 600 | null | baseline | 8 | 4 | 1x1 1x1 1x1 1x1 | cmyk 1x1/1x1/1x1/1x1 | 1 | 0 | APP14:Adobe | 0 | false | false | false | false | null | false | 0 | 167,851 | b07ff8a71c48014390597598fb04e268de9977fe53d61a05ecec1840998fe167 | reference/chart.png | 48.22 | ok | mode=CMYK quality=90 (Adobe APP14, inverted CMYK as written by Photoshop) | four channels; a reader that ignores the Adobe marker shows inverted or wrong colours; browsers and Pillow show it close to the reference |
files/color/chart_srgb_icc.jpg | color | chart | .jpg | jpeg | true | 800 | 600 | 800 | 600 | null | baseline | 8 | 3 | 2x2 1x1 1x1 | 4:2:0 | 1 | 0 | APP0:JFIF APP2:ICC | null | true | false | false | false | 1x1 aspect | false | 0 | 69,075 | dd156f3e9102989dcd63f5671d9db81d4a77f6ddc5319952c80455bff6284b2d | reference/chart.png | 31.01 | ok | quality=90 icc_profile=sRGB (LittleCMS built-in) | decodes upright, colours close to the reference; embedded ICC profile should be kept by converters |
files/orientation/chart_orientation_1.jpg | orientation | chart | .jpg | jpeg | true | 800 | 600 | 800 | 600 | 1 | baseline | 8 | 3 | 2x2 1x1 1x1 | 4:2:0 | 1 | 0 | APP0:JFIF APP1:Exif | null | false | true | false | false | 1x1 aspect | false | 0 | 68,505 | 5ee56089f917866e6ecc1cec3d0db70f15252a2576a15bf46c4a600a3ee8ac2f | reference/chart.png | 31.01 | ok | EXIF Orientation=1; pixels stored transformed | apply orientation 1 (no change) to get the upright reference; a reader that ignores EXIF shows it upright |
files/orientation/chart_orientation_2.jpg | orientation | chart | .jpg | jpeg | true | 800 | 600 | 800 | 600 | 2 | baseline | 8 | 3 | 2x2 1x1 1x1 | 4:2:0 | 1 | 0 | APP0:JFIF APP1:Exif | null | false | true | false | false | 1x1 aspect | false | 0 | 68,228 | 22fd9888861fd01e0cd98c83037d510405ced380fcedf8af03f42a583105d918 | reference/chart.png | 31.03 | ok | EXIF Orientation=2; pixels stored transformed | apply orientation 2 (mirror horizontally) to get the upright reference; a reader that ignores EXIF shows it wrong |
files/orientation/chart_orientation_3.jpg | orientation | chart | .jpg | jpeg | true | 800 | 600 | 800 | 600 | 3 | baseline | 8 | 3 | 2x2 1x1 1x1 | 4:2:0 | 1 | 0 | APP0:JFIF APP1:Exif | null | false | true | false | false | 1x1 aspect | false | 0 | 69,360 | 405286d48482d926ffef61d35a105b1190c38ed2468aad04ace21f35648d68f3 | reference/chart.png | 31.02 | ok | EXIF Orientation=3; pixels stored transformed | apply orientation 3 (rotate 180) to get the upright reference; a reader that ignores EXIF shows it wrong |
files/orientation/chart_orientation_4.jpg | orientation | chart | .jpg | jpeg | true | 800 | 600 | 800 | 600 | 4 | baseline | 8 | 3 | 2x2 1x1 1x1 | 4:2:0 | 1 | 0 | APP0:JFIF APP1:Exif | null | false | true | false | false | 1x1 aspect | false | 0 | 69,395 | 5f3ef40c32b26f453c4ac90bb03479c77bcfa720feec2cf7ced6252b8644b110 | reference/chart.png | 31 | ok | EXIF Orientation=4; pixels stored transformed | apply orientation 4 (mirror vertically) to get the upright reference; a reader that ignores EXIF shows it wrong |
files/orientation/chart_orientation_5.jpg | orientation | chart | .jpg | jpeg | true | 600 | 800 | 800 | 600 | 5 | baseline | 8 | 3 | 2x2 1x1 1x1 | 4:2:0 | 1 | 0 | APP0:JFIF APP1:Exif | null | false | true | false | false | 1x1 aspect | false | 0 | 70,064 | f62f9e1322ccf1f91c04069de4070d4b06c4bf8dc4c4d3cb205ca6166f257e31 | reference/chart.png | 30.96 | ok | EXIF Orientation=5; pixels stored transformed | apply orientation 5 (mirror horizontally then rotate 90 counter-clockwise) to get the upright reference; a reader that ignores EXIF shows it wrong |
files/orientation/chart_orientation_6.jpg | orientation | chart | .jpg | jpeg | true | 600 | 800 | 800 | 600 | 6 | baseline | 8 | 3 | 2x2 1x1 1x1 | 4:2:0 | 1 | 0 | APP0:JFIF APP1:Exif | null | false | true | false | false | 1x1 aspect | false | 0 | 70,006 | 1c21dd3c931efa480cc12d8d38e7b934ccd438e3a432f453b415d5c2a1256354 | reference/chart.png | 30.96 | ok | EXIF Orientation=6; pixels stored transformed | apply orientation 6 (rotate 90 clockwise) to get the upright reference; a reader that ignores EXIF shows it wrong |
files/orientation/chart_orientation_7.jpg | orientation | chart | .jpg | jpeg | true | 600 | 800 | 800 | 600 | 7 | baseline | 8 | 3 | 2x2 1x1 1x1 | 4:2:0 | 1 | 0 | APP0:JFIF APP1:Exif | null | false | true | false | false | 1x1 aspect | false | 0 | 70,941 | 492bce67dfc58f4a95c7b005fbdeffab86108cf679fd507192375431626f320f | reference/chart.png | 30.96 | ok | EXIF Orientation=7; pixels stored transformed | apply orientation 7 (mirror horizontally then rotate 90 clockwise) to get the upright reference; a reader that ignores EXIF shows it wrong |
files/orientation/chart_orientation_8.jpg | orientation | chart | .jpg | jpeg | true | 600 | 800 | 800 | 600 | 8 | baseline | 8 | 3 | 2x2 1x1 1x1 | 4:2:0 | 1 | 0 | APP0:JFIF APP1:Exif | null | false | true | false | false | 1x1 aspect | false | 0 | 71,074 | 5faf3a354af791241a400c905b630afbaf178582b89fda669f8cde4eb166afbf | reference/chart.png | 30.96 | ok | EXIF Orientation=8; pixels stored transformed | apply orientation 8 (rotate 90 counter-clockwise) to get the upright reference; a reader that ignores EXIF shows it wrong |
files/metadata/chart_exif_gps.jpg | metadata | chart | .jpg | jpeg | true | 800 | 600 | 800 | 600 | null | baseline | 8 | 3 | 2x2 1x1 1x1 | 4:2:0 | 1 | 0 | APP0:JFIF APP1:Exif | null | false | true | false | false | 1x1 aspect | false | 0 | 68,783 | 4a6294fc5bbfe00a723d3b1b0606312b58caa3739aebc652fb7e479a94f274d7 | reference/chart.png | 31.01 | ok | quality=90 EXIF Make=TestMake Model/Software/DateTime/Artist + GPS 51.4772 N 0.0014 W (Greenwich, not a real photo location) | decodes upright; use it to test stripping of location and camera data |
files/metadata/chart_comment.jpg | metadata | chart | .jpg | jpeg | true | 800 | 600 | 800 | 600 | null | baseline | 8 | 3 | 2x2 1x1 1x1 | 4:2:0 | 1 | 0 | APP0:JFIF | null | false | false | false | true | 1x1 aspect | false | 0 | 68,505 | c848cb749c04360dbe966056d6f64d4c645fc84e77f3e6e40695c4b4215d6060 | reference/chart.png | 31.01 | ok | quality=90 COM segment | decodes upright, colours close to the reference; one COM text segment |
files/metadata/chart_xmp.jpg | metadata | chart | .jpg | jpeg | true | 800 | 600 | 800 | 600 | null | baseline | 8 | 3 | 2x2 1x1 1x1 | 4:2:0 | 1 | 0 | APP0:JFIF APP1:XMP | null | false | false | true | false | 1x1 aspect | false | 0 | 68,954 | d0cc65fc319b983395499ddddc668b107c1ea512fe9daf599628f4893549b786 | reference/chart.png | 31.01 | ok | quality=90 XMP packet (dc:title, dc:rights) | decodes upright, colours close to the reference; one XMP packet in APP1 |
files/metadata/chart_72dpi.jpg | metadata | chart | .jpg | jpeg | true | 800 | 600 | 800 | 600 | null | baseline | 8 | 3 | 2x2 1x1 1x1 | 4:2:0 | 1 | 0 | APP0:JFIF | null | false | false | false | false | 72x72 dpi | false | 0 | 68,469 | 92324dac9fbbe3ca923345757b125e1e5c8fa1130239a3951f72a6e13c3d540c | reference/chart.png | 31.01 | ok | quality=90 dpi=72 | decodes upright, colours close to the reference; JFIF density 72 dpi |
files/metadata/chart_300dpi.jpg | metadata | chart | .jpg | jpeg | true | 800 | 600 | 800 | 600 | null | baseline | 8 | 3 | 2x2 1x1 1x1 | 4:2:0 | 1 | 0 | APP0:JFIF | null | false | false | false | false | 300x300 dpi | false | 0 | 68,469 | 7d2abb207aa108d20e96e34f42ec02ec95360db413b74d33b1289032a4f78fa3 | reference/chart.png | 31.01 | ok | quality=90 dpi=300 | decodes upright, colours close to the reference; JFIF density 300 dpi |
files/quality/landscape_q010.jpg | quality | landscape | .jpg | jpeg | true | 800 | 600 | 800 | 600 | null | baseline | 8 | 3 | 2x2 1x1 1x1 | 4:2:0 | 1 | 0 | APP0:JFIF | null | false | false | false | false | 1x1 aspect | false | 0 | 9,556 | 570ecef89513e440d910ab1785483304e8e940877aad3d113c1dae707760b74c | reference/landscape.png | 30.55 | ok | quality=10 subsampling=4:2:0 | decodes upright, colours close to the reference |
files/quality/landscape_q025.jpg | quality | landscape | .jpg | jpeg | true | 800 | 600 | 800 | 600 | null | baseline | 8 | 3 | 2x2 1x1 1x1 | 4:2:0 | 1 | 0 | APP0:JFIF | null | false | false | false | false | 1x1 aspect | false | 0 | 11,838 | 3d24f5ff7f010d1cc77c91c1edb9b6c4e63d68d0fa168b786a713416d91c0071 | reference/landscape.png | 33.58 | ok | quality=25 subsampling=4:2:0 | decodes upright, colours close to the reference |
files/quality/landscape_q050.jpg | quality | landscape | .jpg | jpeg | true | 800 | 600 | 800 | 600 | null | baseline | 8 | 3 | 2x2 1x1 1x1 | 4:2:0 | 1 | 0 | APP0:JFIF | null | false | false | false | false | 1x1 aspect | false | 0 | 15,843 | d4f9ad775416d024e48494c6c3c1e652df6446e504b8fdeb355c8a727930ba75 | reference/landscape.png | 34.58 | ok | quality=50 subsampling=4:2:0 | decodes upright, colours close to the reference |
files/quality/landscape_q075.jpg | quality | landscape | .jpg | jpeg | true | 800 | 600 | 800 | 600 | null | baseline | 8 | 3 | 2x2 1x1 1x1 | 4:2:0 | 1 | 0 | APP0:JFIF | null | false | false | false | false | 1x1 aspect | false | 0 | 32,178 | f521fde59da03c2e629337ddcf6fbc019533235469002b45f1c8333acf012aad | reference/landscape.png | 35.05 | ok | quality=75 subsampling=4:2:0 | decodes upright, colours close to the reference |
files/quality/landscape_q085.jpg | quality | landscape | .jpg | jpeg | true | 800 | 600 | 800 | 600 | null | baseline | 8 | 3 | 2x2 1x1 1x1 | 4:2:0 | 1 | 0 | APP0:JFIF | null | false | false | false | false | 1x1 aspect | false | 0 | 53,292 | abcdebad631e8f688bc999a2c07c99620856e4bec5ccc4d621be47b6a193a745 | reference/landscape.png | 35.41 | ok | quality=85 subsampling=4:2:0 | decodes upright, colours close to the reference |
files/quality/landscape_q095.jpg | quality | landscape | .jpg | jpeg | true | 800 | 600 | 800 | 600 | null | baseline | 8 | 3 | 2x2 1x1 1x1 | 4:2:0 | 1 | 0 | APP0:JFIF | null | false | false | false | false | 1x1 aspect | false | 0 | 141,566 | 71a1f18062c948380bb9b5805886e64472e7648a879b203d09b6d7594349f716 | reference/landscape.png | 36.11 | ok | quality=95 subsampling=4:2:0 | decodes upright, colours close to the reference |
files/quality/landscape_q100.jpg | quality | landscape | .jpg | jpeg | true | 800 | 600 | 800 | 600 | null | baseline | 8 | 3 | 2x2 1x1 1x1 | 4:2:0 | 1 | 0 | APP0:JFIF | null | false | false | false | false | 1x1 aspect | false | 0 | 354,828 | 0b9cc9c9f232423233a5feb9cf11c2b7936edb103bc9fc8509e398e673f76b46 | reference/landscape.png | 37.54 | ok | quality=100 subsampling=4:2:0 | decodes upright, colours close to the reference |
files/subsampling/landscape_444.jpg | subsampling | landscape | .jpg | jpeg | true | 800 | 600 | 800 | 600 | null | baseline | 8 | 3 | 1x1 1x1 1x1 | 4:4:4 | 1 | 0 | APP0:JFIF | null | false | false | false | false | 1x1 aspect | false | 0 | 110,640 | 621b371b96feb0fdefb6cc077ae57830b7e4dfe0003a687c752baaa5495e6c05 | reference/landscape.png | 36.24 | ok | quality=90 subsampling=4:4:4 | decodes upright, colours close to the reference |
files/subsampling/landscape_422.jpg | subsampling | landscape | .jpg | jpeg | true | 800 | 600 | 800 | 600 | null | baseline | 8 | 3 | 2x1 1x1 1x1 | 4:2:2 | 1 | 0 | APP0:JFIF | null | false | false | false | false | 1x1 aspect | false | 0 | 86,023 | 90590bbcc6539575b4a2b970ee94ce1ad6a5b0f25d37af9698ae185e2006e782 | reference/landscape.png | 35.91 | ok | quality=90 subsampling=4:2:2 | decodes upright, colours close to the reference |
files/subsampling/landscape_420.jpg | subsampling | landscape | .jpg | jpeg | true | 800 | 600 | 800 | 600 | null | baseline | 8 | 3 | 2x2 1x1 1x1 | 4:2:0 | 1 | 0 | APP0:JFIF | null | false | false | false | false | 1x1 aspect | false | 0 | 77,968 | 36372aa613c0004044c057ba99bb9458636ed2a43fef43f2632a2afdbdf8e68f | reference/landscape.png | 35.66 | ok | quality=90 subsampling=4:2:0 | decodes upright, colours close to the reference |
files/process/landscape_baseline_optimized.jpg | process | landscape | .jpg | jpeg | true | 800 | 600 | 800 | 600 | null | baseline | 8 | 3 | 2x2 1x1 1x1 | 4:2:0 | 1 | 0 | APP0:JFIF | null | false | false | false | false | 1x1 aspect | false | 0 | 72,216 | 84392e58556625338605bf90e5772ee140b766b0c29f0dffcde5ddcba116fb43 | reference/landscape.png | 35.66 | ok | quality=90 optimize=True (optimized Huffman tables) | decodes upright, colours close to the reference |
files/process/landscape_progressive.jpg | process | landscape | .jpg | jpeg | true | 800 | 600 | 800 | 600 | null | progressive | 8 | 3 | 2x2 1x1 1x1 | 4:2:0 | 10 | 0 | APP0:JFIF | null | false | false | false | false | 1x1 aspect | false | 0 | 69,577 | 2fcb84e8841627f866f0b7b10355257ddb0984d21c653b0bd046394b746d48b1 | reference/landscape.png | 35.66 | ok | quality=90 progressive=True | decodes upright, colours close to the reference; loads in several passes |
files/process/landscape_progressive_444.jpg | process | landscape | .jpg | jpeg | true | 800 | 600 | 800 | 600 | null | progressive | 8 | 3 | 1x1 1x1 1x1 | 4:4:4 | 10 | 0 | APP0:JFIF | null | false | false | false | false | 1x1 aspect | false | 0 | 99,688 | 43f8a7465fd075f3b79c7952aef933ba598595f63e695478bc5b2e5908803bb3 | reference/landscape.png | 36.24 | ok | quality=90 progressive=True subsampling=4:4:4 | decodes upright, colours close to the reference |
files/process/landscape_restart_markers.jpg | process | landscape | .jpg | jpeg | true | 800 | 600 | 800 | 600 | null | baseline | 8 | 3 | 2x2 1x1 1x1 | 4:2:0 | 1 | 50 | APP0:JFIF | null | false | false | false | false | 1x1 aspect | false | 0 | 78,175 | 97c8092daeb01f77c61f0d567794411fd090b6be9d103d3f3d2be261dd49c703 | reference/landscape.png | 35.66 | ok | quality=90 restart_marker_rows=1 | decodes upright, colours close to the reference; RST0-RST7 markers inside the scan |
files/color/landscape_grayscale.jpg | color | landscape | .jpg | jpeg | true | 800 | 600 | 800 | 600 | null | baseline | 8 | 1 | 1x1 | gray | 1 | 0 | APP0:JFIF | null | false | false | false | false | 1x1 aspect | false | 0 | 69,993 | 6456d1c0bda776ad98f339888790a334e800e3e8eb195cbfa552d4b64a216edc | reference/landscape_gray.png | 40.9 | ok | mode=L quality=90 | one channel; decodes as grayscale |
files/color/landscape_cmyk_adobe.jpg | color | landscape | .jpg | jpeg | true | 800 | 600 | 800 | 600 | null | baseline | 8 | 4 | 1x1 1x1 1x1 1x1 | cmyk 1x1/1x1/1x1/1x1 | 1 | 0 | APP14:Adobe | 0 | false | false | false | false | null | false | 0 | 296,642 | 954fdbd13812637a739271346879a9e4b00f51896859a747a5db7b697339c14e | reference/landscape.png | 38.74 | ok | mode=CMYK quality=90 (Adobe APP14, inverted CMYK as written by Photoshop) | four channels; a reader that ignores the Adobe marker shows inverted or wrong colours; browsers and Pillow show it close to the reference |
files/color/landscape_srgb_icc.jpg | color | landscape | .jpg | jpeg | true | 800 | 600 | 800 | 600 | null | baseline | 8 | 3 | 2x2 1x1 1x1 | 4:2:0 | 1 | 0 | APP0:JFIF APP2:ICC | null | true | false | false | false | 1x1 aspect | false | 0 | 78,574 | 591b20941b40fca32dcacdde144d4885bdb8eb814fd2af7f5cb86aa88e88cfab | reference/landscape.png | 35.66 | ok | quality=90 icc_profile=sRGB (LittleCMS built-in) | decodes upright, colours close to the reference; embedded ICC profile should be kept by converters |
files/orientation/landscape_orientation_1.jpg | orientation | landscape | .jpg | jpeg | true | 800 | 600 | 800 | 600 | 1 | baseline | 8 | 3 | 2x2 1x1 1x1 | 4:2:0 | 1 | 0 | APP0:JFIF APP1:Exif | null | false | true | false | false | 1x1 aspect | false | 0 | 78,004 | 9e08ebbebd9b2bb40a3bda4fc00a26f8e0980125d19595d852fff99a78a925d8 | reference/landscape.png | 35.66 | ok | EXIF Orientation=1; pixels stored transformed | apply orientation 1 (no change) to get the upright reference; a reader that ignores EXIF shows it upright |
files/orientation/landscape_orientation_2.jpg | orientation | landscape | .jpg | jpeg | true | 800 | 600 | 800 | 600 | 2 | baseline | 8 | 3 | 2x2 1x1 1x1 | 4:2:0 | 1 | 0 | APP0:JFIF APP1:Exif | null | false | true | false | false | 1x1 aspect | false | 0 | 77,942 | 08d8a694b6e6bb45f991edd4ca5e3a226847a568b9dc720c21545a0852114adc | reference/landscape.png | 35.67 | ok | EXIF Orientation=2; pixels stored transformed | apply orientation 2 (mirror horizontally) to get the upright reference; a reader that ignores EXIF shows it wrong |
files/orientation/landscape_orientation_3.jpg | orientation | landscape | .jpg | jpeg | true | 800 | 600 | 800 | 600 | 3 | baseline | 8 | 3 | 2x2 1x1 1x1 | 4:2:0 | 1 | 0 | APP0:JFIF APP1:Exif | null | false | true | false | false | 1x1 aspect | false | 0 | 77,516 | c412d5e95e7b42fa7d93b05999c6ed3ceb124b4bc19e0e05fd50a2fcfd191459 | reference/landscape.png | 35.68 | ok | EXIF Orientation=3; pixels stored transformed | apply orientation 3 (rotate 180) to get the upright reference; a reader that ignores EXIF shows it wrong |
files/orientation/landscape_orientation_4.jpg | orientation | landscape | .jpg | jpeg | true | 800 | 600 | 800 | 600 | 4 | baseline | 8 | 3 | 2x2 1x1 1x1 | 4:2:0 | 1 | 0 | APP0:JFIF APP1:Exif | null | false | true | false | false | 1x1 aspect | false | 0 | 77,500 | a06a496c3c9964d54f193ab131ad5fddf92d5c496117b2d4b1dc36b45c956927 | reference/landscape.png | 35.68 | ok | EXIF Orientation=4; pixels stored transformed | apply orientation 4 (mirror vertically) to get the upright reference; a reader that ignores EXIF shows it wrong |
files/orientation/landscape_orientation_5.jpg | orientation | landscape | .jpg | jpeg | true | 600 | 800 | 800 | 600 | 5 | baseline | 8 | 3 | 2x2 1x1 1x1 | 4:2:0 | 1 | 0 | APP0:JFIF APP1:Exif | null | false | true | false | false | 1x1 aspect | false | 0 | 78,885 | e95e7111dcbf4dc9270688958ab949b94342a7f0daa6d821f6c8e2ee515b6745 | reference/landscape.png | 35.66 | ok | EXIF Orientation=5; pixels stored transformed | apply orientation 5 (mirror horizontally then rotate 90 counter-clockwise) to get the upright reference; a reader that ignores EXIF shows it wrong |
files/orientation/landscape_orientation_6.jpg | orientation | landscape | .jpg | jpeg | true | 600 | 800 | 800 | 600 | 6 | baseline | 8 | 3 | 2x2 1x1 1x1 | 4:2:0 | 1 | 0 | APP0:JFIF APP1:Exif | null | false | true | false | false | 1x1 aspect | false | 0 | 78,836 | f6426af7df33d0beee0cce465d078b8bfd90e7cbcac2379d5cccf4d78614e983 | reference/landscape.png | 35.66 | ok | EXIF Orientation=6; pixels stored transformed | apply orientation 6 (rotate 90 clockwise) to get the upright reference; a reader that ignores EXIF shows it wrong |
files/orientation/landscape_orientation_7.jpg | orientation | landscape | .jpg | jpeg | true | 600 | 800 | 800 | 600 | 7 | baseline | 8 | 3 | 2x2 1x1 1x1 | 4:2:0 | 1 | 0 | APP0:JFIF APP1:Exif | null | false | true | false | false | 1x1 aspect | false | 0 | 78,468 | 1b1ddf63319512e0caaf0815a5667037834986640d26117b865658c4a5d27f38 | reference/landscape.png | 35.67 | ok | EXIF Orientation=7; pixels stored transformed | apply orientation 7 (mirror horizontally then rotate 90 clockwise) to get the upright reference; a reader that ignores EXIF shows it wrong |
files/orientation/landscape_orientation_8.jpg | orientation | landscape | .jpg | jpeg | true | 600 | 800 | 800 | 600 | 8 | baseline | 8 | 3 | 2x2 1x1 1x1 | 4:2:0 | 1 | 0 | APP0:JFIF APP1:Exif | null | false | true | false | false | 1x1 aspect | false | 0 | 78,464 | 92f4804c469981f766a58defda351b35b1b07c35085d5c8b2bceca2b7bc0557f | reference/landscape.png | 35.67 | ok | EXIF Orientation=8; pixels stored transformed | apply orientation 8 (rotate 90 counter-clockwise) to get the upright reference; a reader that ignores EXIF shows it wrong |
files/metadata/landscape_exif_gps.jpg | metadata | landscape | .jpg | jpeg | true | 800 | 600 | 800 | 600 | null | baseline | 8 | 3 | 2x2 1x1 1x1 | 4:2:0 | 1 | 0 | APP0:JFIF APP1:Exif | null | false | true | false | false | 1x1 aspect | false | 0 | 78,282 | 4d42da867bc0cf172c1973c3838a5abb36c738537cc7903875cea36e83f226ce | reference/landscape.png | 35.66 | ok | quality=90 EXIF Make=TestMake Model/Software/DateTime/Artist + GPS 51.4772 N 0.0014 W (Greenwich, not a real photo location) | decodes upright; use it to test stripping of location and camera data |
files/metadata/landscape_comment.jpg | metadata | landscape | .jpg | jpeg | true | 800 | 600 | 800 | 600 | null | baseline | 8 | 3 | 2x2 1x1 1x1 | 4:2:0 | 1 | 0 | APP0:JFIF | null | false | false | false | true | 1x1 aspect | false | 0 | 78,004 | e8028fe96aec8f3677f21a2efb085bc45d623c3da35c03b58cc837434afaadcd | reference/landscape.png | 35.66 | ok | quality=90 COM segment | decodes upright, colours close to the reference; one COM text segment |
files/metadata/landscape_xmp.jpg | metadata | landscape | .jpg | jpeg | true | 800 | 600 | 800 | 600 | null | baseline | 8 | 3 | 2x2 1x1 1x1 | 4:2:0 | 1 | 0 | APP0:JFIF APP1:XMP | null | false | false | true | false | 1x1 aspect | false | 0 | 78,453 | 283c969ba61115066d942558e33a9820a2c5f90fddd86d459215650108893244 | reference/landscape.png | 35.66 | ok | quality=90 XMP packet (dc:title, dc:rights) | decodes upright, colours close to the reference; one XMP packet in APP1 |
files/metadata/landscape_72dpi.jpg | metadata | landscape | .jpg | jpeg | true | 800 | 600 | 800 | 600 | null | baseline | 8 | 3 | 2x2 1x1 1x1 | 4:2:0 | 1 | 0 | APP0:JFIF | null | false | false | false | false | 72x72 dpi | false | 0 | 77,968 | 652b6e8b673c5bf0fcf51dbfffab5cce2f1ce31170e749a1722df8c928c5fbbb | reference/landscape.png | 35.66 | ok | quality=90 dpi=72 | decodes upright, colours close to the reference; JFIF density 72 dpi |
files/metadata/landscape_300dpi.jpg | metadata | landscape | .jpg | jpeg | true | 800 | 600 | 800 | 600 | null | baseline | 8 | 3 | 2x2 1x1 1x1 | 4:2:0 | 1 | 0 | APP0:JFIF | null | false | false | false | false | 300x300 dpi | false | 0 | 77,968 | 5f0a76a03d9dec082d8d1e4706fecdad5abb324cfe12dd4a520141d7ee232c54 | reference/landscape.png | 35.66 | ok | quality=90 dpi=300 | decodes upright, colours close to the reference; JFIF density 300 dpi |
files/dimensions/chart_1x1.jpg | dimensions | chart | .jpg | jpeg | true | 1 | 1 | 1 | 1 | null | baseline | 8 | 3 | 2x2 1x1 1x1 | 4:2:0 | 1 | 0 | APP0:JFIF | null | false | false | false | false | 1x1 aspect | false | 0 | 632 | 18827c873b778e5e0e93ea997496bc623d119a02d2380b43f96a841b4aa4cb59 | reference/chart_1x1.png | 52.9 | ok | quality=90 size=1x1 | decodes as 1x1; size is not a multiple of the 16x16 MCU, edges must not show padding |
files/dimensions/chart_7x5.jpg | dimensions | chart | .jpg | jpeg | true | 7 | 5 | 7 | 5 | null | baseline | 8 | 3 | 2x2 1x1 1x1 | 4:2:0 | 1 | 0 | APP0:JFIF | null | false | false | false | false | 1x1 aspect | false | 0 | 687 | 386c45e10a4386e6bfe1a544dc1c9dd969d3725171725fb9913290557296d3c4 | reference/chart_7x5.png | 22 | ok | quality=90 size=7x5 | decodes as 7x5; size is not a multiple of the 16x16 MCU, edges must not show padding |
files/dimensions/chart_16x16.jpg | dimensions | chart | .jpg | jpeg | true | 16 | 16 | 16 | 16 | null | baseline | 8 | 3 | 2x2 1x1 1x1 | 4:2:0 | 1 | 0 | APP0:JFIF | null | false | false | false | false | 1x1 aspect | false | 0 | 823 | ed6c84b70b52110607316b9fc21ad648373fe3249c735a6def6c65aa1837ed1b | reference/chart_16x16.png | 21.29 | ok | quality=90 size=16x16 | decodes as 16x16 |
files/dimensions/chart_17x13.jpg | dimensions | chart | .jpg | jpeg | true | 17 | 13 | 17 | 13 | null | baseline | 8 | 3 | 2x2 1x1 1x1 | 4:2:0 | 1 | 0 | APP0:JFIF | null | false | false | false | false | 1x1 aspect | false | 0 | 860 | 3df31dbf02222bf808201cc37f37185b64aa498ae2cc0fb7e79b3ae0806abe87 | reference/chart_17x13.png | 20.46 | ok | quality=90 size=17x13 | decodes as 17x13; size is not a multiple of the 16x16 MCU, edges must not show padding |
files/dimensions/chart_1001x667.jpg | dimensions | chart | .jpg | jpeg | true | 1,001 | 667 | 1,001 | 667 | null | baseline | 8 | 3 | 2x2 1x1 1x1 | 4:2:0 | 1 | 0 | APP0:JFIF | null | false | false | false | false | 1x1 aspect | false | 0 | 77,091 | 7b2c315eee8ed6a489d81622224e94b5d9d891a57d3e6684997898484ef64c57 | reference/chart_1001x667.png | 30.08 | ok | quality=90 size=1001x667 | decodes as 1001x667; size is not a multiple of the 16x16 MCU, edges must not show padding |
files/dimensions/landscape_4000x3000.jpg | dimensions | landscape | .jpg | jpeg | true | 4,000 | 3,000 | 4,000 | 3,000 | null | baseline | 8 | 3 | 2x2 1x1 1x1 | 4:2:0 | 1 | 0 | APP0:JFIF | null | false | false | false | false | 1x1 aspect | false | 0 | 1,962,231 | d9989c1ef2eb545aa6fae9500bbfde57e67b91437b4008817e257cd7ad981da1 | reference/landscape_4000x3000.png | 36.44 | ok | quality=92 size=4000x3000 (12 MP, phone camera size) | decodes as 4000x3000; good input for "fit under N KB" and "longest side" tests |
files/extensions/chart_same_bytes.jpg | extensions | chart | .jpg | jpeg | true | 800 | 600 | 800 | 600 | null | baseline | 8 | 3 | 2x2 1x1 1x1 | 4:2:0 | 1 | 0 | APP0:JFIF | null | false | false | false | false | 1x1 aspect | false | 0 | 60,042 | 8bfb31b71366be719b21dffe10523d63bf4626f27a2dd148e7739b90aaacf4d4 | reference/chart.png | 30.86 | ok | quality=85; byte-identical across this group | same file with another extension; should be accepted and read exactly like the .jpg |
files/extensions/chart_same_bytes.jpeg | extensions | chart | .jpeg | jpeg | true | 800 | 600 | 800 | 600 | null | baseline | 8 | 3 | 2x2 1x1 1x1 | 4:2:0 | 1 | 0 | APP0:JFIF | null | false | false | false | false | 1x1 aspect | false | 0 | 60,042 | 8bfb31b71366be719b21dffe10523d63bf4626f27a2dd148e7739b90aaacf4d4 | reference/chart.png | 30.86 | ok | quality=85; byte-identical across this group | same file with another extension; should be accepted and read exactly like the .jpg |
files/extensions/chart_same_bytes.jpe | extensions | chart | .jpe | jpeg | true | 800 | 600 | 800 | 600 | null | baseline | 8 | 3 | 2x2 1x1 1x1 | 4:2:0 | 1 | 0 | APP0:JFIF | null | false | false | false | false | 1x1 aspect | false | 0 | 60,042 | 8bfb31b71366be719b21dffe10523d63bf4626f27a2dd148e7739b90aaacf4d4 | reference/chart.png | 30.86 | ok | quality=85; byte-identical across this group | same file with another extension; should be accepted and read exactly like the .jpg |
files/extensions/chart_same_bytes.jfif | extensions | chart | .jfif | jpeg | true | 800 | 600 | 800 | 600 | null | baseline | 8 | 3 | 2x2 1x1 1x1 | 4:2:0 | 1 | 0 | APP0:JFIF | null | false | false | false | false | 1x1 aspect | false | 0 | 60,042 | 8bfb31b71366be719b21dffe10523d63bf4626f27a2dd148e7739b90aaacf4d4 | reference/chart.png | 30.86 | ok | quality=85; byte-identical across this group | same file with another extension; should be accepted and read exactly like the .jpg |
files/extensions/chart_same_bytes.jfi | extensions | chart | .jfi | jpeg | true | 800 | 600 | 800 | 600 | null | baseline | 8 | 3 | 2x2 1x1 1x1 | 4:2:0 | 1 | 0 | APP0:JFIF | null | false | false | false | false | 1x1 aspect | false | 0 | 60,042 | 8bfb31b71366be719b21dffe10523d63bf4626f27a2dd148e7739b90aaacf4d4 | reference/chart.png | 30.86 | ok | quality=85; byte-identical across this group | same file with another extension; should be accepted and read exactly like the .jpg |
files/extensions/chart_same_bytes.JPG | extensions | chart | .JPG | jpeg | true | 800 | 600 | 800 | 600 | null | baseline | 8 | 3 | 2x2 1x1 1x1 | 4:2:0 | 1 | 0 | APP0:JFIF | null | false | false | false | false | 1x1 aspect | false | 0 | 60,042 | 8bfb31b71366be719b21dffe10523d63bf4626f27a2dd148e7739b90aaacf4d4 | reference/chart.png | 30.86 | ok | quality=85; byte-identical across this group | same file with another extension; should be accepted and read exactly like the .jpg |
files/extensions/chart_same_bytes.JPEG | extensions | chart | .JPEG | jpeg | true | 800 | 600 | 800 | 600 | null | baseline | 8 | 3 | 2x2 1x1 1x1 | 4:2:0 | 1 | 0 | APP0:JFIF | null | false | false | false | false | 1x1 aspect | false | 0 | 60,042 | 8bfb31b71366be719b21dffe10523d63bf4626f27a2dd148e7739b90aaacf4d4 | reference/chart.png | 30.86 | ok | quality=85; byte-identical across this group | same file with another extension; should be accepted and read exactly like the .jpg |
files/broken/chart_truncated_60pct.jpg | broken | chart | .jpg | jpeg | false | 800 | 600 | null | null | null | baseline | 8 | 3 | 2x2 1x1 1x1 | 4:2:0 | 1 | 0 | APP0:JFIF | null | false | false | false | false | 1x1 aspect | false | 0 | 36,025 | 00a57ead4b876c6e82c710a6c4e77d7a79be96ddb87a8474ff3f44c2bfae6af5 | reference/chart.png | null | error: OSError | first 60% of extensions/chart_same_bytes.jpg | truncated, no EOI; strict readers fail, lenient ones show the top part and grey or garbage below |
files/broken/chart_trailing_data.jpg | broken | chart | .jpg | jpeg | true | 800 | 600 | 800 | 600 | null | baseline | 8 | 3 | 2x2 1x1 1x1 | 4:2:0 | 1 | 0 | APP0:JFIF | null | false | false | false | false | 1x1 aspect | true | 960 | 61,002 | 0943775a6db2e48d40c53ceecb716bf521fad8560702e9bc2bc4f970f06712db | reference/chart.png | 30.86 | ok | extensions/chart_same_bytes.jpg + 960 bytes after EOI | valid image followed by junk; readers should show it normally, strict validators may reject it |
files/broken/png_named_jpg.jpg | broken | chart | .jpg | png | false | null | null | 800 | 600 | null | null | null | null | null | null | 0 | 0 | null | null | false | false | false | false | null | false | 0 | 16,115 | a080460c639646248dbb812ec9a11b9f32428359ad36217d7ce456cd943d6d20 | reference/chart.png | null | ok | PNG data with a .jpg extension | not a JPEG; tools must detect the real format from the bytes, not the extension |
files/broken/webp_named_jpeg.jpeg | broken | chart | .jpeg | webp | false | null | null | 800 | 600 | null | null | null | null | null | null | 0 | 0 | null | null | false | false | false | false | null | false | 0 | 20,912 | 3c761ac7de4dd6e7d66902beb4e9df9fe01b3a99019cea01c1c0d2e683fb3e90 | reference/chart.png | null | ok | WebP data with a .jpeg extension | not a JPEG; tools must detect the real format from the bytes, not the extension |
files/broken/empty.jpg | broken | chart | .jpg | empty | false | null | null | null | null | null | null | null | null | null | null | 0 | 0 | null | null | false | false | false | false | null | false | 0 | 0 | e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 | null | null | error: UnidentifiedImageError | zero bytes | empty file; must fail with a clear error, not crash |
JPEG Variants Test Images
78 files covering the variants that real uploads and real
cameras produce: EXIF orientations 1-8, CMYK, grayscale, 4:4:4 / 4:2:2 / 4:2:0 chroma subsampling, progressive and
baseline coding, restart markers, ICC, EXIF with GPS, XMP, comments, odd image sizes, seven file extensions and five
broken or mislabeled files. Every valid file has a lossless PNG reference of how it should look when displayed
correctly, and every structural fact in metadata.csv was read back from the bytes, not copied from encoder settings.
All images were generated by a script: a test chart and a simple synthetic landscape. No photos of people, no third-party content, CC0.
Why this dataset
"It's just a JPEG" is where a lot of image code breaks. The same .jpg can be stored sideways with an EXIF tag,
can be CMYK from a print workflow, can be progressive, can carry the GPS position of a phone, or can be a PNG with
the wrong extension. This set puts those cases side by side with a known correct answer, which makes it useful for:
- Testing upload pipelines and thumbnailers. Check that photos taken in portrait do not come out rotated
(
orientation/), that CMYK files do not turn into negatives (color/), and that resizing keeps the ICC profile. Compare your output withreference/*.png(thepsnr_vs_reference_dbcolumn shows what a correct decode scores). - Validating file type detection.
broken/png_named_jpg.jpgandbroken/webp_named_jpeg.jpeghave a JPEG extension but other bytes;extensions/holds one byte-identical file as.jpg,.jpeg,.jpe,.jfif,.jfi,.JPGand.JPEG. Upload forms that accept.jpgbut reject.jpegor.jfiffail here, and so do validators that trust the extension. - Checking privacy cleanup.
metadata/*_exif_gps.jpgcarries camera fields and GPS coordinates (the Royal Observatory in Greenwich, not a real photo location). After "remove metadata" there should be no GPS IFD left. - Writing or fuzzing a decoder. Progressive files with 10 scans, restart intervals, image sizes that are not a multiple of the 16x16 MCU (1x1, 7x5, 17x13, 1001x667), a truncated file without EOI, junk after EOI, and an empty file.
- Seeing compression artifacts on purpose. The chart has red/blue stripes, 1 px line pairs, a checkerboard and a 16-step grey ramp, so the difference between quality 10 and 100 or between 4:2:0 and 4:4:4 is visible at a glance.
Layout
metadata.csv one row per file
files/<group>/<name>.<ext> the samples
reference/<scene>.png lossless upright originals (also gray and resized variants)
| group | files | what changes |
|---|---|---|
quality |
14 | quality 10, 25, 50, 75, 85, 95, 100 for both scenes |
subsampling |
6 | 4:4:4, 4:2:2, 4:2:0 at quality 90 |
process |
8 | optimized Huffman tables, progressive (4:2:0 and 4:4:4), restart markers |
color |
6 | grayscale, CMYK with Adobe APP14 marker, embedded sRGB ICC profile |
orientation |
16 | EXIF Orientation 1-8; pixels stored transformed, so only a reader that applies the tag shows them upright |
metadata |
10 | EXIF with GPS, XMP packet, COM comment, 72 and 300 dpi |
dimensions |
6 | 1x1, 7x5, 16x16, 17x13, 1001x667 and a 12 MP 4000x3000 photo-sized file |
extensions |
7 | one file under seven JPEG extensions |
broken |
5 | truncated, trailing data after EOI, PNG named .jpg, WebP named .jpeg, empty |
The two scenes:
chart: hue band, grey ramp, colour patches (including a skin tone), red/blue stripes for chroma subsampling, 1 px line pairs, checkerboard, and orientation marks (an arrow with TOP, LEFT, RIGHT and an asymmetric F). If the arrow does not point up, the orientation was handled wrong.landscape: sky gradient, sun, three mountain ridges, trees and a lake with a reflection, plus light grain so it compresses like a photo rather than like flat graphics.
Columns of metadata.csv
| column | meaning |
|---|---|
file_name, group, scene, extension |
where the file is and what it shows |
real_format |
format detected from the first bytes: jpeg, png, webp, empty |
valid_jpeg |
false for truncated, mislabeled and empty files |
width, height |
size stored in the SOF marker |
display_width, display_height |
size after applying EXIF orientation |
exif_orientation |
value of tag 0x0112, if present |
process, bit_depth, components, sampling_factors, chroma_subsampling |
from the SOF marker |
scans, restart_interval |
number of SOS segments, DRI value |
app_markers |
APP segments in file order, such as APP0:JFIF APP1:Exif APP2:ICC |
adobe_transform, icc_profile, exif, xmp, comment, jfif_density |
metadata found in the file |
has_eoi, trailing_bytes |
whether the file ends properly and how much follows EOI |
size_bytes, sha256 |
file size and hash |
reference, psnr_vs_reference_db |
the PNG it should match and the PSNR of a correct decode (Pillow, orientation applied) |
pillow_decode |
ok or the error Pillow raised |
encoder_settings |
what the generator asked the encoder for |
expected_behavior |
what a correct reader or converter should do with this file |
How the files were made
Scenes are drawn with NumPy and Pillow; files are encoded with Pillow 13.0 on libjpeg-turbo 3.2.0. The structure columns come from a small marker parser run over the final bytes, and every valid file was decoded again and compared with its reference. All orientation files decode back to the upright reference at 30.9 dB or more, the same level as the plain baseline file of that scene.
The generator is public: jpeg-variants-generator on
GitLab. It rebuilds this exact set byte for byte (same Pillow and libjpeg-turbo), and you can change the scenes or
add your own variants. Its parse_jpeg() also works on your own files.
Limits: everything comes from one encoder. There are no arithmetic-coded, 12-bit, lossless (SOF3) or YCCK files, no MPO or embedded EXIF thumbnails, and no files from real cameras with vendor maker notes. A CMYK JPEG from Photoshop or a phone photo can contain things libjpeg-turbo never writes.
Converting these files
If you need to turn .jpeg, .jfif or any of the other variants into a plain .jpg (for example for an upload form
that only takes .jpg), the JPEG to JPG converter does it in the browser without
re-compressing the image and can strip GPS and camera data on the way.
- Downloads last month
- 90