I struggling to upload an image to SharePoint online using Graph API from within Graph Explorer. I have managed to upload text file which uploads correctly but when attempting image its corrupted.
I am pushing image Base64 in body and it will create image to SharePoint online but corrupted/unable to open. I also tried to include header Content-Type image/png

Image in SharePoint:

Any help will be appreciated!
You need to convert from base64 to binary: