A followup from Bug 27153 reported by Laurent Poublan: If I create a picture on a patriarch and call resize() on it, the resizing is correct ONLY IF the rows/columns have the default height/width. If the columns/rows width/height have been changed (before calling resize()), the resize does not set the image to its original size (proportions are modified). I understand that changing cols/rows sizes after can alter images size, but I think HSSFPicture.resize() should always resize the image correctly.
Could someone provide us with work around about this problem?
Anyone managed to work around this yet?
Fixed in r664515. This change will be included in 3.1-final. Yegor
Still does not work correctly. If there are cells containing some text next to the image, the latter becomes unrecognizable - stretched vertically.
(In reply to comment #4) > Still does not work correctly. If there are cells containing some text next to > the image, the latter becomes unrecognizable - stretched vertically. > Can you provide a sample ppt and java code to reproduce it? Yegor
Created attachment 22310 [details] Contains a xls, java code and png file Image is stretched when there is a text next to it.
fixed in svn r682621. Default row height was wrongly interpreted and caused vertical stretching.