Parameters
- encoder
- Encoder which should be used for saving image.
- filename
- A string that contains the name of the file to which to save image.
| Exception | Description |
|---|---|
| System.ArgumentNullException | Thrown if filename or encoder is null. |
Supported image formats: BMP, GIF, JPEG, PDF, PNG, TIFF, multipage TIFF.
The image cannot be saved to the file from which it was loaded.
This method will add image to the multipage TIFF file if appropriate parameter is set in the TiffEncoder object.
Target Platforms: .NET 10; .NET 9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5