Files
xlsx-template/test
Jonathan Durand 740534d7e2 Insert images (#126)
* first version

* can insert image - first version

* fix more than 9 images, with a parseInt on the '10' string. Otherwise, '9' if greater than '10'

* update Buffer() to Buffer.from()

* existing test if now ok, go to make test for insert image

* add first test

* add test for 100 insert images

* update readme.md, but need to be reread :)

* update index.d.ts

* convert tabulation to space

* remove fr - 0.0.1-security from package.json

* remove comment line

* remove condition not nescessary

* add percent ratio for single image

* Update Readme and add imageRatio option

* readd package-lock.json

* readd package-lock.json

* catch error if image does not exists

* change some comment console.log to console.error

* fix formatting

* test if imageToBuffer return a true image buffer, otherwise, throw an error - add handleImageError function : this function handle the image error and throw it by default; developers can override this function

* Move handleImageError function to an option

* remove useless ligne space in this commit
2022-05-30 10:30:57 +06:00
..
2022-05-30 10:30:57 +06:00
2022-05-30 10:30:57 +06:00