PdfImgExtractExtractImagesToMemory(Stream) Method |
Extracts the images from the specified PDF stream into memory. The images are not saved on the disk.
Namespace: ExpertPdf.AnywhereAssembly: ExpertPdf.Anywhere (in ExpertPdf.Anywhere.dll) Version: 22.0
Syntaxpublic List<ExtractedImage> ExtractImagesToMemory(
Stream pdfStream
)
Public Function ExtractImagesToMemory (
pdfStream As Stream
) As List(Of ExtractedImage)
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
ListExtractedImageThe 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.
RemarksThe ImageExtractedEvent is raised for each image of the list too.
See Also