Export to Image

Stimulsoft Reports.Flex discussion
hugo
Posts: 359
Joined: Fri Mar 08, 2013 10:46 am

Export to Image

Post by hugo »

Can Stimulsoft Fx export to image (JPG or PNG) ?
Andrew
Posts: 4107
Joined: Fri Jun 09, 2006 3:58 am

Re: Export to Image

Post by Andrew »

Dear Hugo,

Thank you for the question.

Currently, our reporting tool for Flex does not support exporting to image formats. Sorry.

Thank you.
HighAley
Posts: 8431
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Export to Image

Post by HighAley »

Hello.

We faced some restriction of Flash player. The Flash flayer shows save dialog on each file. So if there are several pages, the save dialog will appear for each page of report.
Other way is to export report as an archive with images of each page.
What a way to export the report do you prefer?

Thank you.
hugo
Posts: 359
Joined: Fri Mar 08, 2013 10:46 am

Re: Export to Image

Post by hugo »

In this case is not to use with Flash Player but AIR. Even AIR is a superset of Flash Player does not have the same restrictions.

My goal is to use with a Flex Mobile with AIR. I'm trying to create a simulated mobile preview component for StimulsoftFx.
HighAley
Posts: 8431
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Export to Image

Post by HighAley »

Hello.
hugo wrote:In this case is not to use with Flash Player but AIR. Even AIR is a superset of Flash Player does not have the same restrictions.

My goal is to use with a Flex Mobile with AIR. I'm trying to create a simulated mobile preview component for StimulsoftFx.
Do you need the whole report or just first age for your mobile preview?
Could you specify how do you need to get the images?
Should they be exported on disk as files or somehow else?

Thank you.
hugo
Posts: 359
Joined: Fri Mar 08, 2013 10:46 am

Re: Export to Image

Post by hugo »

The perfect solution if was possible would be to export to array of bytearray.

Ex:
1. Report with 1 single page:
The export method should export an array with 1 position of image bytearray

2. Report with 10 pages:
The export method should export an array with 10 positions of image bytearray

My new custom flex mobile preview will have an image sensitive to touch to move to next/preview page and extra buttons to export to disk (pdf and all supported formats) -> That will be on my side :)


Regards,
Hugo.
HighAley
Posts: 8431
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Export to Image

Post by HighAley »

Hello.

Thank you for the detailed description.
We have added this feature in our to-do list.
We need some time to implement it.
We will let you know when it will be available.

Thank you.
hugo
Posts: 359
Joined: Fri Mar 08, 2013 10:46 am

Re: Export to Image

Post by hugo »

So, I guess that this will require a new renewed subscription, right ?
HighAley
Posts: 8431
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Export to Image

Post by HighAley »

Hello.
hugo wrote:So, I guess that this will require a new renewed subscription, right ?
Yes, if you don't have it now.

Thank you.
hugo
Posts: 359
Joined: Fri Mar 08, 2013 10:46 am

Re: Export to Image

Post by hugo »

OK, I have successfully implemented my Flex Mobile StimulsoftFx Viewer, combining a customized StageWebView for mobile, your export to HTML service and your function to convert the exported ByteArray to HTML source.

With a new touch toolbar I get the result of a viewer with zoom-in/out with finger and 4 buttons to export to file (HTML, PDF, DOCX and XLS).

I always don't use % in report source to avoid the export to HTML bug.


Thank you,
Hugo.
Locked