on 07-14-2008 5:51 PM
Hi experts,
I am learning dynamic graphics, according to my understanding, there is always a Image Saver action block after Animation Renderer action block in this kind of BLS. So after input some parameter to the SVG, a jpg pic should be saved somewhere for the html to access. My question is if refresh rate is very high, the jpg picture save action will be a burden?
Thanks a lot,
Yiming.
Hi Yiming,
Depends on what you mean by refresh. The refresh of the html page does not automatically generate a new image since the image you save will be static. You will need to have some additional logic built into your page to cause the image to be updated. How often are you running the transaction and what is triggering it to run?
Thanks,
Mike
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Michael,
I have the same question. For standard template say iGrid there is a "auto refresh" to enable the Grid refresh by the different input data. I want SVG in the same way, seems the only method is to generate jpg or png pic from SVG in a certain rate( say 1 second). The problem is if the jpg is big and grenerated in a high rate, will it take a long time?
Thanks,
Tony.
HI Tony,
In your HTML page where you are calling SVG images you write the following code for autorefresh.Now it is refreshing each 30 sec. You can change it.In iGrid there is auto refresh means only grid will be refreshed but not the whole page.
But in SVG image case there is nothing like this.You need to refresh the whole page.
By using this code your pgae will be automatically refreshed each 30 sec.
I am not able to paste the single line code here.Please guide me how to paste else i will send to your mail.
Hope this will help you.
Thanks,
Manisha
Hi Tony,
If the jpg is big and grenerated in a high rate means your transaction is taking more time to execute, then you will get performance issue on your application.
So to avoid this, you schedule the transactions on backend.Suppose transaction will execute each 30 sec and it will save the jpg in a specific folder.From there you can call the jpg to your HTML page.And by using autorefresh you HTML page will be refreshed.It wont create any performance issue.
Thanks,
Manisha
User | Count |
---|---|
11 | |
6 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.