shithub: plumbto

ref: cf51a63bb605f03b5a3bd528a2a1725e42c3f7d0
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