1
Fork 0

change image degredation algorithm

main
Zachary Flower 8 months ago
parent d1357452a8
commit 4950a3875b
  1. 2
      bin/degrade.sh
  2. 2
      http/_includes/head.html
  3. BIN
      http/assets/posts/asus-internet-radio-degraded.gif
  4. BIN
      http/assets/posts/badges-degraded.gif
  5. BIN
      http/assets/posts/chicken-coop-degraded.gif
  6. BIN
      http/assets/posts/comparison-1-degraded.gif
  7. BIN
      http/assets/posts/comparison-4-degraded.gif
  8. BIN
      http/assets/posts/dikumud-hell-degraded.gif
  9. BIN
      http/assets/posts/freaky-friday-degraded.gif
  10. BIN
      http/assets/posts/gibberish-degraded.gif
  11. BIN
      http/assets/posts/hi-there-degraded.gif
  12. BIN
      http/assets/posts/kiddle-dinosaur-search-degraded.gif
  13. BIN
      http/assets/posts/pillow-fight-degraded.gif
  14. BIN
      http/assets/posts/postgres-1-degraded.gif
  15. BIN
      http/assets/posts/postgres-2-degraded.gif
  16. BIN
      http/assets/posts/red-riding-hood-degraded.gif
  17. BIN
      http/assets/posts/the-fuck-screenshot-degraded.gif
  18. BIN
      http/assets/posts/typewriter-degraded.gif

@ -9,5 +9,5 @@ for f in *.jpg; do
echo "Converting $f to gif"
convert "${f}" -verbose -format GIF -interlace GIF -resize 640\> -colorspace gray -colors 4 -ordered-dither h8x8a -transparent white -set filename:f "%[t]-degraded" "%[filename:f].gif"
convert "${f}" -verbose -format GIF -interlace GIF -resize 640\> -colorspace gray -colors 4 -ordered-dither h4x4a -set filename:f "%[t]-degraded" "%[filename:f].gif"
done

@ -93,7 +93,7 @@
}
.i {
background-color: #fff;
background-color: #aaa;
}
pre {

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.4 KiB

After

Width:  |  Height:  |  Size: 5.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 18 KiB

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.9 KiB

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.2 KiB

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.7 KiB

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.3 KiB

After

Width:  |  Height:  |  Size: 6.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.0 KiB

After

Width:  |  Height:  |  Size: 7.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.6 KiB

After

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 9.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.3 KiB

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 958 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 9.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.5 KiB

After

Width:  |  Height:  |  Size: 5.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

After

Width:  |  Height:  |  Size: 19 KiB

Loading…
Cancel
Save