Extracting images from pptx with apache poi
I'm trying to extract slides from a ppt file with Apache POI, there is no problem in that, but now I intend to open pptx files and do the same, does anyone knows how to?? this is the code to extract images from ppt files: public ImageIcon display() throws JPresentationException { Background background; background = slides[current].getBackground(); Fill f = background.getFill(); Color color = f.getForegroundColor(); Dimension dimension = ppt.getPageSize(); shapes = slides[current].getShapes(); BufferedImage img = new BufferedImage(dimension.width, dimension.height, BufferedImage.TYPE_INT_RGB);