Shrinks PNGs and converts large gif to webm
PNGs were ran through TinyPng. Table.gif was weighing in at over 1.7mb on my machine. Converted to webm and it's down to 80kb which is pretty nice for something on the home page. Other gifs didn't have that much of an improvement so I just left them as GIFs.
Before Width: | Height: | Size: 3.5 KiB After Width: | Height: | Size: 2.6 KiB |
Before Width: | Height: | Size: 163 KiB After Width: | Height: | Size: 60 KiB |
Before Width: | Height: | Size: 159 KiB After Width: | Height: | Size: 51 KiB |
Before Width: | Height: | Size: 219 KiB After Width: | Height: | Size: 88 KiB |
Before Width: | Height: | Size: 421 KiB After Width: | Height: | Size: 96 KiB |
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 11 KiB |
Before Width: | Height: | Size: 33 KiB After Width: | Height: | Size: 27 KiB |
Before Width: | Height: | Size: 24 KiB After Width: | Height: | Size: 9.7 KiB |
BIN
docs/input/assets/images/table.mp4
Normal file
Before Width: | Height: | Size: 55 KiB After Width: | Height: | Size: 21 KiB |
BIN
docs/input/assets/images/table.webm
Normal file
Before Width: | Height: | Size: 24 KiB After Width: | Height: | Size: 8.7 KiB |
@ -27,4 +27,11 @@ for Python written by Will McGugan.
|
||||
|
||||

|
||||
|
||||
{class=mt-4}
|
||||
<video autoplay muted loop class="mt-4">
|
||||
<source src="./assets/images/table.webm"
|
||||
type="video/webm">
|
||||
<source src="./assets/images/table.mp4"
|
||||
type="video/mp4">
|
||||
Sorry, your browser doesn't support embedded videos.
|
||||
</video>
|
||||
|
||||
|