\\\\\\\\\\\\\\\\\\\\\\\\
mozjpeg lossless.bat
////////////////////////
@echo off
if %1=="" goto :EOF

:start
if /i "%~x1" neq ".jpg" (if /i "%~x1" neq ".jpeg" (goto end))

"%~dp0jpegtran.exe" -outfile "%~dpn1-moz%~x1" -optimise -copy none %1
for %%A in ("%~dpn1-moz%~x1") do for %%B in (%1) do if %%~zA LSS %%~zB (move /y "%~dpn1-moz%~x1" %1) else (del /q "%~dpn1-moz%~x1")

:end
shift /1
if NOT %1=="" goto start
////////////////////////
\\\\\\\\\\\\\\\\\\\\\\\\
mozjpeg lossy quality 95.bat
////////////////////////
@echo off
if %1=="" goto :EOF

:start
if /i "%~x1" neq ".bmp" goto end

"%~dp0cjpeg.exe" -quality 95 %1 > "%~dpn1.jpg"
"%~dp0jpegtran.exe" -outfile "%~dpn1-moz.jpg" -optimise -copy none "%~dpn1.jpg"
for %%A in ("%~dpn1-moz.jpg") do for %%B in ("%~dpn1.jpg") do if %%~zA LSS %%~zB (move /y "%~dpn1-moz.jpg" "%~dpn1.jpg") else (del /q "%~dpn1-moz.jpg")

:end
shift /1
if NOT %1=="" goto start
////////////////////////
\\\\\\\\\\\\\\\\\\\\\\\\
gifsicle.bat
////////////////////////
@echo off
if %1=="" goto :EOF

:start
if /i "%~x1" neq ".gif" goto end

"%~dp0gifsicle.exe" -O3 < %1 > "%~dpn1-sicle%~x1"
for %%A in ("%~dpn1-sicle%~x1") do for %%B in (%1) do if %%~zA LSS %%~zB (move /y "%~dpn1-sicle%~x1" %1) else (del /q "%~dpn1-sicle%~x1")

:end
shift /1
if NOT %1=="" goto start
////////////////////////
\\\\\\\\\\\\\\\\\\\\\\\\
PNG Optimize 256.bat
////////////////////////
@echo off
if %1=="" goto :EOF

:start
if /i "%~x1" neq ".png" goto end

rem pngquant 256
"%~dp0pngquant.exe" --skip-if-larger --ext=.png --force --verbose --speed=1 256 %1
rem "%~dp0pngquant.exe" --skip-if-larger --ext=.png --force --verbose --speed=1 --ordered 256 %1

rem pngrewrite
"%~dp0pngrewrite.exe" %1 "%~dpn1-re%~x1"
for %%A in ("%~dpn1-re%~x1") do for %%B in (%1) do if %%~zA LSS %%~zB (move /y "%~dpn1-re%~x1" %1) else (del /q "%~dpn1-re%~x1")

rem advpng
"%~dp0advpng.exe" -z -4 %1
"%~dp0advpng.exe" -z -4 -i 15 %1

rem zopflipng
"%~dp0zopflipng64a.exe" %1 "%~dpn1-zop%~x1"
for %%A in ("%~dpn1-zop%~x1") do for %%B in (%1) do if %%~zA LSS %%~zB (move /y "%~dpn1-zop%~x1" %1) else (del /q "%~dpn1-zop%~x1")
"%~dp0zopflipng64a.exe" -m %1 "%~dpn1-zop%~x1"
for %%A in ("%~dpn1-zop%~x1") do for %%B in (%1) do if %%~zA LSS %%~zB (move /y "%~dpn1-zop%~x1" %1) else (del /q "%~dpn1-zop%~x1")

:end
shift /1
if NOT %1=="" goto start
////////////////////////
\\\\\\\\\\\\\\\\\\\\\\\\
advzip.bat
////////////////////////
@echo off
if %1=="" goto :EOF

:start
if /i "%~x1" neq ".zip" goto end

rem "%~dp0advzip.exe" -z -k -3 %1
"%~dp0advzip.exe" -z -k -4 %1
"%~dp0advzip.exe" -z -k -4 -i 15 %1

:end
shift /1
if NOT %1=="" goto start
////////////////////////
SEO [PR] 爆速!無料ブログ 無料ホームページ開設 無料ライブ放送