Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I create EPS files in C#?

How can I create EPS files in C#? Are there any opensource libraries available or do I have to resort to the spec and do it by hand?

like image 761
yoyoyoyosef Avatar asked Oct 15 '22 18:10

yoyoyoyosef


2 Answers

You can use the same principle as I suggested in the HTML to Postscript question here: html-to-postscript-conversion

It is clumsy to set up, but once it is done it works quite well. If you don't have a printer driver that creates EPS files you can download some of the freeware pdf creator printer drivers. I believe some of these allow you to create EPS files as well.

like image 111
Rune Grimstad Avatar answered Oct 20 '22 16:10

Rune Grimstad


The cairo library http://www.cairographics.org generate all kinds of graphical formats, svf, pdf or ps for instance, and it has bindings for c# I think.

like image 42
stephanea Avatar answered Oct 20 '22 15:10

stephanea