setSelectedDataAsync can not handle the image if the image size exceeds 5MB.
This is what I posted in forum as
It seems this is a limitation or bug. We are using setSelectedDataAsync with base64 encoding to copy the image into slide. but the image is corrupted if the image size is relatively huge (like over 5MB). The same code works with both Word and Excel. I guess something went wrong with PowerPoint.