Template talk:Baptiste Skins

Get-ChildItem "*.bmp" | ForEach-Object { if ($_.BaseName.contains("Weapon")) { <#Bap only has 1 weapon #> magick mogrify -gravity center -crop 3500x3500+360-300 +repage -resize 1000x1000 -alpha off -path upload -format png $_.FullName } else { <# Hero #> magick mogrify -gravity North -crop 3100x3100+0-0 +repage -resize 1000x1000 -alpha off -path upload -format png $_.FullName } }  Write-Output Done