Reduce File Size

Reduce File Size

Aspose.Diagram for Python via Java API allows developers to remove hidden info from a diagram to reduce file size. The Page object represents the drawing area of a foreground page or a background page.In order to reduce file size, you can use RemoveHiddenInfoItem properties in  RemoveHiddenInformation() method of Diagram class. The code example below shows how to remove hidden info from diagram.