Retrieve image from TextureResource and convert it to base64string

Is there any way to convert TextureResource to Image

Retrieve image from TextureResource and convert it to base64string
 
 
Q