/ Published in: DOS Batch

Crops and resizes, maintaining perspective, with a white background.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
REM Copy images to processing directory xcopy /Y /C /I /E C:\Imagery\ToProcess C:\Imagery\Processing\Originals REM Copy originals to 200 folder ready for processing xcopy /Y /C /I /E C:\Imagery\Processing\Originals C:\Imagery\Processing\200x200 REM Convert 200s REM All done - copy images to processed directory xcopy /Y /C /I /E C:\Imagery\Processing\200x200 C:\Imagery\Processed\200x200 xcopy /Y /C /I /E C:\Imagery\Processing\Originals C:\Imagery\Processed\Originals REM Remove image files from system to prevent repeated conversions of the same images DEL /F /S /Q "C:\Imagery\Processing\200x200" DEL /F /S /Q "C:\Imagery\Processing\Originals" DEL /F /S /Q "C:\Imagery\ToProcess"
Comments
