Aug-22-2018, 05:48 PM
Thank you so much, that works beautifully on its own. I have another question. I have a class (shown below*) that I am trying to implement this class in. While the CreatingFinalImage() function is running, I want this progress bar to run. How can I do that?
*Note: I only showed a snippet of my code as it is 1100 lines long
*Note: I only showed a snippet of my code as it is 1100 lines long
class Window(Frame): #Frame is something inside of tkinter def __init__(self, master = None): Frame.__init__(self, master) self.init_window() def CreatingFinalImage(self): load2 = Image.open(self.picture1) #open the image blur = load2.filter(ImageFilter.GaussianBlur(radius=self.blur.get())) #this is a blur function, it makes the spots in the image diminish brightness = ImageEnhance.Brightness(blur) brightness = brightness.enhance(self.brightness.get()) #this is a brightness function, it brightens the image obviously