Mercurial > libervia-backend
diff misc/org.salutatoi.SAT.service @ 3252:54934ee3f69c
tools (image): added a guess_type method to guess media type:
media type is guessed first from filename, then if it's not enough, the file is opened to
try to guess type. If it still can be determined, None is returned.
author | Goffi <goffi@goffi.org> |
---|---|
date | Tue, 14 Apr 2020 20:29:37 +0200 |
parents | 779351da2c13 |
children | 7550ae9cfbac |