I only can work with uploading one image:
https://github.com/EricaSkerrett/bme590final/blob/021d9cabf80b1876940676645d831d88177de15a/gui.py#L129
I need to validate filetype that user select and put unzip function + encoder functions here if users want to select a zip file.
Outputs will be 1: a list of images name in zip file that I can pass on to my scroll down menu window for user to select the image they want to see. 2: post all images in base64 using encoder function to database
@EricaSkerrett Currently,
I only can work with uploading one image: https://github.com/EricaSkerrett/bme590final/blob/021d9cabf80b1876940676645d831d88177de15a/gui.py#L129 I need to validate filetype that user select and put unzip function + encoder functions here if users want to select a zip file. Outputs will be 1: a list of images name in zip file that I can pass on to my scroll down menu window for user to select the image they want to see. 2: post all images in base64 using encoder function to database
I am using QPixmap object to display images on GUI https://github.com/EricaSkerrett/bme590final/blob/021d9cabf80b1876940676645d831d88177de15a/gui.py#L181 and https://github.com/EricaSkerrett/bme590final/blob/021d9cabf80b1876940676645d831d88177de15a/gui.py#L350 It will be tricky if I need to deal with base64 images. I need to incorporate decoder function into display images functions. The challenge is to make base64 format into QPixmap object.