Link Search Menu Expand Document

IImageExtractor Interface

Defines the image extractor interface.

Namespace:Bytescout.PDFExtractor
Assembly: Bytescout.PDFExtractor (in Bytescout.PDFExtractor.dll) Version: 13.4.0.4760-master
Syntax
public interface IImageExtractor

The IImageExtractor type exposes the following members.

Properties
NameDescription
Public propertyExtractRawImages
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)
Top
Methods
NameDescription
Public methodGetCurrentImageAsArrayOfBytes
Returns current image as array of bytes in BMP format.
Public methodGetCurrentImageAsArrayOfBytes(ImageFormat)
Returns current image as array of bytes in specified format.
Public methodGetCurrentImageAsVariant
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.
Public methodGetCurrentImageBytesSize
Returns size of current image in BMP format.
Public methodGetCurrentImageBytesSize(ImageFormat)
Returns size of current image in specified format.
Public methodGetCurrentImageRectangle
Returns rectangle of the current image.
Public methodGetCurrentImageRectangle_Height
Returns height of the current image image
Public methodGetCurrentImageRectangle_Left
Returns left coordinate of the current image image
Public methodGetCurrentImageRectangle_Top
Returns top coordinate of the current image image
Public methodGetCurrentImageRectangle_Width
Returns width of the current image image
Public methodGetDocumentImageCount
Returns count of images in the document.
Public methodGetFirstImage
Initializes enumeration of images in the document. If GetFirstImage() returned true, you can get the image using SaveCurrentImage*() or GetCurrentImage*() methods.
Public methodGetFirstPageImage
Initializes enumeration of images on the document page. If GetFirstPageImage() returned true, you can get the image using SaveCurrentImage*() or GetCurrentImage*() methods.
Public methodGetNextImage
Advances image enumeration to next image. If GetNextImage() returned true, you can get the image using SaveCurrentImage*() or GetCurrentImage*() methods.
Public methodGetPageImageCount
Returns count of images on specified document page.
Public methodSaveCurrentImageToFile(String)
Saves current image to PNG file with specified name.
Public methodSaveCurrentImageToFile(String, ImageFormat)
Saves current image to a file with specified name and format.
Public methodSaveCurrentImageToStream(Stream)
Saves current image to provided stream in PNG format.
Public methodSaveCurrentImageToStream(Stream, ImageFormat)
Saves current image to the stream with specified format.
Top
See Also

Reference