Thanks for your response Uwe,

I was originally using Image Magick 6.0.2 (I think). I upgraded it to
6.1.9 but I am still having the same problem!

I am using AFPL Ghostscript 8.50 and LyXWin 1.3.5 win32 nc.

- I can view .jpg and .ppm images inside LyX
- I can not view .eps or .pdf images inside LyX

- I can view the DVI, PDF(pdflatex)and Postscript outputs fine (but not
the PDF (dvipdfm) output)

I can run convert from the command line ("convert eps:c:\aulogo.eps
ppm:c:\test.ppm"), and was able to convert the .eps image that LyX was
having trouble with to a .ppm

Any more ideas on what might be wrong??

I ran LyX in graphics debug mode and I have included the output at the end
of this email.

Thanks in advance
Nick Burgan



> [EMAIL PROTECTED] wrote:
>
>> Despite quite a bit of fiddling around I can�t get .eps or .pdf files
to
>> display within LyX when I insert them into a document. When I insert such
>> a figure I get the message �Error conveting to loadable format� in the box
>> where the picture should be displayed. The output DVI is fine though.
>
> This is a ghostview/Imagemagick problem.
> Which version of ghostscript and Imagemagick are you using?
>
> If you can see other image formats than .eps, .ps, and .pdf inside LyX,
an update to the newest Imagemagick version should help.
>
> regards Uwe
>
>

Microsoft Windows 2000 [Version 5.00.2195]
(C) Copyright 1985-2000 Microsoft Corp.

C:\Documents and Settings\nburgan>cd c:\lyx\bin

C:\lyx\bin>lyx -dbg graphics
Setting debug level to graphics
Debugging `graphics' (Graphics conversion and loading)
Recognised Fileformat: ppm
[GrahicsCacheItem::convertToDisplayFormat]
        Attempting to convert image file: C:/lyx/share/lyx/images/banner.ppm
        with displayed filename: C:/lyx/share/lyx/images/banner.ppm
Recognised Fileformat: ppm

        The file contains ppm format data.

The image loader can load the following directly:
BMP
JPEG
MNG
PBM
PGM
PNG
PPM
XBM
XPM

Of these, LyX recognises the following formats:
bmp, jpg, pbm, pgm, png, ppm, xbm, xpm

        No conversion needed (from == to)!
Loading image.
just Loaded.
pixmap isNull 0 xformed_pixmap_ isNull 0
Image loading succeeded.
GraphicsImage::getScaledDImensions()
        params.scale       : 100
        width              : 425
        height             : 290
pixmap isNull 0 xformed_pixmap_ isNull 0
setPixmap()
Token: 'filename'
Token: '\end_inset'
Recognised Fileformat: eps
[GrahicsCacheItem::convertToDisplayFormat]
        Attempting to convert image file: C:/Documents/graphics/aulogo.eps
        with displayed filename: C:/Documents/graphics/aulogo.eps
Recognised Fileformat: eps

        The file contains eps format data.
Unable to convert from eps to bmp
Unable to convert from eps to jpg
Unable to convert from eps to pbm
Unable to convert from eps to pgm
Unable to convert from eps to png
Unable to convert from eps to ppm
Unable to convert from eps to xbm
Unable to convert from eps to xpm
        Converting it to ppm format.
Converter c-tor:
        from_file:      C:/Documents/graphics/aulogo.eps
        to_file_base: C:/lyx/tmp/lyx_tmpdir1040a00684/aulogo1040a00684
        from_format:  eps
        to_format:    ppm
build_script ... ready (edgepath.empty())
        No converter defined! I use convertDefault.sh
        sh C:/lyx/share/lyx/scripts/convertDefault.sh
eps:C:/Documents/graphics/
aulogo.eps ppm:C:/lyx/tmp/lyx_tmpdir1040a00684/aulogo1040a00684.ppm
C:/lyx/share/lyx/scripts/convertDefault.sh ERROR
Unable to find file "C:/lyx/tmp/lyx_tmpdir1040a00684/aulogo1040a00684.ppm"
Image conversion failed.
Unable to find converted file!


Reply via email to