When word file is opened via MSWord, it is just fine but when converted to PDF via libre-convert, the images do not auto-resize the table cells

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:image description

This seems to be closely related to question 251331

link to question edited by ajlittoz

Your question shows a screenshot. That’s fine to provide a reference, but useless for detailed analysis. Please, edit your question to attach a real file. To do this, use the paperclip tool when editing.