v24.11

Added new Plugin: PDF to JPEG Converter

  • Purpose: The JpegConverter class is designed to convert PDF documents into JPEG format, making it easier for users to handle and share images derived from PDFs.
  • Constructor:
    • JpegConverter(): Initializes a new instance of the JPEG converter.

Example Usage:

var plugin = new JpegConverter();
var opt = new PdfToJpegOptions();
opt.AddInput(new FileDataSource("path_to_your_pdf_file.pdf"));
opt.AddOutput(new DirectoryDataSource("path_to_results_directory"));
plugin.Process(opt);
  • Method:
    • Process(PdfToJpegOptions options): Starts the JPEG conversion process using the specified options.

Added Class DirectoryDataSource

  • Purpose: The DirectoryDataSource class allows users to manage directory data for loading and saving operations within plugins.
  • Constructor:
    • DirectoryDataSource(string path): Initializes a new directory data object with the specified path.

Example Usage:

var directorySource = new DirectoryDataSource("path_to_your_directory");
  • Properties:
    • DataType: Retrieves the type of data source.
    • Path: Gets the path of the current data directory.

Added Class PdfToJpegOptions

  • Purpose: This class contains options for configuring the JPEG conversion process, allowing users to specify resolution, page lists, and image quality.
  • Constructor:
    • PdfToJpegOptions(): Initializes a new options instance for the JPEG converter.

Properties:

  • OutputResolution: Specifies the resolution of the resulting JPEG images.
  • PageList: A list of pages to convert from the PDF.
  • Quality: Sets the quality of the JPEG output.
Jan 13, 2025
 English