[luatex] Prevent stop when tiff file loads

Paulo Roberto Massa Cereda cereda.paulo at gmail.com
Fri Jan 22 14:18:37 CET 2016

Ouch, you are right, Arthur. Sorry for the noise. I never got curious to 
look at the source code, and it just employs guesswork based on the file 
extension. My bad.

All the best!


Em 22-01-2016 11:00, Arthur Reutenauer escreveu:
>> https://bitbucket.org/leafstorm/lua-mimetypes
>    I'm sorry Paulo, but this is only mapping file extensions to MIME
> types, it doesn't try to guess the file type from its actual contents;
> and here as I understand Patrick's files don't have an extension at all,
> so emulating file(1), in at least a rudimentary fashion, is the only
> option.
> 	Best,
> 		Arthur

More information about the luatex mailing list