[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
problem.
--
-- ddaa
- Re: [Texmacs-dev] Re: texmacs 1.0.1.10 and gs, one more thing, (continued)
- Re: [Texmacs-dev] Re: texmacs 1.0.1.10 and gs, one more thing, Martin Costabel, 2003/05/08
- Re: [Texmacs-dev] Re: texmacs 1.0.1.10 and gs, one more thing, Michèle Garoche, 2003/05/09
- Re: [Texmacs-dev] Re: texmacs 1.0.1.10 and gs, one more thing, Martin Costabel, 2003/05/09
- Re: [Texmacs-dev] Re: texmacs 1.0.1.10 and gs, one more thing, Michèle Garoche, 2003/05/10
- Re: [Texmacs-dev] Re: texmacs 1.0.1.10 and gs, one more thing, Martin Costabel, 2003/05/11
- Re: [Texmacs-dev] Re: texmacs 1.0.1.10 and gs, one more thing, Michèle Garoche, 2003/05/11
- [Texmacs-dev] gif license, David Allouche, 2003/05/11
- Re: [Texmacs-dev] gif license, Martin Costabel, 2003/05/11
- Re: [Texmacs-dev] gif license, Michèle Garoche, 2003/05/11
- Re: [Texmacs-dev] gif license, Joris van der Hoeven, 2003/05/13
- [Texmacs-dev] heuristic to determine image format,
David Allouche <=
- Re: [Texmacs-dev] heuristic to determine image format, Joris van der Hoeven, 2003/05/13
- Re: [Texmacs-dev] heuristic to determine image format, Joris van der Hoeven, 2003/05/13
- Re: [Texmacs-dev] Re: texmacs 1.0.1.10 and gs, one more thing, Martin Costabel, 2003/05/11
- Re: [Texmacs-dev] Re: texmacs 1.0.1.10 and gs, one more thing, Michèle Garoche, 2003/05/11
- Re: [Texmacs-dev] Re: texmacs 1.0.1.10 and gs, one more thing, Joris van der Hoeven, 2003/05/12
- Re: [Texmacs-dev] Re: texmacs 1.0.1.10 and gs, one more thing, Michèle Garoche, 2003/05/12
- Re: [Texmacs-dev] Re: texmacs 1.0.1.10 and gs, one more thing, Joris van der Hoeven, 2003/05/13
- Re: [Texmacs-dev] Re: texmacs 1.0.1.10 and gs, one more thing, Michèle Garoche, 2003/05/13
- Re: [Texmacs-dev] Re: texmacs 1.0.1.10 and gs, one more thing, Joris van der Hoeven, 2003/05/13
- Re: [Texmacs-dev] Re: texmacs 1.0.1.10 and gs, one more thing, Joris van der Hoeven, 2003/05/12