New

Export widgets to jpg, pdf

  • 18 November 2020
  • 6 replies
  • 819 views

Userlevel 1

As a end user (role) I need the ability to export graphics as images or pdf documents (functionality) , so I can make a presentation with the results of optimization (goal).

Graphs refer to the following WebUI widgets:

Current workflow:
Key widgets defined by end users are duplicated in WinUI and exported to pdf using standard AIMMS functionality bound to widget action or screenshots are taken.

Looking forward to discuss this topic!


6 replies

Userlevel 6

Thanks for sharing @Mstislav Simonenkov, I have heard this request before and typical answer now is indeed use a snipping tool. Since people can vote on these ideas; love to see the community response to it.

Userlevel 4

It looks like this request is related

 

https://community.aimms.com/share-your-product-ideas-37/print-to-pdf-447

 

 

Userlevel 4

Hello Community,

We have been working on such a feature and preparing a proof of concept. We will first make this available for charts and then for the table and full page. 

Some things we are looking at are the quality of the exported image and also the size (dimensions). The first iteration will be a simple export to image and further iterations may include other options. 

We are working hard to try to have this ready by the next couple of releases. Stay tuned to the Product Update. 

 

Please let me know if you have any questions or suggestions.

 

Thanks.

 

Regards,

Pratap

Userlevel 4

Hi Community,

 

Here is a sneak peek at the progress of exporting the charts to images.

The charts will now have an extra option in the header, a camera icon. Clicking on this icon will export the chart into a .png file.

The resulting .png file will be the same size (dimensions) as the widget on the page.

You can also make the widget full screen and export the image, in which case the dimension of the .png file will be larger as well. Below is an example of the .png file exported when the widget is expanded to full screen.

We would love to hear your feedback and suggestions.

Thanks.

Pratap

Userlevel 1

Hi @Pratap Kumble,

Awesome! 

I really liked how you have implemented setting the size of the exported image - inheriting the size of the widget in my opinion is much more convenient than specifying the width and height in pixels!

Could you please tell:
What is the Color depth of the resulting image? 
The path in which the images are saved in AIMMS Developer and AIMMS PRO is pre-defined or can be configured or is interactive as in the Upload widget?

Userlevel 3

Hello @Pratap Kumble ! 

Will be possible to print the full page trough a procedure? 

Thanks.

Reply


Didn't find what you were looking for? Try searching on our documentation pages:

AIMMS Developer & PRO | AIMMS How-To | AIMMS SC Navigator