← Back to team overview

kicad-developers team mailing list archive

Re: [PCBNEW] Import png, jpeg or svg or dxf ?

 

On Wed, 17 Jun 2009, cfdev wrote:

Anybody have made (or work) an fonction to import an image(bmp,jpeg,png) or an vectoriel SVG or directly an
dxf for pcb board and drawings ?

Just thinking yet. I've been searching simple SVG-parser for decomposing SVG files to primitives. Then those primitives would be mapped to eeschema or pcbnew internal vector format. That's not too complicated at all, but my limited coding skills would require several days anyway. Espcially if svg parser had to be developed from scratch. I think SVG would be best format to support with just basic primitives and operations (scaling, translation, and rotate). Bezier etc. would be left out in the beginning, ellipse support would be nice though. SVG import would also allow convenient complex symbol generation with advanced graphics editors.

It may not allow calling our implementation SVG compliant, but would be of value anyway. http://www.w3.org/Graphics/SVG

-Vesa






Follow ups

References