diff --git a/lib/fastimage.rb b/lib/fastimage.rb index 888ba08..48d7043 100644 --- a/lib/fastimage.rb +++ b/lib/fastimage.rb @@ -469,11 +469,9 @@ class FastImage parse_exif if @exif_orientation && @exif_orientation >= 5 - return [@exif_height, @exif_width] + [@exif_height, @exif_width] else - return [@exif_width, @exif_height] + [@exif_width, @exif_height] end - - raise CannotParseImage end end