https://bz.apache.org/bugzilla/show_bug.cgi?id=64693

--- Comment #6 from Andreas Beeker <kiwiwi...@apache.org> ---
My guess is, you forgot to include the scratchpad and the "provided" jars,
which contains the WMF renderer.

While trying to describe below, I found out, that the PPTX2PNG argument
handling is case-sensitive and so doesn't match the docs, but apart of that it
works for me. I think we should also add the "provided" jars to the binary
bundle, as this will be less pain for the users and nobody cares nowadays about
a increase in the bundle size.


- Download and unzip the nightly:
https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/lastSuccessfulBuild/artifact/build/dist/

- Download the "provided" jars and put them in the directory "provided":
https://search.maven.org/artifact/org.apache.xmlgraphics/batik-all/1.13/pom
https://search.maven.org/artifact/xml-apis/xml-apis-ext/1.3.04/jar
https://search.maven.org/artifact/org.apache.xmlgraphics/xmlgraphics-commons/2.4/jar

- Execute the java command (Unix-paths needs to be replaced for Windows):
java -cp
poi-5.0.0-SNAPSHOT.jar:poi-ooxml-5.0.0-SNAPSHOT.jar:poi-ooxml-schemas-5.0.0-SNAPSHOT.jar:poi-scratchpad-5.0.0-SNAPSHOT.jar:lib/*:ooxml-lib/*:provided/*
org.apache.poi.xslf.util.PPTX2PNG -format png -fixside long -scale 1000
-charset GBK -outdir . ttt.pptx

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org
For additional commands, e-mail: dev-h...@poi.apache.org

Reply via email to