Dxf conversion

Harry George harry.g.george at boeing.com
Fri Oct 15 23:23:29 CEST 2004


Gandalf <gandalf at geochemsource.com> writes:

>   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".



-- 
harry.g.george at boeing.com
6-6M21 BCA CompArch Design Engineering
Phone: (425) 294-4718



More information about the Python-list mailing list