In certain cases, you may need to extract images from PowerPoint presentations along with the text. To achieve that, this article covers how to extract images from PowerPoint PPT or PPTX programmatically in Java. You will also learn how to extract images only from the backgrounds or the shapes in PPT slides.