A starting point might be to open the PPTX with a ZIP program, and extract the Slides folder

You could then read the file size for each 'slide' since each is a separate file

Capture.JPG

Capture2.JPG