mirror of
https://github.com/sdsykes/fastimage.git
synced 2025-10-08 00:02:41 -04:00
Simplify
This commit is contained in:
parent
c9c0223726
commit
e0ba178869
@ -469,11 +469,9 @@ class FastImage
|
|||||||
parse_exif
|
parse_exif
|
||||||
|
|
||||||
if @exif_orientation && @exif_orientation >= 5
|
if @exif_orientation && @exif_orientation >= 5
|
||||||
return [@exif_height, @exif_width]
|
[@exif_height, @exif_width]
|
||||||
else
|
else
|
||||||
return [@exif_width, @exif_height]
|
[@exif_width, @exif_height]
|
||||||
end
|
end
|
||||||
|
|
||||||
raise CannotParseImage
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user