On Thursday 11 July 2002 6:22 pm, Garst R. Reese wrote:
> Herbert Voss wrote:
> > ok, one step further ...
>
> Herbert, I get the same problems with ps files and have to switch from
> monochrome to greyscale to see a decent picture even though the graphics
> are B/W. This is a side affect of your switch from using gs to convert.
> If you still have the file I sent you, just try viewing it in B/W.
> Garst

Well then, don't use convert, use gs.

Use this as a converter from /any/ PostScript type file to ppm format:

gs -q -dNOPAUSE -dBATCH -dSAFER -sDEVICE=pnm -sOutputFile=$$o $$i

In addition, you should comment out the lines 422-426 in xformsImage.C 
#ifdef HAVE_FLIMAGE_ENABLE_PS
        // xforms recognises PS but not EPS
        flimage_enable_ps();
#endif

If you're using xforms 0.88, you'll need to define also a converter from ppm 
to xpm. I'd recommend ppmtoxpm.

I think that this is probably the way to go anyway, as it'll let gs deal with 
"nasty" PostScript files and not us.

Try it out and let us know.

Angus

Reply via email to