Ziv-Barber/officegen — pull request #37 by csulok (2014-11-04 19:41:03+00:00)
Title: correct the pixel to EMU multiplier

Office uses EMU as the unit of measurement inside documents, where the magic number is 914400 EMU per inch. Office also assumes you view at 96 DPI, giving us 9525 as a multiplier instead of 10000.

The issue I'm trying to fix is aliased lines on embedded images and after some testing - and making sure the freshly opened document is displayed at 100% - I think this is a complete fix.

Libreoffice has a bigger problem, it has no anti-aliasing solution on image, MS Office actually has a quite nice resampling solution, but it's still a visible issue.