You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is expected behavior since Tempfile is not an IO but a DelegateClass(File). A workaround would be calling Tempfile#read before passing it to Exif::Data.new.
In fact, I am thinking about to add a feature to support objects with some interfaces like #read being implemented and thus some built-in class like StringIO and Tempfile can work.
If I have an upload coming from Rack:
If I try to parse it with
Exif::Data.new
, I get the following error:The text was updated successfully, but these errors were encountered: