In This Topic
Sets the image compression algorithm.
Syntax
var instance = new Vintasoft.Imaging.WebTiffEncoderSettingsJS();
var returnValue; // Type: any
// Parameters
var value; // Type: WebTiffCompressionEnumJS
returnValue = instance.set_Compression(value);
function set_Compression(
: WebTiffCompressionEnumJS
) : any;
Parameters
- value
- An instance of WebTiffCompressionEnumJS class that defines the image compression algorithm.
Exceptions
Exception | Description |
| Thrown if argument has wrong type. |
| Thrown if compression is not Auto, not CcittGroup4, not Jpeg, not Jpeg2000, not Lzw, not None and not Zip. |
Browser Compatibility
See Also