Menu

#122 Shutterspeeds are rounded to nearby rational number

None
open-accepted
nobody
None
5
2018-06-30
2015-05-27
No

When the exposure time of an image is either 0.8s, 0.6s, 0.4s or 0.3s the exposure time is rounded to the nearest rational number (may apply for other exposure times as well?). That means that 0.3s becomes 1/3s, 0.4s becomes 1/3s, 0.6s becomes 1/2s and 0.8s becomes 1/1s.

1 Attachments

Discussion

  • Dan Fandrich

    Dan Fandrich - 2018-06-30

    That example images contains no EXIF tags, so I can't see what you mean. The only code I see that touches an existing EXIF_TAG_EXPOSURE_TIME tag is exif_entry_fix() and that will only convert a signed rational into a directly equivalent unsigned rational; it won't scale the values at all. You might be talking about exif_entry_get_value(), which will round up values >=1 to the nearest second and those <1 second to the nearest 1/N. I agree, this is suboptimal, especially for values 0.1<N<10.

     
  • Dan Fandrich

    Dan Fandrich - 2018-06-30
    • status: open --> open-accepted
    • Group: -->
     

Log in to post a comment.