2 3 4 5 6 7 |
@echo off
path %path%;"D:\Imagination\PowerVR\GraphicsSDK\PVRTexTool\CLI\Windows_x86_32" for /f "usebackq tokens=*" %%d in (`dir /s /b *.ktx`) do ( PVRTexToolCLI.exe -f PVRTC1_4 -i "%%d" -d "%%~dpnd.png" del "%%~dpnd.pvr" ) |
2 3 4 5 6 7 8 |
@echo off
path %path%;"D:\Imagination\PowerVR\GraphicsSDK\PVRTexTool\CLI\Windows_x86_32" for /f "usebackq tokens=*" %%d in (`dir /s /b *.ktx`) do ( PVRTexToolCLI.exe -f PVRTC1_4 -i "%%d" -d "%%~dpnd.png" del "%%~dpnd.pvr" "D:\Program Files\ImageMagick-6.8.5-5\convert.exe" -flip "%%~dpnd.png" "%%~dpnd.png" ) |
原文:http://blog.csdn.net/akof1314/article/details/38022263