IImageExtractor Interface
Free Trial Web API version Licensing Request A Quote
HAVE QUESTIONS OR NEED HELP?SUBMIT THE SUPPORT REQUEST FORM or write email toSUPPORT@BYTESCOUT.COM
Defines the image extractor interface.
Namespace:Bytescout.PDFExtractorAssembly: Bytescout.PDFExtractor (in Bytescout.PDFExtractor.dll) Version: 13.4.0.4760-master
Syntax
The IImageExtractor type exposes the following members.
Properties
Name | Description | |
---|---|---|
ExtractRawImages | Controls if we need to enable extraction of raw images (preserving the original dimensions of raw image saved inside PDF) True causes to extract images with their original dimensions False casues to extract images rescaled according to scaling and skews defined for rendering (so image extractor provides images similar to what you see) |
Methods
Name | Description | |
---|---|---|
GetCurrentImageAsArrayOfBytes | Returns current image as array of bytes in BMP format. | |
GetCurrentImageAsArrayOfBytes(ImageFormat) | Returns current image as array of bytes in specified format. | |
GetCurrentImageAsVariant | Returns current image in PNG format as array of bytes. This is COM/ActiveX-compatible version of the method SaveCurrentImageToStream(Stream) for in-memory processing of PDF files. | |
GetCurrentImageBytesSize | Returns size of current image in BMP format. | |
GetCurrentImageBytesSize(ImageFormat) | Returns size of current image in specified format. | |
GetCurrentImageRectangle | Returns rectangle of the current image. | |
GetCurrentImageRectangle_Height | Returns height of the current image image | |
GetCurrentImageRectangle_Left | Returns left coordinate of the current image image | |
GetCurrentImageRectangle_Top | Returns top coordinate of the current image image | |
GetCurrentImageRectangle_Width | Returns width of the current image image | |
GetDocumentImageCount | Returns count of images in the document. | |
GetFirstImage | Initializes enumeration of images in the document. If GetFirstImage() returned true, you can get the image using SaveCurrentImage*() or GetCurrentImage*() methods. | |
GetFirstPageImage | Initializes enumeration of images on the document page. If GetFirstPageImage() returned true, you can get the image using SaveCurrentImage*() or GetCurrentImage*() methods. | |
GetNextImage | Advances image enumeration to next image. If GetNextImage() returned true, you can get the image using SaveCurrentImage*() or GetCurrentImage*() methods. | |
GetPageImageCount | Returns count of images on specified document page. | |
SaveCurrentImageToFile(String) | Saves current image to PNG file with specified name. | |
SaveCurrentImageToFile(String, ImageFormat) | Saves current image to a file with specified name and format. | |
SaveCurrentImageToStream(Stream) | Saves current image to provided stream in PNG format. | |
SaveCurrentImageToStream(Stream, ImageFormat) | Saves current image to the stream with specified format. |
See Also