Hi,
Hi Gaurang,
I have observed the issue shared by you and request you to please try using Aspose.Slides for Java 8.4.0 on your end. If there is still an issue then please share the source presentation, Operating system and Java details with us. I will investigate the issue further on my end to help you out.
Many Thanks,
Hi Mudassir,
Hi Gaurang,
I have worked with the sample presentation shared by you and have been able to observe the issue specified. An issue with ID SLIDESJAVA-34296 has been created in our issue tracking system to further investigate and resolve the issue. This thread has been linked with the issue so that you may be automatically notified once the issue will be resolved.
I have also verified that when the Tiff for slide is generated on presentation level then there is no issue. Therefore, I have generated the code sample for workaround approach for your convenience that you may use on your end for the time being to serve the exact purpose your are looking for.
public static void genTiff(String presName,String path ) throws Exception
{
try{
// String path=“D:\Aspose Data\”;
PresentationEx pres = new PresentationEx(path+presName);
PresentationEx target= new PresentationEx();
TiffOptions tiffOp = new TiffOptions();
tiffOp.setDpiX(300);
tiffOp.setDpiY(300);
tiffOp.setImageSize(new Dimension(720,440));
int count =pres.getSlides().getCount() ;
for(int i=0;i<count;i++)
{
target= new PresentationEx();
SlideExCollection slides=target.getSlides();
SlideEx sld = pres.getSlides().get_Item(i);
int id=slides.addClone(sld);
target.getSlides().removeAt(0);
target.save(path+“Slides/PPTX_thumbnail “+i+”.tiff”,SaveFormat.Tiff,tiffOp);
}
}
catch(Exception e)
{
e.printStackTrace();
}
}
Please share, if I may help you further in this regard.
Many Thanks,
The issues you have found earlier (filed as SLIDESJAVA-34296) have been fixed in this update.
This message was posted using Notification2Forum from Downloads module by Aspose Notifier.