shithub: plumbto

ref: 0edad9c09a294ca1151c692a106015e218a1e096
dir: /samplerules/

View raw version
# sample /mnt/plumb/rules

plumb to chanselect
plumb to image
plumb to imageedit

type	is	text
data	matches	'[a-zA-Z¡-￿0-9_\-.,/]+'
data	matches	'([a-zA-Z¡-￿0-9_\-.,/]+)\.(jpe?g|JPE?G|gif|GIF|tiff?|TIFF?|ppm|PPM|bit|BIT|png|PNG|pgm|PGM|bmp|BMP|yuv|YUV)'
arg	isfile	$0
attr	add	channels=image,imageedit
plumb	to	chanselect

# have a listener on image and imageedit