From 803fb134e5e6331859e3abfa732b6503e19d5802 Mon Sep 17 00:00:00 2001 From: 3DJ <71472458+ThreeDeeJay@users.noreply.github.com> Date: Tue, 24 May 2022 20:47:35 -0400 Subject: [PATCH] Set compression factor to 99 -q 99 ran for 6 seconds, but -q 100 ran for 22 seconds with next to no change in filesize --- .gitignore | 3 ++- PNG-WebP.bat | 2 +- PNS-WebP.bat | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index c415fee..b37fe46 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ -cwebp.exe \ No newline at end of file +cwebp.exe +*.zip \ No newline at end of file diff --git a/PNG-WebP.bat b/PNG-WebP.bat index ee5511d..9c245c0 100644 --- a/PNG-WebP.bat +++ b/PNG-WebP.bat @@ -67,6 +67,6 @@ EXIT /B :Encode ECHO Encoding %2 -"%~dp0cwebp.exe" -v -mt -noasm -metadata all -progress -lossless -z 8 -m 6 %1 -o %2 +"%~dp0cwebp.exe" -v -mt -noasm -metadata all -progress -lossless -z 8 -m 6 -q 99 %1 -o %2 ECHO. EXIT /B \ No newline at end of file diff --git a/PNS-WebP.bat b/PNS-WebP.bat index 9bd68d3..dac33f6 100644 --- a/PNS-WebP.bat +++ b/PNS-WebP.bat @@ -67,6 +67,6 @@ EXIT /B :Encode ECHO Encoding %2 -"%~dp0cwebp.exe" -v -mt -noasm -metadata all -progress -lossless -z 8 -m 6 %1 -o %2 +"%~dp0cwebp.exe" -v -mt -noasm -metadata all -progress -lossless -z 8 -m 6 -q 99 %1 -o %2 ECHO. EXIT /B \ No newline at end of file