Browse Source

Optimized images to decrease website loading time.

pull/4/head
jrtechs 6 years ago
parent
commit
86b4ae0a4b
38 changed files with 19 additions and 0 deletions
  1. +9
    -0
      README.md
  2. BIN
      entries/hardware/media/2ac00ccdcae9b672a2f844b7f8f318c5.png
  3. BIN
      entries/hardware/media/31210e78cc2cae122a6c3fdb93ab87c0.png
  4. BIN
      entries/hardware/media/3812f5e41805eb999b057c15bae19081.png
  5. BIN
      entries/hardware/media/d460663e2f964c76a15d2c07a7052d60.png
  6. BIN
      entries/hardware/media/f19479753c6d86855a3a77f1cf840942.png
  7. BIN
      entries/java/media/2a20326e77c3f67aa3753401ba4bc612.png
  8. BIN
      entries/java/media/2a96900bae1e8946a1df243d8318e69f.png
  9. BIN
      entries/java/media/c1e712bdead908ebd72921ec2d1cbd5e.png
  10. BIN
      entries/java/media/f5cb2682e219549cb07acd1d01c2ccb1.png
  11. BIN
      entries/programming/media/90703af9527d8d4aecc7eefbda5f049a.png
  12. BIN
      entries/projects/media/09bce0ed13f28db38a141bd10bb096c8.jpg
  13. BIN
      entries/projects/media/09d34d523359111041accf89c82fd6c2.png
  14. BIN
      entries/projects/media/0b9d25d56269d39f60177b6b29a882da.png
  15. BIN
      entries/projects/media/13f1d6d93532bfb23a03a9a4fec5f41b.png
  16. BIN
      entries/projects/media/23c6ad380e3224fbcd0c8d28cbecac23.png
  17. BIN
      entries/projects/media/463f2aa188466da8f47309235039250c.jpg
  18. BIN
      entries/projects/media/50dc96254f26b730e842134db98c9966.jpg
  19. BIN
      entries/projects/media/5b7a15fd7b5da2939f4e27eae4ceada3.jpg
  20. BIN
      entries/projects/media/5ebac37ad45784c31219451d6e4c4504.jpg
  21. BIN
      entries/projects/media/81ffef0249da3c1fc077d114fb6beecb.jpg
  22. BIN
      entries/projects/media/ad84021445feb7021f2320f6be599ef5.png
  23. BIN
      entries/projects/media/d0888a3222fa328c291629fac491e268.jpg
  24. BIN
      entries/projects/media/d3f05acc1973ea938920407511c28bff.png
  25. BIN
      entries/projects/media/f8802f1f71cb433274d265fc81e36fc6.jpg
  26. BIN
      entries/projects/media/steam/jrtechs1.png
  27. BIN
      entries/web-development/media/0a829ea2071126a5642534f54bc0fe19.png
  28. BIN
      entries/web-development/media/4fcc3a9fe52f7b2e8bc1bfb164846073.png
  29. BIN
      entries/web-development/media/55ad5b49fe28c6374968b0f8a5b3e48b.png
  30. BIN
      entries/web-development/media/fa157040d5849cc48de1cbec2c67ef69.jpg
  31. BIN
      entries/web-development/media/fbd5a1128549b4feb5bafe3595ac1989.png
  32. BIN
      img/posts/floppy2.jpg
  33. BIN
      img/posts/rit1.jpg
  34. BIN
      img/posts/rit2.jpg
  35. BIN
      img/posts/spaghetti.jpg
  36. BIN
      img/posts/steamGraphWebBanner.png
  37. BIN
      img/posts/wordpress_banner.jpg
  38. +10
    -0
      optimizeImages.sh

+ 9
- 0
README.md View File

@ -89,3 +89,12 @@ Blue:
Purple: Purple:
- Primary: #513E7D - Primary: #513E7D
- Secondary: #D2C0FF - Secondary: #D2C0FF
Stuff for automated image compression
```
apt-get install jpegoptim
jpegoptim --size=500k *.jpg
apt-get install optipng
optipng *.png
```

BIN
entries/hardware/media/2ac00ccdcae9b672a2f844b7f8f318c5.png View File

Before After
Width: 854  |  Height: 573  |  Size: 47 KiB Width: 854  |  Height: 573  |  Size: 38 KiB

BIN
entries/hardware/media/31210e78cc2cae122a6c3fdb93ab87c0.png View File

Before After
Width: 849  |  Height: 573  |  Size: 45 KiB Width: 849  |  Height: 573  |  Size: 36 KiB

BIN
entries/hardware/media/3812f5e41805eb999b057c15bae19081.png View File

Before After
Width: 853  |  Height: 569  |  Size: 62 KiB Width: 853  |  Height: 569  |  Size: 50 KiB

BIN
entries/hardware/media/d460663e2f964c76a15d2c07a7052d60.png View File

Before After
Width: 1365  |  Height: 725  |  Size: 48 KiB Width: 1365  |  Height: 725  |  Size: 35 KiB

BIN
entries/hardware/media/f19479753c6d86855a3a77f1cf840942.png View File

Before After
Width: 850  |  Height: 569  |  Size: 61 KiB Width: 850  |  Height: 569  |  Size: 49 KiB

BIN
entries/java/media/2a20326e77c3f67aa3753401ba4bc612.png View File

Before After
Width: 1401  |  Height: 1010  |  Size: 148 KiB Width: 1401  |  Height: 1010  |  Size: 104 KiB

BIN
entries/java/media/2a96900bae1e8946a1df243d8318e69f.png View File

Before After
Width: 1430  |  Height: 768  |  Size: 195 KiB Width: 1430  |  Height: 768  |  Size: 166 KiB

BIN
entries/java/media/c1e712bdead908ebd72921ec2d1cbd5e.png View File

Before After
Width: 1404  |  Height: 1010  |  Size: 76 KiB Width: 1404  |  Height: 1010  |  Size: 49 KiB

BIN
entries/java/media/f5cb2682e219549cb07acd1d01c2ccb1.png View File

Before After
Width: 1400  |  Height: 1007  |  Size: 85 KiB Width: 1400  |  Height: 1007  |  Size: 60 KiB

BIN
entries/programming/media/90703af9527d8d4aecc7eefbda5f049a.png View File

Before After
Width: 600  |  Height: 878  |  Size: 422 KiB Width: 600  |  Height: 878  |  Size: 413 KiB

BIN
entries/projects/media/09bce0ed13f28db38a141bd10bb096c8.jpg View File

Before After
Width: 756  |  Height: 1008  |  Size: 248 KiB Width: 756  |  Height: 1008  |  Size: 244 KiB

BIN
entries/projects/media/09d34d523359111041accf89c82fd6c2.png View File

Before After
Width: 768  |  Height: 416  |  Size: 99 KiB Width: 768  |  Height: 416  |  Size: 84 KiB

BIN
entries/projects/media/0b9d25d56269d39f60177b6b29a882da.png View File

Before After
Width: 1430  |  Height: 1139  |  Size: 377 KiB Width: 1430  |  Height: 1139  |  Size: 320 KiB

BIN
entries/projects/media/13f1d6d93532bfb23a03a9a4fec5f41b.png View File

Before After
Width: 1200  |  Height: 650  |  Size: 196 KiB Width: 1200  |  Height: 650  |  Size: 139 KiB

BIN
entries/projects/media/23c6ad380e3224fbcd0c8d28cbecac23.png View File

Before After
Width: 952  |  Height: 695  |  Size: 37 KiB Width: 952  |  Height: 695  |  Size: 28 KiB

BIN
entries/projects/media/463f2aa188466da8f47309235039250c.jpg View File

Before After
Width: 986  |  Height: 1314  |  Size: 479 KiB Width: 986  |  Height: 1314  |  Size: 467 KiB

BIN
entries/projects/media/50dc96254f26b730e842134db98c9966.jpg View File

Before After
Width: 826  |  Height: 1102  |  Size: 368 KiB Width: 826  |  Height: 1102  |  Size: 360 KiB

BIN
entries/projects/media/5b7a15fd7b5da2939f4e27eae4ceada3.jpg View File

Before After
Width: 503  |  Height: 116  |  Size: 13 KiB Width: 503  |  Height: 116  |  Size: 10 KiB

BIN
entries/projects/media/5ebac37ad45784c31219451d6e4c4504.jpg View File

Before After
Width: 817  |  Height: 1090  |  Size: 329 KiB Width: 817  |  Height: 1090  |  Size: 322 KiB

BIN
entries/projects/media/81ffef0249da3c1fc077d114fb6beecb.jpg View File

Before After
Width: 503  |  Height: 116  |  Size: 14 KiB Width: 503  |  Height: 116  |  Size: 11 KiB

BIN
entries/projects/media/ad84021445feb7021f2320f6be599ef5.png View File

Before After
Width: 1024  |  Height: 557  |  Size: 133 KiB Width: 1024  |  Height: 557  |  Size: 105 KiB

BIN
entries/projects/media/d0888a3222fa328c291629fac491e268.jpg View File

Before After
Width: 503  |  Height: 116  |  Size: 14 KiB Width: 503  |  Height: 116  |  Size: 10 KiB

BIN
entries/projects/media/d3f05acc1973ea938920407511c28bff.png View File

Before After
Width: 697  |  Height: 598  |  Size: 343 KiB Width: 697  |  Height: 598  |  Size: 219 KiB

BIN
entries/projects/media/f8802f1f71cb433274d265fc81e36fc6.jpg View File

Before After
Width: 982  |  Height: 737  |  Size: 266 KiB Width: 982  |  Height: 737  |  Size: 259 KiB

BIN
entries/projects/media/steam/jrtechs1.png View File

Before After
Width: 1251  |  Height: 944  |  Size: 608 KiB Width: 1251  |  Height: 944  |  Size: 413 KiB

BIN
entries/web-development/media/0a829ea2071126a5642534f54bc0fe19.png View File

Before After
Width: 1431  |  Height: 738  |  Size: 277 KiB Width: 1431  |  Height: 738  |  Size: 231 KiB

BIN
entries/web-development/media/4fcc3a9fe52f7b2e8bc1bfb164846073.png View File

Before After
Width: 1429  |  Height: 715  |  Size: 573 KiB Width: 1429  |  Height: 715  |  Size: 464 KiB

BIN
entries/web-development/media/55ad5b49fe28c6374968b0f8a5b3e48b.png View File

Before After
Width: 1431  |  Height: 763  |  Size: 624 KiB Width: 1431  |  Height: 763  |  Size: 509 KiB

BIN
entries/web-development/media/fa157040d5849cc48de1cbec2c67ef69.jpg View File

Before After
Width: 626  |  Height: 960  |  Size: 77 KiB Width: 626  |  Height: 960  |  Size: 70 KiB

BIN
entries/web-development/media/fbd5a1128549b4feb5bafe3595ac1989.png View File

Before After
Width: 1430  |  Height: 1140  |  Size: 931 KiB Width: 1430  |  Height: 1140  |  Size: 750 KiB

BIN
img/posts/floppy2.jpg View File

Before After
Width: 3013  |  Height: 943  |  Size: 2.2 MiB Width: 3013  |  Height: 943  |  Size: 253 KiB

BIN
img/posts/rit1.jpg View File

Before After
Width: 4032  |  Height: 1048  |  Size: 2.1 MiB Width: 4032  |  Height: 1048  |  Size: 499 KiB

BIN
img/posts/rit2.jpg View File

Before After
Width: 3007  |  Height: 1221  |  Size: 1.5 MiB Width: 3007  |  Height: 1221  |  Size: 253 KiB

BIN
img/posts/spaghetti.jpg View File

Before After
Width: 1123  |  Height: 368  |  Size: 138 KiB Width: 1123  |  Height: 368  |  Size: 29 KiB

BIN
img/posts/steamGraphWebBanner.png View File

Before After
Width: 1080  |  Height: 344  |  Size: 269 KiB Width: 1080  |  Height: 344  |  Size: 174 KiB

BIN
img/posts/wordpress_banner.jpg View File

Before After
Width: 1173  |  Height: 240  |  Size: 54 KiB Width: 1173  |  Height: 240  |  Size: 6.3 KiB

+ 10
- 0
optimizeImages.sh View File

@ -0,0 +1,10 @@
#!/bin/bash
for f in $(find ./ -name '*.jpg' -or -name '*.JPG');
do jpegoptim --size=500k $f;
done
for f in $(find ./ -name '*.png' -or -name '*.PNG');
do optipng $f;
done

Loading…
Cancel
Save