I do have an excel worksheet which has various images included inside. I want to store those images as PNG or JPEG files on the disk. Can anyone suggest if there is any solution to achieve this?
I have tried with python xlrd module but it ignores images inside xlsx.
Going off of @DSM's comment, this chunk of code works to extract embedded
jpeg
orjpg
files from anxlsx
file. They will end up in the directory from which you run the program, nested in the folders that are shown in the original archive contents: