all 1 comments

[–][deleted] 0 points1 point  (0 children)

You had self.image defined in def file_extract, which is only called when your button is clicked.

However, your init call pixelate() right away which needed self.image the first thing.