Public API and Backwards Incompatible Changes in Aspose.Slides for Java 15.7.0

Public API Changes

Enum com.aspose.slides.ImagePixelFormat has been added

Enum com.aspose.slides.ImagePixelFormat has been added for specifying pixel format for the generated images.

com.aspose.slides.IChartDataPoint.getAutomaticDataPointColor() method has been added

This method returns an automatic color of data point based on series index, data point index, parentSeriesGroup, isColorVaried values and chart style. This color is used by default if fillType equals NotDefined.

Methods getPixelFormat(), setPixelFormat(int) have been added to com.aspose.slides.ITiffOptions

Methods getPixelFormat(), setPixelFormat(/ImagePixelFormat/int) have been added to com.aspose.slides.ITiffOptions and com.aspose.slides.TiffOptions for specifying pixel format for the generated TIFF images.


 Presentation pres = new Presentation("demo.pptx");

TiffOptions options = new TiffOptions();

options.setPixelFormat(ImagePixelFormat.Format8bppIndexed);

pres.save("demo-out.tiff", SaveFormat.Tiff, options);