On Monday 15 July 2002 4:35 pm, John Levon wrote: > On Mon, Jul 15, 2002 at 09:46:46AM +0100, Angus Leeming wrote: > > > Another thing: how hard would it be to try and load an image via the > > > toolkit converter /before/ doing any conversion stuff, to see if it > > > succeeds ? Only if it fails would it then need to try converting an > > > image > > > > Why would you want to do that? The loader tells us what formats it can > > load directly. Why not trust it? > > Because it is less trustworthy than actually doing it. I never like > extension-as-filetype except as fallback, and I can be sure our > content-type guessing is not as good as Qt's. It would also solve the > problem with not being able to load gifs because lyx won't recognise > Qt's ability (for whatever bug that is ...) > > I think it is more elegant to delegate to our superiors in this regard > first. > > regards > john
If you feel like re-working the code, go ahead. I have no strong opinions either way. Angus