translate img to base64 for jt-cli