[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: import graphics



Ulric Eriksson wrote:
> 
> On Mon, 3 May 1999, I.D. Chan wrote:
> 
> > i was unable to import graphics ( xpm, xbm, jpg ,... ) in both the siag
> > and pw.
> >
> > i don't know why.
> >
> > Could anyone help ?
> 
> Every format needs a converter which converts it to XPM format and spits
> it out on stdout. For images which are already in XPM format the converter
> is cat, so it works on any system.
> 
> JPG is handled by the djpeg program.
> 
> XBM and many other formats are handled by the Netpbm converter collection.
> I have a feeling that the Netpbm converter for XBM is broken.
> 
> Ulric

IIRC, xbm and xpm both can vary a lot in how they are formatted, and the
related netpbm tools make some biggish assumptions about how xbm and xpm
are formatted.