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
Good solution is to use resize() function with scale argument:
double scale = 0.3; Picture pict = drawing.createPicture(anchor, pictureIdx); pict.resize(scale);