mirror of
https://github.com/hkalexling/Mango.git
synced 2026-04-25 00:00:52 -04:00
Revert "Support all image types (resolves #192)"
This reverts commit f67e4e6cb9.
This commit is contained in:
@@ -120,7 +120,3 @@ class String
|
||||
match / s.size
|
||||
end
|
||||
end
|
||||
|
||||
def filename_is_image(fn : String) : Bool
|
||||
MIME.from_filename?(fn).try(&.starts_with?("image/")) || false
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user