[BUG] `addImage()` with uppercase `path` prop causes "needs to repair presentation" in Windows and MacOS
Version: 3.3.1 from CDN
Hello. I'm trying to create a presentation only with images. When I open it in linux, it's ok, but in windows and macOs the presentation needs to be repaired. all images are added by they base64 url, like this:
slide.addImage({
path: item.toDataURL(),
x: xPosition + padding,
y: (defaultSize[1] - ppHeight) / 2,
w: ppWidth,
h: ppHeight
});
the broken image is always one of two images in a single page.

There's not enough information provided to diagnose this.
The demo produces quite a lot of images from various sources. Try the image demo to ensure there are no issues, then check your image source.
Image Demo
I had the same issue, in order to resolve this please ensure that all images been added have the extension in lower case and not uppercase.
No issues with Libre Office or Slack. Any capital character in the filename breaks Powerpoint, so I used a workaround:
fetch("/path/to/FILE.svg")
.then(r => r.text())
.then(s => "data:image/svg+xml;base64," + window.btoa(s))
Pass in data instead of source to addImage, and obviously change the image type as needed.
I had the same issue, in order to resolve this please ensure that all images been added have the extension in lower case and not uppercase.
You saved the day.
Oh, that's the information I needed.
FAIL Test Case:
let pptx = new PptxGenJS();
let slide = pptx.addSlide();
slide.addImage({
x: 1, y: 1, w: 4, h: 3,
path: "https://raw.githubusercontent.com/gitbrent/PptxGenJS/master/demos/common/images/UPPERCASE.PNG"
});
pptx.writeFile({ fileName: "PptxGenJS-issue860.pptx" });
This is issue is fixed in release v3.11.0
