## Image::Save(const SharedPtr\<System::IO::Stream\>\&, const Imaging::ImageCodecInfoPtr\&, const Imaging::EncoderParametersPtr\&) method


Salva l'immagine rappresentata dall'oggetto corrente nello stream specificato utilizzando l'encoder e i parametri dell'encoder specificati.

```cpp
void System::Drawing::Image::Save(const SharedPtr<System::IO::Stream> &stream, const Imaging::ImageCodecInfoPtr &encoder, const Imaging::EncoderParametersPtr &encoder_params)
```


| Parametro | Tipo | Descrizione |
| --- | --- | --- |
| stream | const SharedPtr\<System::IO::Stream\>\& | Uno stream in cui salvare l'immagine |
| encoder | const Imaging::ImageCodecInfoPtr\& | L'encoder da utilizzare |
| encoder_params | const Imaging::EncoderParametersPtr\& | I parametri dell'encoder da utilizzare |

## Vedi anche

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Stream](../../../system.io/stream/)
* Typedef [ImageCodecInfoPtr](../../../system.drawing.imaging/imagecodecinfoptr/)
* Typedef [EncoderParametersPtr](../../../system.drawing.imaging/encoderparametersptr/)
* Class [Image](../)
* Namespace [System::Drawing](../../)
* Library [Aspose.Page for C++](../../../)
## Image::Save(const SharedPtr\<System::IO::Stream\>\&, const Imaging::ImageFormatPtr\&) method


Salva l'immagine rappresentata dall'oggetto corrente nello stream specificato nel formato specificato.

```cpp
void System::Drawing::Image::Save(const SharedPtr<System::IO::Stream> &stream, const Imaging::ImageFormatPtr &format)
```


| Parametro | Tipo | Descrizione |
| --- | --- | --- |
| stream | const SharedPtr\<System::IO::Stream\>\& | Uno stream in cui salvare l'immagine |
| formato | const Imaging::ImageFormatPtr\& | Un formato in cui salvare l'immagine |

## Vedi anche

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Stream](../../../system.io/stream/)
* Typedef [ImageFormatPtr](../../../system.drawing.imaging/imageformatptr/)
* Class [Image](../)
* Namespace [System::Drawing](../../)
* Library [Aspose.Page for C++](../../../)
## Image::Save(const String\&) method


Salva l'immagine rappresentata dall'oggetto corrente nel file specificato in formato PNG.

```cpp
void System::Drawing::Image::Save(const String &filename)
```


| Parametro | Tipo | Descrizione |
| --- | --- | --- |
| filename | const String\& | Il nome del file in cui salvare l'immagine |

## Vedi anche

* Class [String](../../../system/string/)
* Class [Image](../)
* Namespace [System::Drawing](../../)
* Library [Aspose.Page for C++](../../../)
## Image::Save(const String\&, const Imaging::ImageCodecInfoPtr\&, const Imaging::EncoderParametersPtr\&) method


Salva l'immagine rappresentata dall'oggetto corrente nel file specificato utilizzando l'encoder e i parametri dell'encoder specificati.

```cpp
void System::Drawing::Image::Save(const String &filename, const Imaging::ImageCodecInfoPtr &encoder, const Imaging::EncoderParametersPtr &encoder_params)
```


| Parametro | Tipo | Descrizione |
| --- | --- | --- |
| filename | const String\& | Il nome del file in cui salvare l'immagine |
| encoder | const Imaging::ImageCodecInfoPtr\& | L'encoder da utilizzare |
| encoder_params | const Imaging::EncoderParametersPtr\& | I parametri dell'encoder da utilizzare |

## Vedi anche

* Class [String](../../../system/string/)
* Typedef [ImageCodecInfoPtr](../../../system.drawing.imaging/imagecodecinfoptr/)
* Typedef [EncoderParametersPtr](../../../system.drawing.imaging/encoderparametersptr/)
* Class [Image](../)
* Namespace [System::Drawing](../../)
* Library [Aspose.Page for C++](../../../)
## Image::Save(const String\&, const Imaging::ImageFormatPtr\&) method


Salva l'immagine rappresentata dall'oggetto corrente nel file specificato nel formato specificato.

```cpp
void System::Drawing::Image::Save(const String &filename, const Imaging::ImageFormatPtr &format)
```


| Parametro | Tipo | Descrizione |
| --- | --- | --- |
| filename | const String\& | Il nome del file in cui salvare l'immagine |
| formato | const Imaging::ImageFormatPtr\& | Un formato in cui salvare l'immagine |

## Vedi anche

* Class [String](../../../system/string/)
* Typedef [ImageFormatPtr](../../../system.drawing.imaging/imageformatptr/)
* Class [Image](../)
* Namespace [System::Drawing](../../)
* Library [Aspose.Page for C++](../../../)
