this is an interesting file indeed.
it looks like Apple has placed the image orientation data in a (new??) proprietary spot – some of the graphics routines seem to read the info – others miss out.
it’s a delicate situation. my guess is that apple will incorporate these into new versions of macOS soon. if i compensate for them manually and macOS fixes the issue later, the manual compensations will be broken.
i think i’ll try to add the compensation – but provide a checkbox to disable it? i’m not sure. i’ll try to add this to Stacks v4.1 if I can.
i’ve placed the details here: https://gitlab.com/yourhead/stacks/-/issues/551
you can follow along with that bug tracker to see when that bug fix will be incorporated into a new build.