Free Support Forum - aspose.com

Error re-saving ppt file

Hello aspose team,

I have issue with one ppt file. I just create presenation and write it to create new ppt file. An error occurred (it seems some shape size is wrong). I will send you test code and ppt file.

======================================
import java.io.FileInputStream;
import java.io.InputStream;

import org.junit.Test;

import com.aspose.slides.Presentation;

public class InstanceTest {

@Test
public void test() throws Exception{

String path = “d:/6221-2010-W-1324409-SS.ppt”;

InputStream testStream = new FileInputStream(path);

Presentation presentation = new Presentation(testStream);

presentation.write(“d:/6221-2010-W-1324409-SS-NEW.ppt”);

}
}

Please can you check this and report to me what is the problem. Thanks.
Branko

I am using aspose.slides version 2.4.0

Hi Branko,

I have tried opening your presentation using Aspose.Slides for Java 2.5.0 and have not been able to observe any issue while accessing the presentation. Please use the mentioned product version which is available for download from here. For your kind reference, the generated presentation is also attached.

Thanks and Regards,