mirror of
https://github.com/medialab-prado/datamad2017.git
synced 2025-06-08 06:21:29 +02:00
Initial commit
This commit is contained in:
parent
8e3b6da84f
commit
95607eea61
241 changed files with 14242 additions and 3 deletions
9
automation/images/pngquant.bat
Normal file
9
automation/images/pngquant.bat
Normal file
|
@ -0,0 +1,9 @@
|
|||
@echo on
|
||||
set LOCAL_DIR=%~dp0
|
||||
set LOCAL_DIR=%LOCAL_DIR:~0,-1%
|
||||
if "%~1"=="" (set "SOURCE=..\..\img") else (set "SOURCE=%~1")
|
||||
|
||||
echo Optimizing PNG with pngquant
|
||||
forfiles /p %SOURCE% /s /m "*.png" /c "cmd /c echo processing @path && %LOCAL_DIR%\pngquant.exe --skip-if-larger --force --ext .png @path"
|
||||
|
||||
pause
|
Loading…
Add table
Add a link
Reference in a new issue