The only case of img to tar.gz conversion we know about, was actually packaging of old CloneCD disk images in TAR.GZ format, which is actually not file conversion per se, just file compression. TAR.GZ is often used for file exchange on Linux, so perhaps that is why this 'conversion' is searched.
Updated: September 18, 2023