Click or drag to resize

PdfImgExtractExtractImagesToMemory(Stream) Method

Extracts the images from the specified PDF stream into memory. The images are not saved on the disk.

Namespace: ExpertPdf.Anywhere
Assembly: ExpertPdf.Anywhere (in ExpertPdf.Anywhere.dll) Version: 22.0
Syntax
public List<ExtractedImage> ExtractImagesToMemory(
	Stream pdfStream
)

Parameters

pdfStream  Stream
The PDF stream from where the images will be extracted. It can be for example a MemoryStream or a FileStream.

Return Value

ListExtractedImage
The extracted images, with the number of the page of each image, in the order they were found. The MinimumWidth, MinimumHeight and SkipDuplicateImages properties decide which images are in the list.
Remarks
The ImageExtractedEvent is raised for each image of the list too.
See Also