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
|