Click or drag to resize

AtalaImageSave Method (String, ImageType, ProgressEventHandler)

Note: This API is now obsolete.

Saves this AtalaImage to a file specifying an ImageType and a PixelFormat.

Namespace:  Atalasoft.Imaging
Assembly:  Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: 11.0.0.0.0.297 (.NET 4.5.2, x86)
Syntax
[ObsoleteAttribute("The ImageType enumeration has been deprecated. Use the Save overload that takes an ImageEncoder instead.", 
	false)]
public int Save(
	string fileName,
	ImageType type,
	ProgressEventHandler progress
)

Parameters

fileName
Type: SystemString
The filename to save this %AtalaImage% to.
type
Type: Atalasoft.Imaging.CodecImageType
The image type to save this image as.
progress
Type: Atalasoft.ImagingProgressEventHandler
The progress delegate. Can be set to null (Nothing in VB).

Return Value

Type: Int32
The number of bytes saved to the file.
Remarks

To specify encoder settings, use the overload containing the ImageEncoder parameter.

This method can be used to save an image to an FTP server. If the fileName is pointing to an FTP server, you may need to include the username and password in the URL to allow the file to be saved.

Examples
Save Method
See Also