Windward Core is now Fluent by Apryse. Click here to experience the new and improved platform!
< Back to Features

New Output Formats added in Version 16.1: BMP, GIF, JPG, PNG, SVG

Version
All Products
Designer
Artist
Scout
Javelin
.NET Engine
RESTful Engine
Java Engine

The following image output formats have been added: BMP, GIF, JPG, PNG, and SVG.

If the output is multiple pages, each page will be a separate image file.

Image Output in the Java Engine RunReport

Modify the extension of the output report to be any of the following: “bmp”, “gif”, “jpg”, “png”, or “svg”. For example:

java net.windward.xmlreport.RunReport InternetMarketingReport.docx testreport.bmp -xml:INTMARKETING InternetMarketingData.xml

Image Output in the .NET Engine RunReport

Modify the extension of the output report to be any of the following: “bmp”, “gif”, “jpg”, “png”, or “svg”. For example:

RunReport.exe InternetMarketingReport.docx testreport.bmp -xml:INTMARKETING InternetMarketingData.xml

Image Output in the Java Engine API

Use the new “ProcessImage” class to output to an image format. If the output report is more than one page, see Appendix A for a Java code sample.

// For BMP, GIF, JPG, PNG

ProcessReportAPI report =new ProcessImage(template, format, dpi);

  • template in the InputStream containing the template
  • format is one of the following:
      o  HtmlImage.BITMAP_BMP
      o  HtmlImage.BITMAP_GIF
      o  HtmlImage.BITMAP_JPG
      o  HtmlImage.BITMAP_PNG
  • dpi is the dots per inch to render the image at (for example, 600)

// For EPS, SVG

ProcessReportAPI report =new ProcessImage(template, format);

  • template in the InputStream containing the template
  • format is one of the following:
      o  HtmlImage.RENDER_EPS
      o  HtmlImage.RENDER_SVG

Image Output in the .NET Engine API

Use the new “ReportImage” class to output to an image format. If the output report is more than one page, see Appendix B for a .NET code sample.

// For BMP, GIF, JPG, PNG

Report report = new ReportImage(template,format, dpi);

  • template in the Stream containing the template
  • format is one of the following:
      o  ReportImage.FORMAT.BMP
      o  ReportImage.FORMAT.GIF
      o  ReportImage.FORMAT.JPG
      o  ReportImage.FORMAT.PNG
  • dpi is the dots per inch to render the image at (for example, 600)

// For EPS, SVG

Report report = new ReportImage(template,format);

  • template in the Stream containing the template
  • format is one of the following:
      o  ReportImage.FORMAT.EPS
      o  ReportImage.FORMAT.SVG

Apryse Software Corp. © 2024 All Rights Reserved.