anchor.diff:  set /a "SImageSize%~1+=!ImageSize%~1!"
   set "TotalSize%~1=0"
   set "ImageSize%~1=0"
  -::echo.!STotalSize%~1!	!SImageSize%~1!	!step%~1!	!step10%~1!	!stepB%~1!
  +::echo.%~0: !STotalSize%~1!	!SImageSize%~1!	!step%~1!	!step10%~1!	!stepB%~1!
   if !SImageSize%~1! lss %BYTECONV% if !STotalSize%~1! lss %BYTECONV% exit /b
   set /a "step%~1=(!step%~1!+1)%%3"
   if !step%~1! equ 0 (
  
positive.code: set "measure="
  call:prepsize origsize measure
  call:prepsize2 optsize measure
  set /a "change=%~4"
  set "origsize=          %origsize% %measure%"
  set "optsize=          %optsize% %measure%"
  call:prepsize change measure
  set "change=           %change% %measure%"
  set "percent=          %~5%%"
  echo. !fn:~,%TFN%!^|%origsize:~-10%^|%optsize:~-11%^|%change:~-11%^|%percent:~-10%
  endlocal
  exit /b
  
  ::%1 - variable name for number (in/out)
  ::%2 - cariable name for measure (out)
  :prepsize
  setlocal
  set "var=!%~1!"
  
negative.code: setlocal
  ::echo.%~0[in]: %1	%~2	%~z1
  set /a "change=%~z1-%~2"
  ::call:perccalc %~2 %change% perc
  set /a "change=%~z1-%~2"
  >>"%logfile2%" echo.%~1;%~2;%~z1;%change%;0.00;ok
  if %thread% equ 1 (
  	call:printfileinfo "%~1" %2 %~z1 %change% 0.00
  )
  endlocal
  exit /b
  