fixed images

This commit is contained in:
2025-12-03 11:35:49 +01:00
parent f9737fdf73
commit 7a2cac27cd
710 changed files with 53 additions and 7 deletions
@@ -0,0 +1,23 @@
@echo off
setlocal enabledelayedexpansion
echo Processando immagini PNG nella cartella...
for %%f in (*.png) do (
echo ---
echo File: %%f
rem 1. Trim del bordo bianco
magick "%%f" -trim +repage "_tmp_%%f"
rem 2. Aggiunta margine 15%
magick "_tmp_%%f" -bordercolor white -border 15%x15% "%%f"
rem 3. Rimozione file temporaneo
del "_tmp_%%f"
echo Fatto: %%f
)
echo Operazione completata!
pause