Update keywords2images.sh

This commit is contained in:
Sam Sneed 2024-06-15 20:07:00 +00:00 committed by GitHub
parent 739124585a
commit ea8b0c3398
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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