the documentation example for invert filter:
image.filterWith(function(add) {
add.componentTransfer({
type: 'table'
tableValues: [1, 0]
})
})
should have a comma after 'table'
image.filterWith(function(add) {
add.componentTransfer({
type: 'table',
tableValues: [1, 0]
})
})