Bug Report: EXIF MetaData being parsed wrongly (X and Y mixed up) during Canvas imports

Bug Report: EXIF MetaData being parsed wrongly (X and Y mixed up) during Canvas imports

OceanHydroAU
Collaborator Collaborator
484 Views
3 Replies
Message 1 of 4

Bug Report: EXIF MetaData being parsed wrongly (X and Y mixed up) during Canvas imports

OceanHydroAU
Collaborator
Collaborator

I've got a file that my phone camera adds this into the EXIF data for:-

 

Orientation : Rotate 90 CW

 

Which kills the aspect ratio of imported canvases.  Whoever coded the EXIF parser bit of your file loader to support Rotation, forgot to swap the X and Y numbers as well, so it's causing things to get squished.

 

Screen Shot 2020-11-16 at 6.54.30 pm.png

 

I put the full files above here for you: http://chrisdrake.com/bug/

The file that breaks the canvas is named 20201116_171618(1).jpg

 

Sample - BROKEN: (Has "Orientation : Rotate 90 CW" in the EXIF Metadata)

Screen Shot 2020-11-16 at 7.08.00 pm.png

 

Sample: WORKING (No Rotate EXIF Metadata):

Screen Shot 2020-11-16 at 7.08.12 pm.png

Screencast:

 

https://autode.sk/38NlMSQ

 

 

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
0 Likes
Accepted solutions (1)
485 Views
3 Replies
Replies (3)
Message 2 of 4

OceanHydroAU
Collaborator
Collaborator

Today I noticed another possible bug in your EXIF image parse code.

I imported a file directly from my Sony A7R SLR, and I noticed when I did the calibration that it was actually already *almost* correct - except it was wrong by a factor of 10.  It looks like you're already doing the math to work out the correct size of our imports - but have a mistake in the units there someplace.

0 Likes
Message 3 of 4

OceanHydroAU
Collaborator
Collaborator
0 Likes
Message 4 of 4

Phil.E
Autodesk
Autodesk
Accepted solution

Thanks. FUS-153614 is logged for this.





Phil Eichmiller
Software Engineer
Quality Assurance
Autodesk, Inc.


0 Likes