Hello,
Before adding the images they are resized based on format and dpi to get the best quality for DOCX documents.
If you need to do any custom change, you can check CreateImage.inc file on createImage method, where there's a switch where size is calculated if mime type is png, jpg or gif.
Regards.