https://issues.apache.org/bugzilla/show_bug.cgi?id=49765

paniraju <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO

--- Comment #31 from paniraju <[email protected]> ---
Im trying to add picture using poi 3.10 final 

FileInputStream pic = new FileInputStream("C:\\Happybirthday.JPG");
byte [] picbytes = IOUtils.toByteArray(pic);
doc.createParagraph().createRun().addPicture(pic, Document.PICTURE_TYPE_JPEG,
"C:\\Happybirthday.JPG", 200, 200);

still im not able to add picture , size of docx file has increased when i open
docx file and can see the image file loaded inside. But im unable to open the
docx file. 
Please help to solve my problem.

-- 
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