app.command.ConvolutionMatrix {
ui=true,
channels=FilterChannels...,
tiledMode=none,
fromResource=string
}ui: Shows the dialog on the screen,trueby default. Set tofalseto apply the convolution matrix filter automatically without asking to the user for the change.channels: A combination of FilterChannels with bitwise OR (|) operator. By default it is equal to: FilterChannels.RED | FilterChannels.GREEN | FilterChannels.BLUE | FilterChannels.GRAY.tiledMode:'none','x','y','both'. By default it's'none'if there is no UI, or it's equal toapp.preferences.document(app.activeSprite).tiled.modewhenuiistrue.fromResource: Name of pre-defined convolution matrix.
Note: In future versions this function should support creating customized convolution matrices.