C# 클래스 AzureSearchOCR.PdfImageExtractor

Helper class to extract images from a PDF file. Works with the most common image types embedded in PDF files, as far as I can tell.
파일 보기 프로젝트 열기: liamca/AzureSearchOCR 1 사용 예제들

공개 메소드들

메소드 설명
ExtractImages ( string filename ) : System.Drawing.Image>.Dictionary

Extracts all images (of types that iTextSharp knows how to decode) from a PDF file.

ExtractImages ( string filename, int pageNumber ) : System.Drawing.Image>.Dictionary

Extracts all images (of types that iTextSharp knows how to decode) from a specified page of a PDF file.

PageContainsImages ( string filename, int pageNumber ) : bool

Checks whether a specified page of a PDF file contains images.

메소드 상세

ExtractImages() 공개 정적인 메소드

Extracts all images (of types that iTextSharp knows how to decode) from a PDF file.
public static ExtractImages ( string filename ) : System.Drawing.Image>.Dictionary
filename string
리턴 System.Drawing.Image>.Dictionary

ExtractImages() 공개 정적인 메소드

Extracts all images (of types that iTextSharp knows how to decode) from a specified page of a PDF file.
public static ExtractImages ( string filename, int pageNumber ) : System.Drawing.Image>.Dictionary
filename string
pageNumber int
리턴 System.Drawing.Image>.Dictionary

PageContainsImages() 공개 정적인 메소드

Checks whether a specified page of a PDF file contains images.
public static PageContainsImages ( string filename, int pageNumber ) : bool
filename string
pageNumber int
리턴 bool