Unfortunately this leads to an error:

        org.apache.poi.hslf.model.Picture.getPictureData(Picture.java:176)
        org.apache.poi.hslf.model.Picture.setDefaultSize(Picture.java:148)

Here is my code:
        byte[] img = (byte[]) pictureObject;
        ByteArrayInputStream bais = new ByteArrayInputStream(img);
        int picID = ppt.addPicture(img, Picture.PNG);
        Picture p01 = new Picture(picID);
        p01.setAnchor(setBoundings(20, 20,50,50));
        p01.setDefaultSize();
        slide.addShape(p01);

I just don't get the clue...

kind regards
Tobias

--
View this message in context: 
http://apache-poi.1045710.n5.nabble.com/Issue-concerning-setanchor-usage-for-poi-hslf-tp4582742p5654575.html
Sent from the POI - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to