System::Drawing::Image::Save method
Contents
[
Hide
]Image::Save(const SharedPtr<System::IO::Stream>&, const Imaging::ImageCodecInfoPtr&, const Imaging::EncoderParametersPtr&) method
Saves the image represented by the current object to the specified stream using the specified encoder and encoder parameters.
void System::Drawing::Image::Save(const SharedPtr<System::IO::Stream> &stream, const Imaging::ImageCodecInfoPtr &encoder, const Imaging::EncoderParametersPtr &encoder_params)
Parameter | Type | Description |
---|---|---|
stream | const SharedPtr<System::IO::Stream>& | A stream to save the image to |
encoder | const Imaging::ImageCodecInfoPtr& | The encoder to use |
encoder_params | const Imaging::EncoderParametersPtr& | The parameters of the encoder to used |
See Also
- Typedef SharedPtr
- Class Stream
- Typedef ImageCodecInfoPtr
- Typedef EncoderParametersPtr
- Class Image
- Namespace System::Drawing
- Library Aspose.PUB for C++
Image::Save(const SharedPtr<System::IO::Stream>&, const Imaging::ImageFormatPtr&) method
Saves the image represented by the current object to the specified stream in the specified format.
void System::Drawing::Image::Save(const SharedPtr<System::IO::Stream> &stream, const Imaging::ImageFormatPtr &format)
Parameter | Type | Description |
---|---|---|
stream | const SharedPtr<System::IO::Stream>& | A stream to save the image to |
format | const Imaging::ImageFormatPtr& | A format to save the image in |
See Also
- Typedef SharedPtr
- Class Stream
- Typedef ImageFormatPtr
- Class Image
- Namespace System::Drawing
- Library Aspose.PUB for C++
Image::Save(const String&) method
Saves the image represented by the current object to the specified file in PNG format.
void System::Drawing::Image::Save(const String &filename)
Parameter | Type | Description |
---|---|---|
filename | const String& | The name of the file to save the image to |
See Also
- Class String
- Class Image
- Namespace System::Drawing
- Library Aspose.PUB for C++
Image::Save(const String&, const Imaging::ImageCodecInfoPtr&, const Imaging::EncoderParametersPtr&) method
Saves the image represented by the current object to the specified file using the specified encoder and encoder parameters.
void System::Drawing::Image::Save(const String &filename, const Imaging::ImageCodecInfoPtr &encoder, const Imaging::EncoderParametersPtr &encoder_params)
Parameter | Type | Description |
---|---|---|
filename | const String& | The name of the file to save the image to |
encoder | const Imaging::ImageCodecInfoPtr& | The encoder to use |
encoder_params | const Imaging::EncoderParametersPtr& | The parameters of the encoder to use |
See Also
- Class String
- Typedef ImageCodecInfoPtr
- Typedef EncoderParametersPtr
- Class Image
- Namespace System::Drawing
- Library Aspose.PUB for C++
Image::Save(const String&, const Imaging::ImageFormatPtr&) method
Saves the image represented by the current object to the specified file in the specified format.
void System::Drawing::Image::Save(const String &filename, const Imaging::ImageFormatPtr &format)
Parameter | Type | Description |
---|---|---|
filename | const String& | The name of the file to save the image to |
format | const Imaging::ImageFormatPtr& | A format to save the image in |
See Also
- Class String
- Typedef ImageFormatPtr
- Class Image
- Namespace System::Drawing
- Library Aspose.PUB for C++