You can send an XML file of drawing instructions to the server and use
XSLT to do anything that you want.
a) You can convert it to SVG or EPS.
b) You can convert it to your own vector format
c) You can hold onto it as an XML and redraw it in your Flash program later
d) You can convert it to a raster image
e) You can do all of the above and more.
SVG is the most flexible format since it is both an XML file that can be
transformed using XSLT and a recognized vector drawing format that can
be edited using drawing programs. It is also relatively easy to
construct by tracking the user activity on the Flash side(move, draw,
draw, draw,move, draw...)
Check the Batik site and open an SVG file in a text editor to see what
is inside.
Ron
Gabriel wrote:
What I need is to import the drawing, that's why I choose eps (but the
only real need is that it must be vectorial), Not really to export the
image created by the user, but recreate it on the server side, based
on a few parameters.
I can live without the drawing part.
PDF would be a possibility, but can I export from swf 2 pdf??
about FOP, It could be useful but how I load the eps/whatever icon and
apply some changes (color, scale or so)?
thanks
GaB
Ron Wheeler wrote:
Have you looked at SVG as an alternative? You may be able generate
this on the client without the server.
What about PDF.
Have a look at Apache's FOP as a server tool for converting input to
various output formats.
Let me know what you think of these. There may be more ways to skin
this cat.
How are the drawings made? If you are capturing the user's
interactions, SVG might be pretty easy since it sort of mimics the
steps that the user does (start here, draw to here, draw to this
point, draw to next point, etc. finish here; move to here, draw to
here, etc.) so you may be able to create the SVG by just transforming
what you are already doing on the screen.
The Batik package or Adobe SVG lets you work with SVG drawings. What
do you want to do with the output- what is magical about EPS for you?
Ron
Gabriel wrote:
I generate the content of the swf on the client app, let's say a
free drawing, then I want to "print it" to the *server printer* (?).
The point is...I need an eps from a generated content with origin in
the client machine.
You was talking about "many free printer drivers", can you point me
to some of them?
thanks
GaB.
David Rorex wrote:
How are the swf's generated in the first place? Instead of doing
something->swf->eps
you can do:
something->swf
something->eps
-David R
On 3/30/06, Gabriel <[EMAIL PROTECTED]> wrote:
I save a swf to the server, and I need to retrieve an eps from
it...any
idea?
Ron Wheeler wrote:
What exactly do you want to do?
Ron
Gabriel wrote:
Hi everybody...
anybody knows a solution to convert/print from the server side a
swf
to eps?.
cheers,
GaB
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com