Up_Sampling_Image_Screen module

class Up_Sampling_Image_Screen.Ui_Dialog_1[source]

Bases: object

File_Select()[source]

Main Logical function which does the following: 1. Helps user in choosing input for image file (supported file formats - .jpg, .jpeg, .gif, .png) 2. Error handling if user doesn’t choose supported file. 3. Displays the image onto the GUI label layout (if size exceeds, then scroll bars appear in the Label). 4. The user can Save the generated image in the directory they want on the machine.

Save_Directory()[source]

Helps in saving and writing the image in the directory the user wants to save in.

retranslateUi(Dialog)[source]

Setting the UI layouts and components - labels, textfields, pushbuttons, etc. Also adding functionality for redirecting buttons to respective functions on being clicked.

setupUi(Dialog)[source]

setupUI defined for the screen auto-generated by the PyQt5 editor.