Dxf conversion

G

Gandalf

Hi all,

I would like to convert dxf and eps files into rasterised format (GIF,
for example). I think PIL cannot handle vector graphics. Is there a
library for Python that can read and convert dxf and/or eps files? (In
fact, I can live with an os.exec() solution and an external utility
program if there is no native library.) The reason I need this is
because my customers will want to upload dxf and eps files to a web
server. However, others must see the preview of these files in their
browsers. Thus, I must convert dxf into GIF or JPEG. Unfortunately, the
server is a Unix server (FreeBSD). Do someone know a solution?

Best,

Laci 2.0
 
H

Harry George

Gandalf said:
Hi all,

I would like to convert dxf and eps files into rasterised format (GIF,
for example). I think PIL cannot handle vector graphics. Is there a
library for Python that can read and convert dxf and/or eps files? (In
fact, I can live with an os.exec() solution and an external utility
program if there is no native library.) The reason I need this is
because my customers will want to upload dxf and eps files to a web
server. However, others must see the preview of these files in their
browsers. Thus, I must convert dxf into GIF or JPEG. Unfortunately,
the server is a Unix server (FreeBSD). Do someone know a solution?

Best,

Laci 2.0

"Unfortunately, the server is a Unix server" Au contraire :)

Look at ImageMagick's "convert".
 
G

Gandalf

"Unfortunately, the server is a Unix server" Au contraire :)
I mean, this is unfortunate only because I could only find batch
converter programs for M$ Windows. ;-)
Thank you.

L 2.0
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top