It would be nearly impossible to convert an xpm to a shape file.  An xpm
is a bitmap representation of a picture, while an dia shape file uses a
vector representation (eg. draw a box here, then a polyline there, etc).

The part of the shape file that describes how to draw it uses a subset of
the SVG standard.  So if you have an app that can export SVG, you can use
that output as a starting point.

Dia already contains an SVG export filter, and some people have asked
about implementing an extended dia shape file export filter, so I may look
at this.

James.

--
Email: [EMAIL PROTECTED]
WWW:   http://www.daa.com.au/~james/


On Mon, 14 Feb 2000, Chris O'Callaghan wrote:

> Hey people,
> 
> I just discovered Dia, and I love it. I would love to contribute new
> shapes, but I definitely know as little as possible about xml. I am a
> programmer,though, and I am sure I could pick up enough to make my
> contributions, if someone would point me to the specific aspects of XML I
> should concentrate on. 
> 
> Also, is it possible to have the .shape file dynamically generated from an
> xpm, or at least extract the parameters from an xpm (or other image
> file) and plug them into the xml .shape file.
> 
> Someone please point me in the right direction...
> 
> Thank you,
> 
> Chris O'Callaghan             [EMAIL PROTECTED]
> President                     Shelob Design and Engineering
> (413) 323-0042
> 

Reply via email to