mirror of
https://github.com/sdsykes/fastimage.git
synced 2025-08-10 00:01:04 -04:00
Simplify
This commit is contained in:
parent
c9c0223726
commit
e0ba178869
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user