See -> https://tomazvajngerl.blogspot.pt/2018/01/improving-image-handling-in-libreoffice.html Looking for 'Graphic' might give an idea of commits involved -> https://cgit.freedesktop.org/libreoffice/core/log/?qt=grep&q=Graphic
Adding two more related problems.