Hi,
I am generating Thumbnail of pptx while generating the thumbnail the mark sign get changed. Can you please help what exactly the issue is?
I am using Aspose slide java version 18.10.
Below is the resources which can help in investigation.
POC.zip (78.7 KB)
Zip contains presentation and expected result and actual result which I am getting.
Code snippet I used :
/** Activate ASPOSE license.*/
License license = new License();
license.setLicense("Aspose.Slides-new.lic");
if (license.isLicensed()) {
System.out.println("License is Set!");
}
String dataDir = "/var/www/html/test/poc/";
//Instantiate a Presentation class that represents the PPTX file
Presentation pres = new Presentation(dataDir + "inputPPTX.pptx");
//Create a image
BufferedImage image = pres.getSlides().get_Item(0).getThumbnail(1f, 1f);
//Save the image to disk in JPEG format
ImageIO.write(image,"jpeg",new File(dataDir + "actualResult.jpg"));
System.out.println("image is ready");
Thanks,
Saquib Shaikh.