Hi Andi
Many thanks for your answer.
The pptx2png output is the same.
The -dump option is not available because a generic record support is
missing.
The -extractEmbedded throws an array out of bound exception.
Exception in thread "main" java.lang.IndexOutOfBoundsException: Index 2
out of bounds for length 2
at
java.base/jdk.internal.util.Preconditions.outOfBounds(Preconditions.java:64)
at
java.base/jdk.internal.util.Preconditions.outOfBoundsCheckIndex(Preconditions.java:70)
at
java.base/jdk.internal.util.Preconditions.checkIndex(Preconditions.java:248)
at java.base/java.util.Objects.checkIndex(Objects.java:372)
at java.base/java.util.ArrayList.get(ArrayList.java:459)
at
org.apache.poi.xslf.util.PPTHandler.lambda$getEmbeddings$2(PPTHandler.java:167)
at org.apache.poi.xslf.util.PPTX2PNG.extractEmbedded(PPTX2PNG.java:413)
at org.apache.poi.xslf.util.PPTX2PNG.processFile(PPTX2PNG.java:307)
at org.apache.poi.xslf.util.PPTX2PNG.main(PPTX2PNG.java:94)
Some Powerpoint's I use for testing are confidential.
But I will try to anonymize the files and create the bugzilla entry.
Currently I am to busy to dive into the Powerpoint specification to find
bugs.
But in the future - why not.
Regards
Benny
On 18.10.21 19:16, Andreas Beeker wrote:
Hello Bernhard,
I take care about rendering issues in HSLF/XSLF.
Either create a new bugzilla entry [1] with files/attachments which we
can put into our test data corpus (preferred).
Or get in contact with me directly and provide me the files and I try
to fix the implementation.
Out of scope are Word-Art and Charts, as those are a different beast.
For the time being, you might want the nightly a try - see
"Instructions to run":
http://poi.apache.org/components/slideshow/ppt-wmf-emf-renderer.html
If I commit any fixes, you'll have a fast feedback, if the issues were
resolved.
Best wishes,
Andi
[1]
https://bz.apache.org/bugzilla/enter_bug.cgi?product=POI&component=SL+Common
--
____________________________________________________________________________
A-Design AG, Infosysteme, Baselstrasse 77, CH - 4500 Solothurn, Tel. +41
(0)32 627 00 77
Tel. direkt +41 (0)32 627 00 84, [email protected]
<mailto:[email protected]>, www.a-design.ch
<http://www.a-design.ch/>