Commit 45f862e9 authored by 神楽坂玲奈's avatar 神楽坂玲奈

fix resize

parent f10bbd1a
......@@ -35,8 +35,8 @@ for locale in locales/*.yml; do
done
for image in ygopro-images-${locale}/*.png; do
id=$(basename "${image}" .png)
convert "${image}" -colorspace RGB -resize 177x254 -colorspace sRGB "ygopro-images/${id}.jpg"
convert "${image}" -colorspace RGB -resize 44x64 -colorspace sRGB "ygopro-images/thumbnail/${id}.jpg"
convert "${image}" -colorspace RGB -resize 177x254! -colorspace sRGB "ygopro-images/${id}.jpg"
convert "${image}" -colorspace RGB -resize 44x64! -colorspace sRGB "ygopro-images/thumbnail/${id}.jpg"
done
git_push ygopro-images
done
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment