Aspose::Pdf::Facades::PdfExtractor::GetNextImage method

PdfExtractor::GetNextImage(const System::SharedPtr<System::IO::Stream>&) method

Retrieve next image from PDF file and stores it into stream.

bool Aspose::Pdf::Facades::PdfExtractor::GetNextImage(const System::SharedPtr<System::IO::Stream> &outputStream)
ParameterTypeDescription
outputStreamconst System::SharedPtr<System::IO::Stream>&Stream where image data will be saved

ReturnValue

True in case the image is successfully extracted.

See Also

PdfExtractor::GetNextImage(const System::SharedPtr<System::IO::Stream>&, const System::SharedPtr<System::Drawing::Imaging::ImageFormat>&) method

Retrieve next image from PDF file and stores it into stream with given image format.

bool Aspose::Pdf::Facades::PdfExtractor::GetNextImage(const System::SharedPtr<System::IO::Stream> &outputStream, const System::SharedPtr<System::Drawing::Imaging::ImageFormat> &format)
ParameterTypeDescription
outputStreamconst System::SharedPtr<System::IO::Stream>&Stream where image data will be saved
formatconst System::SharedPtr<System::Drawing::Imaging::ImageFormat>&The format of the image.

ReturnValue

True in case the image is successfully extracted.

See Also

PdfExtractor::GetNextImage(const System::String&) method

Retrieves next image from PDF document. Note: ExtractImage must be called before using of this method.

bool Aspose::Pdf::Facades::PdfExtractor::GetNextImage(const System::String &outputFile)
ParameterTypeDescription
outputFileconst System::String&File where image will be stored

ReturnValue

True is image is successfully extracted

See Also

PdfExtractor::GetNextImage(const System::String&, const System::SharedPtr<System::Drawing::Imaging::ImageFormat>&) method

Retrieves next image from PDF document with given image format. Note: ExtractImage must be called before using of this method.

bool Aspose::Pdf::Facades::PdfExtractor::GetNextImage(const System::String &outputFile, const System::SharedPtr<System::Drawing::Imaging::ImageFormat> &format)
ParameterTypeDescription
outputFileconst System::String&File where image will be stored
formatconst System::SharedPtr<System::Drawing::Imaging::ImageFormat>&The format of the image.

ReturnValue

True is image is successfully extracted

See Also