Save()

IImage::Save(System::String) method

Saves the image to a file.

virtual void Aspose::Slides::IImage::Save(System::String filename)=0

Arguments

ParameterTypeDescription
filenameSystem::StringThe path to the file where the image will be saved.

IImage::Save(System::String, ImageFormat) method

Saves the image to a file in the specified format.

virtual void Aspose::Slides::IImage::Save(System::String filename, ImageFormat format)=0

Arguments

ParameterTypeDescription
filenameSystem::StringThe path to the file where the image will be saved.
formatImageFormatThe image format.

IImage::Save(System::SharedPtr<System::IO::Stream>, ImageFormat) method

Saves the image to a stream in the specified format.

virtual void Aspose::Slides::IImage::Save(System::SharedPtr<System::IO::Stream> stream, ImageFormat format)=0

Arguments

ParameterTypeDescription
streamSystem::SharedPtr<System::IO::Stream>The stream where the image will be saved.
formatImageFormatThe image format.

IImage::Save(System::String, ImageFormat, int32_t) method

Saves the image to a file in the specified format and quality.

virtual void Aspose::Slides::IImage::Save(System::String filename, ImageFormat format, int32_t quality)=0

Arguments

ParameterTypeDescription
filenameSystem::StringThe path to the file where the image will be saved.
formatImageFormatThe image format.
qualityint32_tThe quality of the saved image (0 to 100).

This parameter only affects saving in ImageFormat::Jpeg; for all other formats, it is ignored. |

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

Saves the image to a stream in the specified format and quality.

virtual void Aspose::Slides::IImage::Save(System::SharedPtr<System::IO::Stream> stream, ImageFormat format, int32_t quality)=0

Arguments

ParameterTypeDescription
streamSystem::SharedPtr<System::IO::Stream>The stream where the image will be saved.
formatImageFormatThe image format.
qualityint32_tThe quality of the saved image (0 to 100).

This parameter only affects saving in ImageFormat::Jpeg; for all other formats, it is ignored. |

See Also