mirror of
https://github.com/JanJastrow/.dotfiles.git
synced 2024-12-22 15:01:54 +01:00
jpeg resize script
This commit is contained in:
parent
950e351f77
commit
ccb2cfb2e6
@ -34,3 +34,7 @@ function png2web() {
|
||||
rm -f "$f";
|
||||
done
|
||||
}
|
||||
|
||||
function jpeg1024() {
|
||||
magick "$1" -resize '1024x1024\>' -background black -flatten TGA:- | cjpeg -quality 70 -targa -outfile $1.jpg
|
||||
}
|
Loading…
Reference in New Issue
Block a user