shithub: plumbto

ref: b8ce27374966893fe7ee3b587051161421ff0173
dir: plumbto/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