mirror of
https://github.com/JanJastrow/.dotfiles.git
synced 2024-11-26 04:02:51 +01:00
jpeg resize script
This commit is contained in:
parent
950e351f77
commit
ccb2cfb2e6
@ -34,3 +34,7 @@ function png2web() {
|
|||||||
rm -f "$f";
|
rm -f "$f";
|
||||||
done
|
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