tedbarnett/read-exif-in-unity

Bug in ExifOrientation enum

Opened this issue · 0 comments

The ExifLib has a fatal bug in the ExifOrientation enum, incorrectly assigning 'TopRight' the value 6. (Should be 2)
Furthermore, there is a grave performance issue in the code that scans jpeg data - an instruction to perform garbage collection for every read. This makes extracting Exif data from a 20mpix jpeg take about 10 seconds on a high-end machine