Render .eps in swing  
Author Message
Konstantinos Dermitzakis





PostPosted: 2006-7-9 21:54:00 Top

java-programmer, Render .eps in swing Does anyone have any information on how i would go about rendering .eps
files in swing, whilst preserving the "vector/scalable" property of them?


best regards


Costas


 
Christian Stapfer





PostPosted: 2006-7-9 23:28:00 Top

java-programmer >> Render .eps in swing Konstantinos Dermitzakis wrote:

> Does anyone have any information on how i would
> go about rendering .eps files in swing, whilst
> preserving the "vector/scalable" property of them?

You need a tool that hands you a raster image
corresponding to that eps image at the resolution
of your choosing (well, that was obvious ;-) ).

If you need it for a non-commercial program,
you might use Ghostscript running in the background
as that tool. Or, if you can convert your eps image
to PDF in advance (which I suppose you always can),
another possibility might be to use components
of Multivalent (http://multivalent.sourceforge.net/)

Regards,
Christian


 
Thomas Fritsch





PostPosted: 2006-7-10 3:00:00 Top

java-programmer >> Render .eps in swing "Konstantinos Dermitzakis" <email***@***.com> wrote:
> Does anyone have any information on how i would go about rendering .eps
> files in swing, whilst preserving the "vector/scalable" property of them?

May be this meets your needs:
http://java.freehep.org/freehep1.x/psviewer/index.html
It is part of a larger project: http://java.freehep.org/
--
Thomas