arq-front_image-dithered/scripts/dither_nb.bat

8 lines
455 B
Batchfile
Raw Permalink Normal View History

2025-08-12 13:46:49 +02:00
:: YOUHAVETOINSTALLIMAGEMAGICKONWINDOWSTORUNTHISSCRIPT. (SEE the .sh script for linux)
:: Source : https://site.sarahgarcin.com/web-frugal/#images
:: USE :
:: 1- place the dither_nb.bat in a folder with your images.
:: 2- Make sure the .bat is executable.
:: 3- Double-click: Its done !
for %%i in (*.jpg) do convert "%%i" -resize 400x400 -strip -quality 86 -colorspace Gray -dither FloydSteinberg -colors 4 "dither_%%i"