tballison commented on PR #2946:
URL: https://github.com/apache/tika/pull/2946#issuecomment-4945605435

   Doing some more work on this. Then I'll have my agent fix the above. Thank 
you!
   
   Any recommendations/preferences on dealing with fractions vs decimals in 
image metadata?
   
   │               Tika key                │ from XMP (verbatim   │    from 
binary EXIF (metadata-extractor     │
     │                                       │      fraction)       │           
Rational.doubleValue())           │
     
├───────────────────────────────────────┼──────────────────────┼─────────────────────────────────────────────┤
     │ exif:ExposureTime                     │ 10/600               │ 0.0166… 
(e.g. 1.0E-6 for 1/1000000)         │
     │ (TIFF.EXPOSURE_TIME)                  │                      │           
                                  │
     
├───────────────────────────────────────┼──────────────────────┼─────────────────────────────────────────────┤
     │ exif:FNumber (TIFF.F_NUMBER)          │ 32/10                │ 3.2       
                                  │
     
├───────────────────────────────────────┼──────────────────────┼─────────────────────────────────────────────┤
     │ exif:FocalLength (TIFF.FOCAL_LENGTH)  │ 249/10               │ 4.6       
                                  │
     
├───────────────────────────────────────┼──────────────────────┼─────────────────────────────────────────────┤
     │ tiff:XResolution                      │ 720000/10000         │ 300.0     
                                  │
     │ (TIFF.RESOLUTION_HORIZONTAL)          │                      │           
                                  │
     
└───────────────────────────────────────┴──────────────────────┴─────────────────────────────────────────────┘
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to