Lars Gullik Bjønnes wrote:

> I am not sure... Is it correct to handle an unknown format as åppm?

Note that "ppm" is only used in GraphicsCacheItem.C in the latest patch.
This means that we'll convert all unknown formats to "ppm" for the onscreen
preview. Note also that ppm is already the default for formats that are
known but have no explicit conversion path to any of the possible preview
formats.

> shouldn't we rather fail-out and just say that we have no idea what to
> do with it?

If we fail out we force users to add every format that we don't yet support

a) to the preferences file and
b) to getFormatFromContents().

The ability to use image formats that LyX does not know is really useful
IMHO (of course this is only possible if our default converter can handle
them, but imagemagick knows a lot of formats)


Georg

Reply via email to