Skip to content

Commit

Permalink
Merge branch 'main' into buffer-0.19
Browse files Browse the repository at this point in the history
  • Loading branch information
Hiroshiba committed May 30, 2024
2 parents 70ed80c + b59b147 commit d56c257
Show file tree
Hide file tree
Showing 102 changed files with 3 additions and 1 deletion.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Binary file not shown.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Binary file not shown.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
4 changes: 3 additions & 1 deletion scripts/resize.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,10 @@ elif ! [ -d ./character_info ]; then
fi

# .png_large がなかったら、.png を .png_large にリネームしたあと 256x256 の .png を作成する
for i in ./character_info/*/icons/*.png; do
# .png が 256x256 だった場合は何もしない
for i in ./character_info/*/icon.png ./character_info/*/icons/*.png; do
if [ -f "${i/%/_large}" ]; then continue; fi
if [ "$(magick identify -format "%w %h" "$i")" = "256 256" ]; then continue; fi
echo "---"
mv "$i" "${i/%/_large}"
magick convert -resize 256x256 "${i/%/_large}" "$i"
Expand Down

0 comments on commit d56c257

Please sign in to comment.