Choose between BasicConverter and SynchronizedConverter
masterDepending on your application's threading model, choose one of the following converters:
BasicConverter
Use this in single-threaded applications.
var converter = new BasicConverter(new PdfTools());SynchronizedConverter
Use this in multi-threaded applications and web servers. It uses a blocking collection to queue conversion tasks and executes them on a single thread to ensure thread safety.
var converter = new SynchronizedConverter(new PdfTools());// For single-threaded apps
var converter = new BasicConverter(new PdfTools());
// For multi-threaded/web apps
var converter = new SynchronizedConverter(new PdfTools());