The filter could be specified with --filter=<something> and be wildcard based and support characters like * and ?.
For instance:
--filter=*.jpg
--filter=*.bin
--filter=IMG_?????.jpg
This functionality would also provides the ability of generating files in the same directory as the source binary files. Using the filter *.jpg would prevent picking up *.h and *.cpp files from the generators.