Write base64 encoded image Data from DB to local file

Write base64 encoded image Data from DB to local file

fh = open("imageToSave.png", "wb")
fh.write(imgData.decode('base64'))
fh.close()

Created Wed, Aug 3, 2016 9:02 PM by Ahmet Faruk Bi┼čkinler
Last Updated Wed, Aug 3, 2016 9:04 PM by Ahmet Faruk Bi┼čkinler