R. Lahaye wrote: > I added the last one manually, but to no avail. > > However, it does not appear to be the conversion. > I can manually generate the corresponding xpm file, > double check its quality by viewing it with ImageMagick's > display. > When I then load that xpm file into LyX Graphics, there's no > conversion needed. Nevertheless, the quality still is terrible.
ok, one step further ... attached the gzipped xpm which I converted by hand with gracebat and convert. importing into lyx as xpm.gz no problem. if it's a problem again for you then it must be the libXPM. Look for the following differences and try again Herbert my gracebat: ------------------------------------------- Grace-5.1.5 GUI toolkit: @(#)Motif Version 2.1.30 Xbae version: 4007 T1lib: 1.1.0-grace FFT: built-in NetCDF support: on libpng: 1.0.12 libjpeg: 62 Built: Mon Mar 25 22:15:22 2002 on Linux #1 SMP Mon Mar 25 15:38:44 UTC 2002 2.4.18-64GB-SMP i686 Compiler flags: gcc -O2 -march=i486 -mcpu=i686 -I.. -I. -I../T1lib/t1lib -I../Xbae -I/usr/X11R6/include -I/usr/X11R6/include -L/usr/X11R6/lib ../Xbae/Xbae/libXbae.a -lXm -lXpm -lXp -lXmu -lXt -lXext -lX11 -lSM -lICE ../cephes/libcephes.a -lnetcdf ../T1lib/libt1.a -ltiff -ljpeg -lpng -lz -lm -ldl Registered devices: Dummy PostScript EPS MIF SVG PNM JPEG PNG Metafile (C) Copyright 1991-1995 Paul J Turner (C) Copyright 1996-2001 Grace Development Team All Rights Reserved my convert: -------------------------------------------- Version: @(#)ImageMagick 5.4.2 01/01/02 Q:16 http://www.imagemagick.org Copyright: Copyright (C) 2002 ImageMagick Studio LLC my lyx: ------------------------------------------------ Configuration Host type: i686-pc-linux-gnu Special build flags: warnings assertions xforms-image-loader C Compiler: gcc C Compiler flags: -g -O2 C++ Compiler: g++ (3.1) C++ Compiler flags: -g -O -finline-limit=500 -fno-exceptions -W -Wall -Winline -Winline Linker flags: Frontend: xforms libXpm version: 4.11 libforms version: 0.89.6 LyX binary dir: /usr/local/bin LyX files dir: /usr/local/share/lyx -- http://www.lyx.org/help/
bad_graphics.xpm.gz
Description: Binary data