|
|
#11 |
|
Major Dude
Join Date: Jul 2003
Location: UK
Posts: 1,316
|
just a quick bat file for use with pngcrush (handy dos utility to reduce your bloated pngs
), this will crush the pngs in the specific folder & move the originals to a new folder (for safe keeping ) & then move the new crushed pngs back to the original folderhandy for the last skin optimisations ![]() use at own risk it works on my box ![]() @ECHO OFF REM ******************************************************************************************************** REM REM this will pngcrush all pngs and output the new crushed pngs to the output folder REM it will create a source folder within your folder and move the original pngs to that for safe keeping REM copy pngcrush.exe and this file to each of your png folders you want to crush REM USE AT OWN RISK!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! REM REM ******************************************************************************************************** REM Basic pngcrush -d dir [other options] files.png ... CLS @ECHO ON ECHO Making an Originalsource folder md originals pause ECHO Crushing those bloated pngs pngcrush -d output *.png *.png pause ECHO Moving all original pngs to source folder move *.png originals\ pause ECHO Moving all crushed pngs to original folder move output\*.png pause ECHO Complete pause |
|
|
|
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|