Description
When reading an .xlsx file that contains embedded images (inserted via Excel), worksheet.get_image_collection() returns an empty vector. The images are present in the file and visible when opened in Excel.
Note: The write path works correctly — images added via umya's API are properly embedded and visible in Excel. This issue only affects the read path.
Steps to Reproduce
- Create an
.xlsx file in Excel with one or more embedded images (Insert > Pictures)
- Read the file with umya-spreadsheet
- Call
worksheet.get_image_collection() or iterate media objects
Expected Behavior
Returns a vector containing the embedded image objects with their position, dimensions, and image data.
Actual Behavior
Returns an empty vector ([]).
Possibly Related
Environment
- umya-spreadsheet 2.2.x
- Tested with
.xlsx files generated by Microsoft Excel (macOS)
- Discovered via ExcelBench fidelity testing
Description
When reading an
.xlsxfile that contains embedded images (inserted via Excel),worksheet.get_image_collection()returns an empty vector. The images are present in the file and visible when opened in Excel.Note: The write path works correctly — images added via umya's API are properly embedded and visible in Excel. This issue only affects the read path.
Steps to Reproduce
.xlsxfile in Excel with one or more embedded images (Insert > Pictures)worksheet.get_image_collection()or iterate media objectsExpected Behavior
Returns a vector containing the embedded image objects with their position, dimensions, and image data.
Actual Behavior
Returns an empty vector (
[]).Possibly Related
Environment
.xlsxfiles generated by Microsoft Excel (macOS)