<div dir="ltr"><div dir="ltr"><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, 30 Oct 2024 at 01:04, Max Chernoff via tex-live <<a href="mailto:tex-live@tug.org">tex-live@tug.org</a>> wrote:</div><div dir="ltr" class="gmail_attr"><br></div><div dir="ltr" class="gmail_attr">>
LuaTeX already exposes the Exif orientation data,
</div><div><br></div><div>hmm so a viable option (rather than make pdftex call extractbb all the time) would be to just implement this in latex's graphics driver </div><div>for luatex and a package option to turn this off or on (we can discuss whether to default off or on). the option could warn that it's being ignored <br></div><div>for anything other than luatex.</div><div><br></div><div>If at some future date extractbb exposes the rotation via some method (a line with a new comment form presumably?) in the .xbb file either by using the Lua version or changing the current c code, other latex back ends could support that too.</div><div><br></div><div><br></div><div>If extractbb was changed it would probably be slightly more convenient if it continued to expose the unrotated bounding box and just information about the intended rotation, rather than updating the bounding box. (this would make more difference for 90 degree than 180 degree rotations of course)</div><div><br></div><div><br></div><div>David</div><div><br></div><div><br></div><div><br></div></div></div>