iterm is proprietary, and even their own documentation basically tells you to use kitty otherwise.
Protocol
This document describes iTerm2’s own inline image protocol. In addition to it, iTerm2 also supports the Kitty graphics protocol (using APC G escape sequences), which is documented separately by its authors.
iTerm2 extends the xterm protocol with a set of proprietary escape sequences.

















https://iterm2.com/3.4/documentation-images.html