You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by bu...@apache.org on 2014/03/12 12:32:35 UTC
[Bug 49765] addPictures() not displaying Image in XWPF
https://issues.apache.org/bugzilla/show_bug.cgi?id=49765
paniraju <kp...@yahoo.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |NEEDINFO
--- Comment #31 from paniraju <kp...@yahoo.com> ---
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: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org