Advanced Options
On the Advanced tab you will find these options on the Viewer Settings frame:
Render Workers Options
The Advanced tab shows these Render Workers options:
There are 3 tick boxes that can be enabled for 3 different use cases when using render workers.
-
Use Workers For Image Enhancements.
-
Use Workers for PDF input.
-
Use Workers for PDF Output.
There is a drop down counter where you can specify how many worker threads to run.
Each of these use cases is explained in greater detail below.
Use Workers For Image Enhancements
When ticked, this option controls the multi-threading behaviour during image enhancement processing in EzeScan Desktop and EzeScan Server.
By default the option is unticked and image enhancement processing runs in the current process context (i.e. on a single thread)
However, when this option is ticked and the number of render workers is > 1, the image enhancement processing will be run on the specified number of render worker processes concurrently (i.e. multi-threaded). This should make the image enhancement processing run noticeable faster.
On a PC with 4 or more cores, it is recommended to set this option to enabled. It will substantially decrease the time taken to apply image enhancements to scanned/imported images.
Use Workers For PDF Input
When ticked, this option controls the multi-threading behaviour during the PDF input rendering process in EzeScan Desktop and EzeScan Server.
By default the option is unticked and PDF input rendering runs in the current process context (i.e. on a single thread)
However, when this option is ticked and the number of render workers is > 1. the PDF input rendering process will be run on the specified number of render worker processes concurrently (i.e. multi-threaded).
On a PC with 4 or more cores, it is recommended to set this option to enabled. It will substantially decrease the time taken to import PDF files and render them to TIF prior to display in the EzeScan viewer.
Use Workers for PDF Output
When ticked, this option controls the multi-threading behaviour of the PDF output rendering process in EzeScan Desktop and EzeScan Server.
By default the option is unticked and PDF output rendering runs in the current process context (i.e. on a single thread)
However, when this option is ticked and the number of render workers is > 1. the PDF output rendering process will be run on the specified number of render worker processes concurrently (i.e. multi-threaded).
On a PC with 4 or more cores, it is recommended to set this option to enabled. It will substantially decrease the time taken to generate output PDF files.
Max Render Workers
In the example shown above, the number of render worker is set to 4. When a 100 page output document is being rendered to PDF, it is able to be rendered 4 pages at a time (instead of just one page at a time), thereby dramatically reducing the total elapsed time it takes to create the 100 page output PDF file.
Although described as threads, the render workers are spawned as separate windows processes and managed by the parent process. This allows for higher memory allocation and faster cleanup of used resources when these processes exit.
When using this feature you should never set the number of render workers higher than the number of cores on the CPU (and you should consider trying to leave enough CPU cores free for the operating system and other processes to still function normally).
On a Dell 5431 laptop, i5-1250P with 32GB of RAM running Windows 11 pro (that is processing a 280 page color PDF that was scanned at 300 dpi)::
-
Enabling 4 render workers made the image enhancements processing run 50.56% faster than without using render workers.
-
Enabling 4 render workers made the import rendering from a 280 page PDF file run 59.81% faster than without using render workers.
-
Enabling 4 render workers made the output rendering to image only PDF run 68.2% faster than without using render workers.
Your exact results may vary depending on the actual hardware specification of your laptop/PC.