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 2021/09/01 07:22:24 UTC
[Bug 65431] Not able to read image size and positions
https://bz.apache.org/bugzilla/show_bug.cgi?id=65431
Sayi <sa...@163.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|blocker |normal
Status|NEW |NEEDINFO
Priority|P1 |P3
--- Comment #1 from Sayi <sa...@163.com> ---
Hi,
You can read image by run.getEmbeddedPictures(), and use
org.apache.poi.xwpf.usermodel.XWPFPicture#getWidth, #getDepth to get the image
width and height.
If the picture is in anchor form, get x and y through
w:drawing>wp:anchor>wp:positionH and w:drawing>wp:anchor>wp:positionV.
--
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