This sample shows how to extract images from a PDF document using Docotic.Pdf library.
Use PdfImage.Save methods to save an image from a PDF document to a stream or a file.
When saving to a file, you must specify an output file name without extension. The PdfImage.Save
method will add an extension based on the image data, save the image, and return the full output path.
When saving to a stream, the PdfImage.Save
method returns the format of the image data saved to a stream.