PDF to Image converter (wrapper for poppler command line tool)
Inheritance Hierarchy
NReco.PdfRendererPdfToImageConverter
Namespace: NReco.PdfRenderer
Assembly: NReco.PdfRenderer (in NReco.PdfRenderer.dll) Version: 1.5.1
Syntax
The PdfToImageConverter type exposes the following members.
Constructors
Name | Description | |
---|---|---|
PdfToImageConverter |
Create new instance of HtmlToPdfConverter
|
Properties
Name | Description | |
---|---|---|
CustomArgs |
Gets or sets any additional command line arguments.
| |
Dpi |
Gets or sets resolution (DPI).
| |
EnableAntiAliasing |
Gets or sets anti-aliasing flag.
| |
EnableVectorAntiAliasing |
Gets or sets vector anti-aliasing flag.
| |
ExecutionTimeout |
Get or set maximum execution time for running poppler process (null is by default = no timeout)
| |
ProcessPriority |
Gest or sets poppler tool process priority (Normal by default)
| |
ScaleTo |
Scale to specified value x*y box.
| |
TempFilesPath |
Get or set location for temp files (if not specified location returned by GetTempPath is used for temp files)
| |
ToolExeName |
Gets or sets poppler tool file name ('pdftoppm.exe' by default)
| |
ToolPath |
Gets or sets path where poppler tool is located
|
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GenerateImage(Stream, Int32) |
Generate image by specifed PDF file.
| |
GenerateImage(String, Int32) |
Generate image by specifed PDF file.
| |
GenerateImage(Stream, Int32, ImageFormat, Stream) |
Generate image by specifed PDF Stream and write output to the specified output stream.
| |
GenerateImage(Stream, Int32, ImageFormat, String) |
Generate image by specifed PDF file and write output in PNG format to the specified output stream.
| |
GenerateImage(String, Int32, ImageFormat, Stream) |
Generate image by specifed PDF file and write output to the specified output stream.
| |
GenerateImage(String, Int32, ImageFormat, String) |
Generate image by specifed PDF file and write output in PNG format to the specified output stream.
| |
GenerateImages(Stream, ImageFormat, String) |
Generate images for all pages of the PDF content stream and write output to the specified folder.
| |
GenerateImages(String, ImageFormat, String) |
Generate images for all pages of the specifed PDF file and write output to the specified folder.
| |
GenerateImages(Stream, Int32, Int32, ImageFormat, String) |
Generate images by specifed PDF content stream pages range and write output to the specified folder.
| |
GenerateImages(String, Int32, Int32, ImageFormat, String) |
Generate images by specifed PDF file pages range and write output to the specified folder.
| |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
ToString | (Inherited from Object.) |
Events
Name | Description | |
---|---|---|
LogReceived |
Occurs when console log line is received from poppler process.
|
See Also