script: add truncate-progressive-jpeg.go
"script/confirm-matches-djpeg.sh test/data/*.jpeg" shows differences on "test/data/peacock.progressive.scan00[0-8].jpeg".
No files matched your search
@@ -126,6 +126,7 @@ image](https://commons.wikimedia.org/wiki/File:Pavo_Real_Venezolano.jpg),
|
||||
Dedication":
|
||||
- `wget --quiet https://upload.wikimedia.org/wikipedia/commons/thumb/6/6f/Pavo_Real_Venezolano.jpg/1024px-Pavo_Real_Venezolano.jpg`
|
||||
- `convert 1024px-Pavo_Real_Venezolano.jpg -resize 100x75 peacock.ppm`
|
||||
- `convert peacock.ppm peacock.png`
|
||||
- `rm 1024px-Pavo_Real_Venezolano.jpg`
|
||||
- `cjpeg peacock.ppm > peacock.default.jpeg`
|
||||
- `cjpeg -optimize peacock.ppm > peacock.optimize.jpeg`
|
||||
@@ -137,6 +138,7 @@ Dedication":
|
||||
- `cjpeg -sample 2x1 peacock.ppm > peacock.s2x1-422.jpeg`
|
||||
- `cjpeg -sample 1x1 peacock.ppm > peacock.s1x1-444.jpeg`
|
||||
- `cjpeg -sample 2x2,2x1,1x1 peacock.ppm > peacock.s-weird.jpeg`
|
||||
- `go run ../../script/truncate-progressive-jpeg.go peacock.progressive.jpeg`
|
||||
|
||||
`pi.txt` contains the digits of pi.
|
||||
|
||||
|
||||
|
After Width: | Height: | Size: 13 KiB |
|
After Width: | Height: | Size: 405 B |
|
After Width: | Height: | Size: 718 B |
|
After Width: | Height: | Size: 816 B |
|
After Width: | Height: | Size: 910 B |
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 1.4 KiB |
|
After Width: | Height: | Size: 1.4 KiB |
|
After Width: | Height: | Size: 1.5 KiB |
|
After Width: | Height: | Size: 1.6 KiB |
|
After Width: | Height: | Size: 2.2 KiB |
@@ -84,8 +84,19 @@ db2733f5 test/data/muybridge.gif
|
||||
d42a13cd test/data/peacock.default.jpeg
|
||||
d49bab2d test/data/peacock.grayscale.jpeg
|
||||
d42a13cd test/data/peacock.optimize.jpeg
|
||||
bdf8cc70 test/data/peacock.png
|
||||
bdf8cc70 test/data/peacock.ppm
|
||||
d42a13cd test/data/peacock.progressive.jpeg
|
||||
768072d3 test/data/peacock.progressive.scan000.jpeg
|
||||
6b15534b test/data/peacock.progressive.scan001.jpeg
|
||||
4073df79 test/data/peacock.progressive.scan002.jpeg
|
||||
10395b34 test/data/peacock.progressive.scan003.jpeg
|
||||
962a4d89 test/data/peacock.progressive.scan004.jpeg
|
||||
be442911 test/data/peacock.progressive.scan005.jpeg
|
||||
298e35bf test/data/peacock.progressive.scan006.jpeg
|
||||
a6727c95 test/data/peacock.progressive.scan007.jpeg
|
||||
206c9cab test/data/peacock.progressive.scan008.jpeg
|
||||
d42a13cd test/data/peacock.progressive.scan009.jpeg
|
||||
951676cc test/data/peacock.q30.jpeg
|
||||
56835223 test/data/peacock.q99.jpeg
|
||||
1543f677 test/data/peacock.s-weird.jpeg
|
||||
|
||||