https://issues.apache.org/bugzilla/show_bug.cgi?id=49765
--- Comment #32 from Nick Burch <[email protected]> --- (In reply to paniraju from comment #31) > 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); If you save this file, close, re-open with XWPFDocument, and read, is POI able to see and read the image correctly? i.e. is the problem that POI is writing the image completely wrong, or is it writing in a way that POI copes with but that's wrong for Word? -- 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]
