image base64 encoded
# with open(str(MEDIA_ROOT)+'/pdf/background.png', 'rb') as image_file: # encoded_background = base64.b64encode(image_file.read()).decode('utf-8')
# with open(str(MEDIA_ROOT)+'/pdf/background.png', 'rb') as image_file:
# encoded_background = base64.b64encode(image_file.read()).decode('utf-8')
date:Oct. 29, 2023