Jan Warnking wrote: > On Thu, 11 Jul 2002, John Levon wrote: > >>>By default a converter PNG->EPS is defined. Since I defined an EPS->PS >>>converter, Lyx then converted PNG->EPS->PS and failed to load the image >>>(see previous message). So I removed the PNG->EPS converter, so that the >>>PNG->XPM get used. However, the images still didn't get loaded. "lyx -dbg >>>graphics" shows that lyx converts PNG->XPM->EPS->PS! Lyx _can_ load xpm >>>directly and does so, if I delete the EPS->PS converter. >>>This is minor once one knows what happens. There are always ways to work >>>around this, defining only the right converters. But it still seems odd. >>> >>You must have made a mistake somewhere, I think. I just tested 1.2.1cvs >>and it converted my png to xpm directly, and loaded it via the xforms >>image loader >> > > Do you have a xpm->eps converter defined? I don't remember why I defined > that, but that is not the point. My point was that I would expect the > shortest route to be chosen. > Here is the output of lyx -dbg graphics for the case I mentioned:
> Attempting to convert image file: ~/lyxdocs/these/images/chap1_neurone.png > with recognised extension: png. > Scanstring: PNG > Recognised Fileformat: png [...] > Converting it to ps format. [..] > Image conversion succeeded. > Loading image. > xforms image loader. Status : Converting PS ... > xforms image loader. Status : Loading PostScript > xforms image loader. Error : LoadPS: no page written! > Image loading failed. > xforms image loader. Status : Error Reading the ps-support of xforms flimage seems to be buggy, that's the problem. disable it http://www.lyx.org/cgi-bin/viewcvs.cgi/lyx-devel/src/frontends/xforms/xformsImage.C?r1=1.4&r2=1.5 Herbert -- http://www.lyx.org/help/