Dynamically resize cells after #xlsxAddImage base on image size
-
HI and thanks for everything!
Using xlsx recipe, and inserting image using
{{#xlsxAddImage "logo" "sheet1.xml" 0 0 2 2}} {{imageBase64}} {{/xlsxAddImage}}
Can we make it that the image should be inserted with dynamic size? so it doesn't get squeezed or streched?
because currently, if the image is not the same size as the provided range of cells (e.g. 0 0 2 2), then it gets squeezed or streched. can we avoid or work around that?what I think would be a solution is if we can modify the size of the cells base on the ratio of the image, after inserting, that could help, but I'm not sure how to do that
thanks!!!!