I have seen that some images are encoded in text like in .yalm files
How could I convert the image of my logo to that format?
I use Affinity Designer which is a great tool at a very reasonable price. https://affinity.serif.com/en-us/
It supports many file formats and as long your image is vector (EPS, AI, etc) it can export to SVG.