v25.1

Improved Plugin: ImageExtractor

  • Added Output Collection to ImageExtractorOptions.
  • Added support for multiple Inputs to ImageExtractorOptions.
  • Fixed closed output streams.

Example Usage:

// create ImageExtractor object to extract images
var plugin = new ImageExtractor();
// create ImageExtractorOptions
var opt = new ImageExtractorOptions();
// add input file path
opt.AddInput(new FileDataSource("path_to_your_pdf_file.pdf"));
// set output directory
opt.AddOutput(new DirectoryDataSource("path_to_results_directory"));
// perform extraction process
var resultContainer = plugin.Process(opt);
// get the image from the ResultContainer object
var imageExtracted = resultContainer.ResultCollection[0].ToFile();

Minor Fixes

  • Improved class hints and examples.
  • PDF signature validation.
  • Improved Chinese characters support.