Negative_Image_Screen module

class Negative_Image_Screen.Ui_Background[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(Background)[source]

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

setupUi(Background)[source]

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