Hi Team ,
Please suggest the possible ways to convert the Dam image to Base 64 encoded string using Sling models.
<source media="(min-width: 1px)" data-srcset="/content/dam/img/banner-01-mob.png"srcset="Encoded Base 64 Sting">
I found an article that could be helpful:
You can also use Adobe's Base64 API, as follows:
I hope these help !!