Skip to content

Commit

Permalink
Set compression factor to 99
Browse files Browse the repository at this point in the history
-q 99 ran for 6 seconds, but -q 100 ran for 22 seconds with next to no change in filesize
  • Loading branch information
ThreeDeeJay committed May 25, 2022
1 parent 4da4484 commit 803fb13
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
cwebp.exe
cwebp.exe
*.zip
2 changes: 1 addition & 1 deletion PNG-WebP.bat
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion PNS-WebP.bat
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 803fb13

Please sign in to comment.