Georg Baum a écrit :
Am Sonntag, 12. März 2006 19:37 schrieb Abdelrazak Younes:
With qt4 frontend, I have:

The image loader can load the following directly:
bmp, jpeg, jpg, mng, pbm, pgm, png, ppm, xbm, xpm,
Of these, LyX recognises the following formats:
bmp, jpg, jpg, pbm, pgm, png, ppm, xbm, xpm

So, correct me if I am wrong but, except for mng, there is no need for external conversion script, isn't it?

But you surely want to be able to preview more than just these formats? I certainly want, popular candidates are for example eps, tgif or xfig.

Thanks, now I understand.
I just had a quick look at the code in GraphicsConverter.C". IMHO, it should be possible to provide the same functionality in C++ with boost::filesystems and something else to launch external process. I was going to propose QProcess but I guess this is unacceptable with GUII philosophy... but I guess GTK would have something similar or we could continue using current sh-based solution for non-Qt frontend. And with some use of a virtual base class, GUII could still be there. Or is there something in boost for process creation?

I am just thinking loud here...
Abdel.



Georg



Reply via email to