Skip to content
This repository was archived by the owner on Jan 12, 2018. It is now read-only.

Commit df08b86

Browse files
author
Steve Canny
committed
correct EMU/px value used in picture()
1 parent 9d73eaa commit df08b86

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docx.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -419,7 +419,7 @@ def picture(relationshiplist, picname, picdescription, pixelwidth=None, pixelhei
419419

420420
# OpenXML measures on-screen objects in English Metric Units
421421
# 1cm = 36000 EMUs
422-
emuperpixel = 12667
422+
emuperpixel = 12700
423423
width = str(pixelwidth * emuperpixel)
424424
height = str(pixelheight * emuperpixel)
425425

0 commit comments

Comments
 (0)