tex2png [file ...]
e.g. tex2png background.tex
Accepts both absolute and relative paths.
Download the executable from latest release and stick it in an appopriate place like /usr/local/bin/
.
If you're on mac, just open up the Xcode project; everything should be pretty obvious from there.
Otherwise, the command-line tool uses tex2png/main.swift
and Shared/*.swift
.