Hi Douglas, I’m not sure why that would be the case as it has worked for me. Perhaps a clue it that my code only handles the 4 common cases. Could your picture be one of the other four cases? Not sure. I can give you the site I found that helped me understand this (to the small degree that I understand it!):
<https://www.impulseadventure.com/photo/exif-orientation.html> Good luck. -- Cannon.Smith Synergy Farm Solutions Inc. Hill Spring, AB Canada 403-626-3236 <can...@synergyfarmsolutions.com> <www.synergyfarmsolutions.com> > On May 1, 2018, at 1:25 AM, Douglas Cryer via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > I tried your code on the supplied image and had to swap the values for 6 & 8 > as, after rotation, the image was upside down. ********************************************************************** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options: https://lists.4d.com/mailman/options/4d_tech Unsub: mailto:4d_tech-unsubscr...@lists.4d.com **********************************************************************