Write the current content of the image into a file. The file format
to be used is determined based on the fileName's
extension. The quality (and thereby size) of the resulting file can
be adjusted using the quality parameter. When
saving to a lossless file format, the quality
parameter will be silently ignored.
Namespace: Stemmer.Cvb
Assembly: Stemmer.Cvb (in Stemmer.Cvb.dll) Version: 14.0.0.0
Syntax
Parameters
- fileName
- Type: SystemString
File name into which to save the image - quality
- Type: SystemDouble
Quality at which to save the image (should be in the range 0...1)
Exceptions
Exception | Condition |
---|---|
ObjectDisposedException | If this image has already been disposed |
IOException | If saving the image failed |
See Also