STP Drawings

Exporting STP Format To PNG

Aspose.CAD for Javascript in Angular allows developers to export an STP file to PNG format. STP to PNG conversion approach works as follows:

  1. Load STP drawing file using the Image.load method.
  2. Call Image.save while passing an object of PngOptions as the second parameter.

Sample Code

The code below shows how to achieve the same goal using Aspose.CAD for JavaScript