zdavatz / spreadsheet

The Ruby Spreadsheet by ywesee GmbH
http://spreadsheet.ch
GNU General Public License v3.0
1.13k stars 240 forks source link

Save Images from Excel Spreadsheets #255

Open bbgoda opened 3 years ago

bbgoda commented 3 years ago

How to extract and save images from excel spreadsheet? What are the methods in the spreadsheet gem like Python does?

Python code to extract images from excel:

image_loader = SheetImageLoader(sheet) image_file = image_loader.get('A1) image_file.save('image_file_name', 'PNG')

zdavatz commented 3 years ago

This is a good question. I think this is not really supported yet. But please go ahead and try to do it and let me know if you come up with a patch.