Aspose::Pdf::XImage::Save method

XImage::Save(System::SharedPtr<System::IO::Stream>) method

Saves image data into stream as JPEG image.

void Aspose::Pdf::XImage::Save(System::SharedPtr<System::IO::Stream> stream)
ParameterTypeDescription
streamSystem::SharedPtr<System::IO::Stream>Stream where image data will be saved.

See Also

XImage::Save(System::SharedPtr<System::IO::Stream>, int32_t) method

Saves image data into stream as JPEG image with specified resolution.

void Aspose::Pdf::XImage::Save(System::SharedPtr<System::IO::Stream> stream, int32_t resolution)
ParameterTypeDescription
streamSystem::SharedPtr<System::IO::Stream>Stream where image data will be saved.
resolutionint32_tImage resolution

See Also

XImage::Save(System::SharedPtr<System::IO::Stream>, System::SharedPtr<System::Drawing::Imaging::ImageFormat>) method

Saves image into stream with requested format.

void Aspose::Pdf::XImage::Save(System::SharedPtr<System::IO::Stream> stream, System::SharedPtr<System::Drawing::Imaging::ImageFormat> format)
ParameterTypeDescription
streamSystem::SharedPtr<System::IO::Stream>Stream where image will be saved
formatSystem::SharedPtr<System::Drawing::Imaging::ImageFormat>Format which will be used for image enconding. ImageFormat

See Also

XImage::Save(System::SharedPtr<System::IO::Stream>, System::SharedPtr<System::Drawing::Imaging::ImageFormat>, int32_t) method

Saves image into stream with requested format with specified resolution.

void Aspose::Pdf::XImage::Save(System::SharedPtr<System::IO::Stream> stream, System::SharedPtr<System::Drawing::Imaging::ImageFormat> format, int32_t resolution)
ParameterTypeDescription
streamSystem::SharedPtr<System::IO::Stream>Stream where image will be saved
formatSystem::SharedPtr<System::Drawing::Imaging::ImageFormat>Format which will be used for image enconding. ImageFormat
resolutionint32_tImage resolution

See Also