qax-os / excelize

Go language library for reading and writing Microsoft Excel™ (XLAM / XLSM / XLSX / XLTM / XLTX) spreadsheets
https://xuri.me/excelize
BSD 3-Clause "New" or "Revised" License
17.62k stars 1.68k forks source link

GetPictures cannot obtain the height and width #1887

Closed walkrunning closed 1 month ago

walkrunning commented 2 months ago

GetPictures cannot obtain the height and width of an image. As a result, the image size cannot be determined when you copy an image from one sheet to another, and the image size is incorrect when AutoFit is enabled. Can you add the method of obtaining and setting the height and width of an image?

xuri commented 1 month ago

Thanks for your issue. I think this was duplicate with issue #1699 and pull request #1842 (related issue #1813). I closed this, and we track two problems mentioned in your issue into the above two issues. If you have any questions, please let me know, and you can reopen this anytime.