I have a word file where I programmatically attach images in tables, when I open the word file via MS Word, it looks fine (Table cells are auto-resized) but when libre-office Writer or libre-office command line PDF converter is used, the table cells are not resized.
Libre PDF:
Word:
This seems to be closely related to question 251331
link to question edited by ajlittoz