pokerogue/public/images/pokemon/icons/input/resize.ps1

3 lines
150 B
PowerShell

Get-ChildItem -Path $dir -Filter *.png | ForEach-Object {
magick.exe convert $_.FullName -background none -gravity center -extent 40x30 $_.FullName
}