title: How to identify file type by Base64 encoded string of a image
body: <p>I get a file which is <a href="https://en.wikipedia.org/wiki/Base64" rel="noreferrer">Base64</a> encoded string as the image. But I think the content of this contains information about file type like png, jpeg, etc. How can I detect that? Is there any library which can help me here? </p>