mirror of
https://github.com/sdsykes/fastimage.git
synced 2025-12-30 00:05:02 -05:00
When an error occured when extracting dimensions, rewinding would be skipped and the code would jump straight to "rescue" statements. We want that the IO is always rewinded, even in case of errors. Note that this doesn't affect the return value of the method, because the return value of a method-level "ensure" is always ignored by Ruby.