I have used google charts where i can generate chart .i can generate an image as per google chart doc. i want that image export into excel. how can i do this i tried some Jquery plugin but not success image was broken. any free library which used my code. or javascript code
I want html table data store on sheet no.1 and that image stored on sheet no.2 how can i do
You need to convert the base64 string to an image, and afaik you will have to do that server-side. If that’s not possible, then you need the image in a format excel understands to start with (png for example in this case?)
I don’t know exctly what you’re doing or how you’re doing it at the minute, so I can’t give any specifics, but what you have is a binary representation of an image: a browser can decode it to an image, but it isn’t the same as an image file.
To convert it to an image, you have to do it server-side (ie you need a program running on a computer that you can talk to over HTTP that can convert the base64 string to an image file, then store the image file so you can access it). You cannot do it in just in the browser. If you cannot write a server-side application, you can use a service like Cloudinary, which allows you to upload base64 encoded images, and will then allow you to pull down the resulting image file - https://support.cloudinary.com/hc/en-us/articles/203125741-Can-I-upload-using-DATA-URI-BASE64-