Update keywords2images.sh
This commit is contained in:
parent
739124585a
commit
ea8b0c3398
1 changed files with 3 additions and 5 deletions
|
@ -17,9 +17,7 @@ ls -1v img/* | while IFS= read -r file; do
|
||||||
done > concat.txt
|
done > concat.txt
|
||||||
sed -i '/\\/d' concat.txt
|
sed -i '/\\/d' concat.txt
|
||||||
|
|
||||||
|
cd img
|
||||||
# Resize images in img folder to 4k.
|
# Resize images in img folder to 4k.
|
||||||
for image in img/*; do
|
magick * -resize "3840x2160" *
|
||||||
# Resize the image to 4k.
|
cd ..
|
||||||
convert "$image" -resize "3840x2160" "$image"
|
|
||||||
echo "Resized $image to 3840x2160"
|
|
||||||
done
|
|
||||||
|
|
Loading…
Reference in a new issue