Bug 53192

Summary: Images in ppt file have wrong width when convering ppt to png
Product: POI Reporter: Dmitry Zamula <club.brantner>
Component: HSLFAssignee: POI Developers List <dev>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P2    
Version: 3.8-FINAL   
Target Milestone: ---   
Hardware: PC   
OS: All   
Attachments: source ppt file
result of converting
Render pptx

Description Dmitry Zamula 2012-05-04 11:02:01 UTC
Created attachment 28727 [details]
source ppt file

There is error with some image - it has wrong width after converting ppt file to png.

public class Main {

    public static void main(String[] args) {
        String input[] = {"D:\\Test.ppt"};
        try {
            PPT2PNG.main(input);
        } catch (Exception ex) {
            ex.printStackTrace();
        }
    }
}
Comment 1 Dmitry Zamula 2012-05-04 11:02:35 UTC
Created attachment 28728 [details]
result of converting
Comment 2 Yegor Kozlov 2012-05-10 14:02:00 UTC
Does the problem happen only with .ppt files or with .pptx too? Save the attached file as .pptx and render. Does the result look OK ?

Yegor
Comment 3 Dmitry Zamula 2012-05-15 08:57:25 UTC
Created attachment 28779 [details]
Render pptx

With pptx render, result is much better, but the problem with image widht is remains (see the top picture).
Comment 4 Andreas Beeker 2015-11-09 01:30:08 UTC
Most of the mentioned issue was already fixed, but there was a problem with 
line breaks
in the source ppt which I've fixed with r1713332