<p dir="ltr">Acfording to the guy who once printed some posters for me you can always convert the jpeg to some non-lossy format (tif), do your changes and then save back to jpeg. Is that incorrect?</p>
<div class="gmail_quote">Den 4 aug 2014 23:54 skrev "Stefan Solbrig" <<a href="mailto:stefan.solbrig@ur.de">stefan.solbrig@ur.de</a>>:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
OK, I can see that 'JFIF' in the tombe.jpg file.  But it turns out it's not in my file at all, only the 'Exif' header is there.  Our sysadmin guys haven't installed the suggested exiftool tool yet; presumably exiftool will be capable of *adding* the JFIF header (which I gather should come before the Exif header, although apparently both headers want to be first).<br>

</blockquote>
<br>
You don't have to wait for sysadmins  ;-)  . Just get the tarball (the home of exiftool seems to be <a href="http://www.sno.phy.queensu.ca/~phil/exiftool/" target="_blank">http://www.sno.phy.queensu.ca/<u></u>~phil/exiftool/</a>)   and you can run the script from the tar directory. (Or by setting PATH and PERL5LIB environment variables.)<br>

<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Turns out GIMP will also save it with both the JFIF and Exif headers, and that works with XeTeX, and has a batch method.  So I guess I could use that.<br>
</blockquote>
<br>
As it as already been pointed out, be careful that the jpegs are not re-encoded. If not done very carefully, it will degrade the image quality. (Re-encoding a lossy format will loose even more information.)<br>
<br>
best,<br>
Stefan<br>
<br>
<br>
<br>
<br>
------------------------------<u></u>--------------------<br>
Subscriptions, Archive, and List information, etc.:<br>
 <a href="http://tug.org/mailman/listinfo/xetex" target="_blank">http://tug.org/mailman/<u></u>listinfo/xetex</a><br>
</blockquote></div>