<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
Jose,
<blockquote type="cite"
cite="mid:BL1PR12MB5190329AFA73B4349D0C5ECA811E9@BL1PR12MB5190.namprd12.prod.outlook.com">
<div>
<div>Those tiles contain normal JPEG markers (SOI, SOF0, DQT)
but no JFIF marker (APP<i>n</i>) is added. How can I ensure
adding this JFIF marker?</div>
</div>
</blockquote>
<p>you can't, unless you're ready to patch the JPEG codec in libtiff
to do that</p>
<p>I should point to
<a class="moz-txt-link-freetext" href="https://www.awaresystems.be/imaging/tiff/specification/TIFFTechNote2.txt">https://www.awaresystems.be/imaging/tiff/specification/TIFFTechNote2.txt</a>
which mentions:</p>
<p>"Writers should avoid including "noise" JPEG markers (COM and
APPn markers).<br>
Standard TIFF fields provide a better way to transport any
non-image data.<br>
Some JPEG codecs may change behavior if they see an APPn marker
they<br>
think they understand; since the TIFF spec requires these markers
to be<br>
ignored, this behavior is undesirable."</p>
Even
<pre class="moz-quote-pre" wrap="">
</pre>
<pre class="moz-signature" cols="72">--
<a class="moz-txt-link-freetext" href="http://www.spatialys.com">http://www.spatialys.com</a>
My software is free, but my time generally not.</pre>
</body>
</html>