Repository navigation
Commit 0bf69b3
tests: a photo of smartphones instead of the old photo
tests/targets/external.png (and external.jpg) are now a square of
bench/inputs/photo.jpg (Carlos Varela, CC BY 2.0, in the third party
notices), scaled to 638x638; profile-card.png, the old README image, is
replaced by screen.png, a settings window drawn with ImageScript (flat
areas, text, rounded corners). Everything made from them is written
again, by the fixture scripts and the tools they name:
- tests/avif: aomenc 3.8.2, references by libavif 1.4.2 (no libyuv, as
avifdec -u bilinear; reproduces every reference of the old files)
- tests/jxl: cjxl/djxl 0.11.1 (the parts of the photo and the screen;
the circle, patches, animations and conformance files are unchanged)
- tests/ico, tests/hdr, tests/qoi: scripts/format-fixtures.py
- tests/tiffs: scripts/tiff-fixtures.py, which now also writes the
TIFFs Pillow writes (the photo scaled to 157x101 bicubic, as before).
i16b stores v * 257: its high bytes, which ImageScript reads, were 0
- references: cwebp 1.6.0, cjxl -e 1 with AVX2 and without SIMD (qemu)
- targets: fisheye, flip, effects (OVERWRITE_TEST)
Every tool was checked against the old files first: they reproduce the
old references. Two thresholds depend on the photo: monochrome AVIF is
13% smaller instead of 30% (the photo has little color), and JPEG
quality 10 reaches 27.7 dB (as libjpeg does) instead of 28.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BsU2GDnECphmYTjLB5UeZv1 parent 16af0cc commit 0bf69b3
122 files changed
Lines changed: 94 additions & 79 deletions
File tree
- scripts
- tests
- avif
- hdr
- ico
- jxl
- qoi
- targets
- tiffs
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
265 | 265 | | |
266 | 266 | | |
267 | 267 | | |
268 | | - | |
| 268 | + | |
269 | 269 | | |
270 | 270 | | |
271 | 271 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
| 44 | + | |
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
| 8 | + | |
7 | 9 | | |
8 | 10 | | |
9 | 11 | | |
10 | 12 | | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
11 | 25 | | |
12 | 26 | | |
13 | 27 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
| 52 | + | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
| 55 | + | |
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| |||
Binary file not shown.
Binary file not shown.
Binary file not shown.
0 commit comments