[Top][All Lists]

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

[Texmacs-dev] heuristic to determine image format

From: David Allouche
Subject: [Texmacs-dev] heuristic to determine image format
Date: Tue, 13 May 2003 16:19:13 +0200
User-agent: Mutt/1.5.3i

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

                                                            -- ddaa

reply via email to

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