Using POI version 3.2
Issue: Not able to resize an image to its original height and width. I am able to add an image to the excel file.
After adding image I
I found that you must NOT call picture.resize() until after sheet.autoSizeColumn(i) even if you are not calling autoSizeColumn(i) on the column to which the picture is anchored.
picture.resize()
sheet.autoSizeColumn(i)
autoSizeColumn(i)