Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions AppNotes/SumatraPDF/Addins/ExportPng/ExportPng.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,6 @@ End of readme / notes
: TL;DR this test should not be needed but for those users that don't RTFM

if "%addins%"=="" set "addins=%~dp0"
if not exist "%addins%mutool.exe" echo: & echo Either MuTool.exe or this file are not in correct location & goto HELP
if not exist "%~f1" echo: & echo "%~dpn1%~x1" & echo Appears NOT to exist as a valid file & goto HELP

: IF you wish to add or restrict input to only certain extensions then edit the file
Expand Down Expand Up @@ -153,9 +152,8 @@ echo:
: IMPORTANT default for png images output is highly recommended as -r 96
: BUT, if intended use is for OCR later, then it should be higher e.g. -r 300
:
"%addins%mutool.exe" draw -r 96 -o "%~dpn1-Page-%%4d.png" "%~f1" "%pages%"
mutool draw -r 96 -o "%~dpn1-Page-%%4d.png" "%~f1" "%pages%"
echo:
: pause
: Optional, you can comment, change or delete timeout if not wanted (currently 5 seconds)
timeout /t 5