tag = TinyTag.get(media_finish23, image=True)
mp2 = tag.get_image()
my_string=base64.b64encode(mp2);
image_3=QImage();
image_3.loadFromData(QByteArray.fromBase64(my_string), "JPG")
from base64 import b64decode
import imghdr
encoded_string = 'image base64 encoded'
decoded_string = b64decode(encoded_string)
extension = imghdr.what(None, h=decoded_string)