convert img to tar.md5