<p dir="ltr"><br>
Il 22/gen/2016 10:16, "Patrick Gundlach" <<a href="mailto:patrick@gundla.ch">patrick@gundla.ch</a>> ha scritto:<br>
><br>
> Hello<br>
><br>
> > In practice, identifying all image files formats (tiff, png, pdf...) *should* work with the first 4 bytes of the file (they were designed this way).<br>
><br>
> I think I'll go that way, but I still wish (feature request) that LuaTeX does not fail with a fatal error if an unknown file format is encountered, instead it would be nice to have something like "return nil, errormessage".<br>
><br>
> Thanks<br>
><br>
>    Patrick<br>
><br>
><br>
><br>
Yes, clear.  I will see how pdftex manages these things, could be also a backward compatibility issue.<br></p>
<p dir="ltr">--</p>