System::Drawing::Image::Save metodo

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.

void System::Drawing::Image::Save(const SharedPtr<System::IO::Stream> &stream, const Imaging::ImageCodecInfoPtr &encoder, const Imaging::EncoderParametersPtr &encoder_params)
ParametroTipoDescrizione
streamconst SharedPtr<System::IO::Stream>&Uno stream per salvare l’immagine
encoderconst Imaging::ImageCodecInfoPtr&L’encoder da utilizzare
encoder_paramsconst Imaging::EncoderParametersPtr&I parametri dell’encoder da utilizzare

Vedi anche

Image::Save(const SharedPtr<System::IO::Stream>&, const Imaging::ImageFormatPtr&) method

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

void System::Drawing::Image::Save(const SharedPtr<System::IO::Stream> &stream, const Imaging::ImageFormatPtr &format)
ParametroTipoDescrizione
streamconst SharedPtr<System::IO::Stream>&Uno stream per salvare l’immagine
formatoconst Imaging::ImageFormatPtr&Un formato in cui salvare l’immagine

Vedi anche

Image::Save(const String&) method

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

void System::Drawing::Image::Save(const String &filename)
ParametroTipoDescrizione
filenameconst String&Il nome del file in cui salvare l’immagine

Vedi anche

Image::Save(const String&, const Imaging::ImageCodecInfoPtr&, const Imaging::EncoderParametersPtr&) method

Salva l’immagine rappresentata dall’oggetto corrente nel file specificato usando il codificatore e i parametri del codificatore specificati.

void System::Drawing::Image::Save(const String &filename, const Imaging::ImageCodecInfoPtr &encoder, const Imaging::EncoderParametersPtr &encoder_params)
ParametroTipoDescrizione
filenameconst String&Il nome del file in cui salvare l’immagine
encoderconst Imaging::ImageCodecInfoPtr&L’encoder da utilizzare
encoder_paramsconst Imaging::EncoderParametersPtr&I parametri dell’encoder da utilizzare

Vedi anche

Image::Save(const String&, const Imaging::ImageFormatPtr&) method

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

void System::Drawing::Image::Save(const String &filename, const Imaging::ImageFormatPtr &format)
ParametroTipoDescrizione
filenameconst String&Il nome del file in cui salvare l’immagine
formatoconst Imaging::ImageFormatPtr&Un formato in cui salvare l’immagine

Vedi anche