Method AllFromFile
- Namespace
- SoftZenPdf
- Assembly
- SoftZenPdf.dll
AllFromFile(string)
Loads every page of a multi-page TIFF, or the single image of any other format.
public static IReadOnlyList<PdfImage> AllFromFile(string path)
Parameters
pathstringThe image file.
Returns
- IReadOnlyList<PdfImage>
The pages, in file order. Reduced-resolution thumbnails in a TIFF are skipped.
Exceptions
- NotSupportedException
The format, or a variant of it, is not supported.
- InvalidDataException
The image data is corrupt.