View Single Post
Old 12-21-2015, 03:44 PM   #141
rubeus
Banned
rubeus ought to be getting tired of karma fortunes by now.rubeus ought to be getting tired of karma fortunes by now.rubeus ought to be getting tired of karma fortunes by now.rubeus ought to be getting tired of karma fortunes by now.rubeus ought to be getting tired of karma fortunes by now.rubeus ought to be getting tired of karma fortunes by now.rubeus ought to be getting tired of karma fortunes by now.rubeus ought to be getting tired of karma fortunes by now.rubeus ought to be getting tired of karma fortunes by now.rubeus ought to be getting tired of karma fortunes by now.rubeus ought to be getting tired of karma fortunes by now.
 
Posts: 272
Karma: 1224588
Join Date: Sep 2014
Device: Sony PRS 650
How do i determine the mimetype of an image file? The magic lib is not installed in the built in python. I had a look at PIL but only found im.format which seems to be more reliable than the extension, but still needs conversion to a mimetype. How is Sigil doing that adding an image file?

//rubeus
rubeus is offline   Reply With Quote