Change no dither arg to 0

This commit is contained in:
Stian Lund 2023-08-11 23:23:26 +02:00
parent dccbe88206
commit 77e79e20a6
4 changed files with 6 additions and 5 deletions

View File

@ -54,12 +54,12 @@ Palettegen Modes:
3: full - one palette for the whole animation
Dithering Options:
0: No Dithering
1: Bayer
2: Heckbert
3: Floyd Steinberg
4: Sierra2
5: Sierra2_4a
6: No Dithering
About Bayerscale:
When bayer dithering is selected, the Bayer Scale option defines the

View File

@ -91,12 +91,12 @@ ECHO 2: single - one palette per frame
ECHO 3: full - one palette for the whole animation
ECHO:
ECHO Dithering Options:
ECHO 0: No Dithering
ECHO 1: Bayer
ECHO 2: Heckbert
ECHO 3: Floyd Steinberg
ECHO 4: Sierra2
ECHO 5: Sierra2_4a
ECHO 6: No Dithering
ECHO:
ECHO About Bayerscale:
ECHO When bayer dithering is selected, the Bayer Scale option defines the
@ -127,10 +127,10 @@ IF %mode% GTR 3 (
ECHO Not a valid mode
GOTO :EOF
)
IF %dither% GTR 6 (
IF %dither% GTR 5 (
ECHO Not a valid dither algorithm
GOTO :EOF
) ELSE IF %dither% LSS 1 (
) ELSE IF %dither% LSS 0 (
ECHO Not a valid dither algorithm
GOTO :EOF
)
@ -254,12 +254,13 @@ IF DEFINED errorswitch (
IF %mode% EQU 3 SET "errordiff==diff_mode=rectangle"
)
IF %dither% EQU 0 SET ditheralg=none
IF %dither% EQU 1 SET ditheralg=bayer
IF %dither% EQU 2 SET ditheralg=heckbert
IF %dither% EQU 3 SET ditheralg=floyd_steinberg
IF %dither% EQU 4 SET ditheralg=sierra2
IF %dither% EQU 5 SET ditheralg=sierra2_4a
IF %dither% EQU 6 SET "ditheralg=none"
IF NOT %mode% EQU 2 (
IF DEFINED errorswitch SET ditherenc=:dither=!ditheralg!

BIN
vivaldi_success.mp4 Executable file

Binary file not shown.

BIN
vivaldi_success.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 MiB