Board index » delphi » Reading eps files

Reading eps files

Has anyone a way of reading eps files in D5. What i would like to do is be able
to convert .eps files to .jpg

Thanks

--
------------------------------------

Gordon Waters
Systems Support
The Canberra Times

 

Re:Reading eps files


Gordon -

Since EPS files are really a sort of vector-based script (PostScript),
There's no 1:1 correlation between EPS data and raster data without going
through an interpreter. Your options are:
1. Write a PostScript interpreter. Hope you've got a year or 4...

2. Use somebody else's interpreter. GhostScript is very good, supports PS
Level 3 completely,  and is available in a DLL form that can be used in your
applications. See http://www.ghostscript.org. You'll need to bone up on
PostScript a bit to really get a good idea of what's going on, but it's not
THAT mind bending. BNF notation is annoying, though.. =)

Somebody else in the group has a commercial PostScript decoder  - Joe Hecht,
I think? - that also looks very good.

- Dave

Quote
"Gordon Waters" <gordon.wat...@canberratimes.com.au> wrote in message

news:3A63E6AC.DD1C228A@canberratimes.com.au...
Quote
> Has anyone a way of reading eps files in D5. What i would like to do is be
able
> to convert .eps files to .jpg

> Thanks

> --
> ------------------------------------

> Gordon Waters
> Systems Support
> The Canberra Times

Re:Reading eps files


Gordon Waters schrieb:

Quote
> Has anyone a way of reading eps files in D5. What i would like to do is be able
> to convert .eps files to .jpg

> Thanks

> --
> ------------------------------------

> Gordon Waters
> Systems Support
> The Canberra Times

You can use Ghostscript in a timer que
see http://www.ghostscript.com/ for Win32 binaries.

Start a conversation que via wincmd into a jpg file.
If the thread is ready reload your image.

A. Weidauer

Re:Reading eps files


GhostScript is also available as a DLL.

- D

Quote
"Alexander Weidauer" <alex.weida...@ifgdv-mv.de> wrote in message

news:3A6C4123.3A4FD8A1@ifgdv-mv.de...
Quote

> Gordon Waters schrieb:

> > Has anyone a way of reading eps files in D5. What i would like to do is
be able
> > to convert .eps files to .jpg

> > Thanks

> > --
> > ------------------------------------

> > Gordon Waters
> > Systems Support
> > The Canberra Times

> You can use Ghostscript in a timer que
> see http://www.ghostscript.com/ for Win32 binaries.

> Start a conversation que via wincmd into a jpg file.
> If the thread is ready reload your image.

> A. Weidauer

Other Threads