texmacs-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Texmacs-dev] heuristic to determine image format


From: Joris van der Hoeven
Subject: Re: [Texmacs-dev] heuristic to determine image format
Date: Tue, 13 May 2003 17:48:13 +0200 (CEST)

On Tue, 13 May 2003, David Allouche wrote:
> On Tue, May 13, 2003 at 12:59:19PM +0200, Joris van der Hoeven wrote:
> > > Apart from that, texmacs' problem with these is that it doesn't treat
> > > files with the wrong extension correctly.
> >
> > Are we really to blame for that? If the extension is not recognized,
> > then we use a heuristic in order to determine the file type
> > (the heuristic has not been implemented for images so far;
> > see src/Data/Convert/Generic/which_format.cc).
> > We might generalize that, but I am not sure whether this
> > would be a good idea, since the heuristics might not be reliable.
>
> Generally, a much more reliable heuristic would be using the "file"
> command. This is whole software project dedicated to this single
> problem.

Is that command generally available?





reply via email to

[Prev in Thread] Current Thread [Next in Thread]