1
0
Fork 0
mirror of https://github.com/Phantop/dotfiles synced 2024-12-01 02:53:26 +00:00
dotfiles/fish/functions/undeflate.fish

9 lines
325 B
Fish
Raw Normal View History

function undeflate
2024-06-20 18:18:28 +00:00
fd -e jpg -e jpeg -x jpegoptim
fd -t f -x advzip -z0
fd -t f -x advdef -z0
fd -e pdf -x qpdf --stream-data=uncompress --replace-input --compress-streams=n --recompress-flate --compression-level=0 --optimize-images {}
fd -e \~qpdf-orig -x rm
2024-06-20 18:18:28 +00:00
fd -e png -x oxipng \; -x advpng -z0
end