Link to home
Start Free TrialLog in
Avatar of ssotir
ssotir

asked on

Onthefly VML to Bitmap conversion available?

Is it possible to use VML to create a vector image onthefly and translate it to GIF or any other bitmap format onthefly. What I am doing is a program that uses ASP to retrieve data from a DB and VML to create charts dynamically. I want to give to the user the ability to save the chart as an image. Is this possible?
Avatar of Gibble
Gibble

...hmmm...that is an intriguing question...
Let me get back to you on that.
...hmmm...that is an intriguing question...
Let me get back to you on that.
Oops double post sorry :(

Anyhow...from what I can tell, you can't.  Well, you can't do it easily.  I did a quick search and couldn't find much that would be of help to doing this.  Sorry :(

btw, isn't VML dead and SVG the new way?

If I come across something I will let you know.
ASKER CERTIFIED SOLUTION
Avatar of raizon
raizon

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Office Web Components I do use.  They work allright but technically only people with a legitamate copy of MS Office can view them using the components.  But they do allow you to create gifs server side and display that instead.  

But alas that won't help you convert your existing vml images to gif/jpg format for easy downloading.
Avatar of ssotir

ASKER

I see the reality. There is no easy way doing this. Probably I have to reconsider the use of VML and user Office Components or something like that. The solution I had invented was to load the VML file from powerpoint and save it as an image. Office 2k supports VML import and bitmap export and all that can be done from ASP vbscript.

Anyway thank you..
>>Office 2k supports VML import and bitmap export and all that can be done from ASP vbscript.


So you found away to convert VML to bitmap in ASP?
If this is what you mean can you show us how, I really am quite interested in how you did this.
Avatar of ssotir

ASKER

I did it by using a Server.CreateObject to create a powerpoint object. Writing the VML commands and saving as bitmap. The reason I asked is that in order to do that I must install Office2K on the server and I think that speed want be good enough...