THausherr commented on PR #1473:
URL: https://github.com/apache/tika/pull/1473#issuecomment-2219468516

   It worked for me with small changes because your code isn't runnable:
   
   ```
           Path input = Paths.get("samplepptx.pptx");
           Writer writer = new OutputStreamWriter(System.out);
   ```        
   The file is
   https://scholar.harvard.edu/files/torman_personal/files/samplepptx.pptx
   
   Maybe you have another commons-io dependency in your pom.xml. Use this:
   
   ```
       <dependency>
           <groupId>commons-io</groupId>
           <artifactId>commons-io</artifactId>
           <version>2.16.1</version>
       </dependency>
   ```
   
   Use the maven versions plugin to check that you're up-to-date:
   ```
   
   <plugin>
       <groupId>org.codehaus.mojo</groupId>
       <artifactId>versions-maven-plugin</artifactId>
       <executions>
           <execution>
               <phase>install</phase>
               <goals>
                   <goal>display-plugin-updates</goal>
                   <goal>display-dependency-updates</goal>
                   <goal>display-property-updates</goal>
               </goals>
           </execution>
       </executions>
       <configuration>
           <verbose>true</verbose>
           <allowSnapshots>false</allowSnapshots>
       </configuration>
   </plugin>
   ```
   
   My output:
   
   Sample PowerPoint File
   St. Cloud Technical College
   
   
   This is a Sample Slide
   Here is an outline of bulleted points
   You can print out PPT files as handouts using the 
   PRINT > 
     PRINT WHAT > HANDOUTS option
   
   
   image2.jpeg
   
   image1.jpeg


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@tika.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to