mirror of
https://github.com/msfjarvis/msfjarvis.dev.git
synced 2024-06-03 04:18:56 +05:30
[skip deploy] Add script to convert all PNG assets to WebP
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
parent
1c94a48241
commit
dbf6280c3e
4
pngtowebp.sh
Executable file
4
pngtowebp.sh
Executable file
|
@ -0,0 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
fd -tf png$ static/uploads -x convert {} -quality 100 -define webp:lossless=true {.}.webp
|
||||
fd -tf png$ static/uploads -X rm -v
|
Loading…
Reference in New Issue
Block a user