Save()
Contents
[
Hide
]IImage::Save(System::String) method
Saves the image to a file.
virtual void Aspose::Slides::IImage::Save(System::String filename)=0
Arguments
Parameter | Type | Description |
---|---|---|
filename | System::String | The 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
Parameter | Type | Description |
---|---|---|
filename | System::String | The path to the file where the image will be saved. |
format | ImageFormat | The 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
Parameter | Type | Description |
---|---|---|
stream | System::SharedPtr<System::IO::Stream> | The stream where the image will be saved. |
format | ImageFormat | The 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
Parameter | Type | Description |
---|---|---|
filename | System::String | The path to the file where the image will be saved. |
format | ImageFormat | The image format. |
quality | int32_t | The 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
Parameter | Type | Description |
---|---|---|
stream | System::SharedPtr<System::IO::Stream> | The stream where the image will be saved. |
format | ImageFormat | The image format. |
quality | int32_t | The 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
- Enum ImageFormat
- Typedef SharedPtr
- Class String
- Class IImage
- Class Stream
- Namespace Aspose::Slides
- Library Aspose.Slides