In This Topic
Sets the preprocessing method applied to the image data before compression.
Syntax
var instance = new Vintasoft.Imaging.WebPngEncoderSettingsJS(filterMethod, compressionLevel);
var returnValue; // Type: any
// Parameters
var value; // Type: WebPngFilterMethodEnumJS
returnValue = instance.set_FilterMethod(value);
function set_FilterMethod(
: WebPngFilterMethodEnumJS
) : any;
Parameters
- value
- An instance of WebPngFilterMethodEnumJS class that defines the preprocessing method.
Exceptions
Exception | Description |
| Thrown if argument has wrong type. |
Browser Compatibility
See Also