My initial thoughts on adding images to xlslib would be to support jpeg and png. If anyone really needs an other format please add a comment. Adding image support is not trivial and I'll want to see some interest in this feature before embarking on it.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I replied below to your original question (SO didn't navigate me to the proper place). Also, I do hope you saw the note about the JXLS iOS ObjectiveC framework for this library.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello mijobe,
I am planing to use xlslib in my project and need adding images to excel files also .
Would you give me your implementation or some suggestions.Your sincere supports would be extrmely grateful.
Thank you.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Its a substantial amount of work - the images uses a whole different "framework" - a graphics framework overlaid on the xls file format. I half implemented it to get the Note feature working.
Another user has done this already - with some image size limitations - you could ask for a copy of his code: michael at mijobe.de Its a good two-to-five solid days of coding to get what he did - and its tedious mind numbing work (managing offsets to various containers, and back references).
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Well, a number of people did this library originally with the intent of selling it, didn't pan out, so they open sourced it. I needed it at that time so took over support. Later one contributor Ger Hobbelt took over primary support, he was a real C++ guru, and he made the library absolutely lightening fast. I've been doing work on and off, but nothing like Ger did (he did the formula feature too). We had a user the other day add 1M rows to a workbook - 50K rows in 20 different sheets! This was the biggest spreadsheet I know of made with this library.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
My initial thoughts on adding images to xlslib would be to support jpeg and png. If anyone really needs an other format please add a comment. Adding image support is not trivial and I'll want to see some interest in this feature before embarking on it.
It would be great if you could add support for inserting images. JPEG and PNG should be enough if you ask me.
Also, I wanted to say that this is a great lib. Very easy to use and nice. A rescue for xls work on iOS.
I replied below to your original question (SO didn't navigate me to the proper place). Also, I do hope you saw the note about the JXLS iOS ObjectiveC framework for this library.
Have sent you a private mail with an implementation of images. Hope it helps :)
Hello mijobe,
I am planing to use xlslib in my project and need adding images to excel files also .
Would you give me your implementation or some suggestions.Your sincere supports would be extrmely grateful.
Thank you.
Its a substantial amount of work - the images uses a whole different "framework" - a graphics framework overlaid on the xls file format. I half implemented it to get the Note feature working.
Another user has done this already - with some image size limitations - you could ask for a copy of his code: michael at mijobe.de Its a good two-to-five solid days of coding to get what he did - and its tedious mind numbing work (managing offsets to various containers, and back references).
Great. Thank you for the info. I'll contact him and give it a try.
Anyways, thank you very much for the effort you've put to library so far, you've done a really great job!
Well, a number of people did this library originally with the intent of selling it, didn't pan out, so they open sourced it. I needed it at that time so took over support. Later one contributor Ger Hobbelt took over primary support, he was a real C++ guru, and he made the library absolutely lightening fast. I've been doing work on and off, but nothing like Ger did (he did the formula feature too). We had a user the other day add 1M rows to a workbook - 50K rows in 20 different sheets! This was the biggest spreadsheet I know of made with this library.