anchor.diff:  )
   if %jpeg% equ 1 (
   	mozjpegtran -verbose -revert -optimize -copy all -outfile "%filework%" "%~2" 1>"%jpglog%" 2>&1
  -	if errorlevel 1 (call:saverrorlog "%~f2" "The image is not supported" & goto:jpegfileworkerr)
  +	if errorlevel 1 (call:saverrorlog "%~f2" "The image is not supported" & goto:jpegfwe)
   	for /f "tokens=4,10 delims=:,= " %%a in ('findstr /C:"Start Of Frame" "%jpglog%" 2^>nul') do (set "ep=%%a")
  -	if "!ep!" equ "0xc0" goto:jpegfileworkbackup
  +	if "!ep!" equ "0xc0" goto:jpegfwb
   	if "!ep!" equ "0xc2" (
   		if /i "%~f2" equ "%~f3" (1>nul 2>&1 move /y "%filework%" "%~f3" || set "errbackup=1")
  -		goto:jpegfileworkfinish
  +		goto:jpegfwf
   	) else (
  -		call:saverrorlog "%~f2" "The image is not supported" & goto:jpegfileworkerr
  +		call:saverrorlog "%~f2" "The image is not supported" & goto:jpegfwe
   	)
   )
   if %jpeg% equ 2 (
   	mozjpegtran -verbose -copy all -outfile "%filework%" "%~2" 1>"%jpglog%" 2>&1
  -	if errorlevel 1 (call:saverrorlog "%~f2" "The image is not supported" & goto:jpegfileworkerr)
  +	if errorlevel 1 (call:saverrorlog "%~f2" "The image is not supported" & goto:jpegfwe)
   	for /f "tokens=4,10 delims=:,= " %%a in ('findstr /C:"Start Of Frame" "%jpglog%" 2^>nul') do (set "ep=%%a")
  -	if "!ep!" equ "0xc2" goto:jpegfileworkbackup
  +	if "!ep!" equ "0xc2" goto:jpegfwb
   	if "!ep!" equ "0xc0" (
   		if /i "%~f2" equ "%~f3" (1>nul 2>&1 move /y "%filework%" "%~f3" || set "errbackup=1")
  -		goto:jpegfileworkfinish
  +		goto:jpegfwf
   	) else (
  -		call:saverrorlog "%~f2" "The image is not supported" & goto:jpegfileworkerr
  +		call:saverrorlog "%~f2" "The image is not supported" & goto:jpegfwe
   	)
   )
   if %jpeg% equ 3 (
   	jpginfo "%~2" 1>"%jpglog%" 2>&1
  -	if errorlevel 1 (call:saverrorlog "%~f2" "The image is not supported" & goto:jpegfileworkerr)
  +	if errorlevel 1 (call:saverrorlog "%~f2" "The image is not supported" & goto:jpegfwe)
   	for /f "usebackq tokens=5" %%a in ("%jpglog%") do set "ep=%%~a"
   	if /i "!ep!" equ "Baseline" (
   		mozjpegtran -verbose -revert -optimize -copy all -outfile "%filework%" "%~2" 1>nul 2>&1
  -		if errorlevel 1 (call:saverrorlog "%~f2" "The image is not supported" & goto:jpegfileworkerr)
  -		goto:jpegfileworkbackup
  +		if errorlevel 1 (call:saverrorlog "%~f2" "The image is not supported" & goto:jpegfwe)
  +		goto:jpegfwb
   	)
   	if /i "!ep!" equ "Progressive" (
   		mozjpegtran -verbose -copy all -outfile "%filework%" "%~2" 1>nul 2>&1
  -		if errorlevel 1 (call:saverrorlog "%~f2" "The image is not supported" & goto:jpegfileworkerr)
  -		goto:jpegfileworkbackup
  -	)
  -	call:saverrorlog "%~f2" "The image is not supported" & goto:jpegfileworkerr
  -)
  -
  -:jpegfileworkbackup
  +		if errorlevel 1 (call:saverrorlog "%~f2" "The image is not supported" & goto:jpegfwe)
  +		goto:jpegfwb
  +	)
  +	call:saverrorlog "%~f2" "The image is not supported" & goto:jpegfwe
  +)
  +:jpegfwb
   if /i "%~f2" neq "%~f3" (
   	call:backup "%filework%" "%~f2" >nul || set "errbackup=1"
   ) else (
   	call:backup "%~f2" "%filework%" true >nul || set "errbackup=1"
   )
  -
  -:jpegfileworkfinish
  +:jpegfwf
   1>nul 2>&1 del /f /q "%jpglog%"
  -if %errbackup% neq 0 (call:saverrorlog "%~f2" "The image is not found" & goto:jpegfileworkerr)
  +if %errbackup% neq 0 (call:saverrorlog "%~f2" "The image is not found" & goto:jpegfwe)
   if /i "%metadata%" equ "true" (1>nul 2>&1 jpegstripper -y "%~f3" || (call:saverrorlog "%~f2" "The image is not supported" & exit /b))
   call:savelog "%~f3" %jsize%
   if %thread% equ 1 for %%a in ("%~f3") do (set /a "ImageSizeJPG+=%%~za" & set /a "TotalSizeJPG+=%jsize%")
   exit /b
  -
  -:jpegfileworkerr
  +:jpegfwe
   if /i "%~f2" neq "%~f3" (1>nul 2>&1 del /f /q "%filework%")
   1>nul 2>&1 del /f /q "%jpglog%"
   exit /b 1
  
positive.code: :errormsg
  title [Error] %name% %version%
  if exist "%tmppath%" 1>nul 2>&1 rd /s /q "%tmppath%"
  ::if "%~1" neq "" 1>nul 2>&1 dlgmsgbox "Image Catalyst" "Msg1" " " "%~1" "E0" "%errortimewait%"
  if "%~1" neq "" echo.%~1
  call:dopause
  exit /b
  
negative.code: 	call:backup "%~f3" "%filework1%" true >nul || set "errbackup=1"
  	call:backup "%~f3" "%filework2%" true >nul || set "errbackup=1"
  )
  if %errbackup% neq 0 (call:saverrorlog "%~f2" "The image is not found" & goto:giffwe)
  call:savelog "%~f3" %gsize%
  if %thread% equ 1 for %%a in ("%~f3") do (set /a "ImageSizeGIF+=%%~za" & set /a "TotalSizeGIF+=%jsize%")
  exit /b
  :giffwe
  if /i "%~f2" neq "%~f3" 1>nul 2>&1 del /f /q "%filework1%"
  1>nul 2>&1 del /f /q "%filework2%"
  exit /b 1
  