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

            Bug ID: 66271
           Summary: (pptx to html convert)When Artistic Effect has "tiff"
                    image then getting Exception like
                    java.lang.NoClassDefFoundError:
                    org/apache/batik/bridge/UserAgent
           Product: POI
           Version: unspecified
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XSLF
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

Created attachment 38392
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=38392&action=edit
Artistic Effects has tiff image

We are converting .pptx to html convert file and .pptx file has Artistic Effect
img setting enable using "Tiff" file type so we are getting exception form
slide.draw(graphics); API like 
java.lang.NoClassDefFoundError: org/apache/batik/bridge/UserAgent
at java.lang.Class.getDeclaredConstructors0(Native Method)
        at java.lang.Class.privateGetDeclaredConstructors(Class.java:2671)
        at java.lang.Class.getConstructor0(Class.java:3075)
        at java.lang.Class.newInstance(Class.java:412)
        at
org.apache.poi.sl.draw.DrawPictureShape.getImageRenderer(DrawPictureShape.java:101)
        at
org.apache.poi.sl.draw.DrawPictureShape.drawContent(DrawPictureShape.java:61)
        at
org.apache.poi.sl.draw.DrawSimpleShape.draw(DrawSimpleShape.java:107)
        at org.apache.poi.sl.draw.DrawSheet.draw(DrawSheet.java:71)
        at org.apache.poi.sl.draw.DrawSheet.draw(DrawSheet.java:50)
        at org.apache.poi.sl.draw.DrawSlide.draw(DrawSlide.java:41)
        at org.apache.poi.xslf.usermodel.XSLFSlide.draw(XSLFSlide.java:373)


@Info :- If we convert "Tiff" image to jpeg/png then API is not throwing any
exception and working fine.

Solution Tried :- I have tried to use "batik-all-1.14.jar" &
xml-apis-ext-1.3.04.jar Jars then above exception gone and I am able to
generate image from slide but artistic effect image is missing so it is not
converting complete slide to image that way we can not use this solution.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to