-T -
will read the file names from stdin. So you can do something like:
find . -name \*.jpg -print0 | tar -zcvf images.tar.gz --null -T -
However I would recommend rsync instead, as I noted in the comments.
As noted in the comments, the print0
uses nulls ('\0') to terminate file names and --null
for tar to use that, in order to accept more general file names with spaces and other terminators.