|
|
|
Forum Newbie
      
Group: Forum Members
Last Login: 7/16/2008 6:01:28 PM
Posts: 2,
Visits: 11
|
|
| That sounds great for the client side. Does anybody know of any server side tools available for converting a swf to gif/jpeg/png? I'd like to be able to serve my fusioncharts as either swf or an image file.
|
|
|
|
|
Forum Newbie
      
Group: Forum Members
Last Login: 7/4/2007 4:50:32 AM
Posts: 4,
Visits: 6
|
|
It's a little tricky to do it with Flash, but it can be done. It would, however, require some server side support. With the many advancements in Flash it's now possible to create a bitmap image within flash, render a flash drawing to that and then capture the bitmap data. You could then send that data to an external script which could re-render that bitmap data into an image for saving or viewing on a web browser. There are other techniques out there to compress the data (which is essentially a raw bitmap, so you can imagine how big those can get) so that it saves on bandwith.
Here's just one solution:
http://sephiroth.it/tutorials/flashPHP/print_screen/

Steven
|
|
|
|
|
Forum Newbie
      
Group: Forum Members
Last Login: 8/7/2007 2:32:29 PM
Posts: 1,
Visits: 1
|
|
... sorry to ask the same question in an other way: why don't you offer a serverbased solution to generate an static image like a JPEG or GIF? The problem is that we could use FusionCharts in a lot of projects but there mostly is a need to produce a print-layout. That means we have to have a image-solution ... It would be great if a (server based) solution produces the images just in time when they're requested (only to have then in a special printlayout).
At the moment FusionCharts is a nice "gimmick"". But in our case it's useless until it can produce printable pictures in addition (so we have to use a solution without visual effects and eye-candy just to realize an printable layout – that's boring). Can't you help with tips or solutions?
Thanks for any answer. Regards Jens
|
|
|
|
|
FusionCharts Team
      
Group: Administrators
Last Login: 7/2/2008 7:57:52 PM
Posts: 1,956,
Visits: 468
|
|
| Hi, Since FusionCharts entirely depends upon Flash, we cannot shift the solution to server side. In that case, we'll have to create a .NET/Java/COM based component to do the entire thing in a different way at server side.
Thanks, Pallav Nadhani FusionCharts Team
|
|
|
|
|
Forum Newbie
      
Group: Forum Members
Last Login: 8/21/2007 10:12:13 AM
Posts: 7,
Visits: 21
|
|
| Hi Pallav we are planning to buy the FusionChart , But we have a requirement of exporting the chart to a pdf/excel sheet/clipart .So if we go ahead buy the software, will you be able to provide us a patch to have these functionalities after you come with a solution sooner. thanks Shailen
|
|
|
|
|
Forum Newbie
      
Group: Forum Members
Last Login: 4/8/2008 5:54:01 PM
Posts: 3,
Visits: 9
|
|
| Hehe... that Sephiroth... I've been visiting his website for a long time now, and he always find the way to surprise me with a new "oh, I was toying with this and that, and look what came of it...". Anyway, I was looking for the same functionality for a dashboard I was developing and came across the solution provided by Sephiroth, I analyzed and implemented, but no matter how I tried to optimize the solution I always ended up with either long times of processing (which given the client-side nature of Flash is not to be relied on) or long times of transfer resulting in a bandwidth problem. I think there are ways to serialize images in order to send them to server-side scripts that can process it and store it or do whatever you need with them, but that only solves the cross-platform end of the problem not the heavy process/bandwidth end, but I'm no web developer, I'm more into Actionscript that anything else. I finally decided to redraw the chart in a smaller container before processing and sending it to the server-side script but that was only a work-around more than a solution. Sincerely: Cmassieu
Never underestimate the ability of your clients to come up with new ideas to torture you...
|
|
|
|
|
Forum Newbie
      
Group: Forum Members
Last Login: 9/18/2007 3:05:09 PM
Posts: 2,
Visits: 3
|
|
| I recently had to create a web reporting tool for a client that used Fusion charts on the web-side, but produced Word/Excel/PowerPoint and PDF outputs as well. The reports are produced server-side and I used a simple library called F-In-A-Box (http://www.f-in-box.com/) to capture the FusionCharts to JPGs as needed. (Actually it captured the image to a bitmap which I converted to a JPG.) I just wrote a simple server-side .NET component that responded to a URL request by using the F-In-A-Box software to capture the chart and then streaming the JPG back to the end-user. It took a few hundred lines of code, but it works quite well.
|
|
|
|
|
FusionCharts Team
      
Group: Administrators
Last Login: 7/2/2008 7:57:52 PM
Posts: 1,956,
Visits: 468
|
|
| Hi, Thanks a lot for this info. Would it be possible for you to share code on this forum so that our other users can also utilize this technology?
Thanks, Pallav Nadhani FusionCharts Team
|
|
|
| | |