self.image = gtk.Image()
self.response = urllib.request.urlopen('http://192.168.1.11/video/1024x768.jpeg')
self.loader = gtk.gdk.PixbufLoader()
self.loader.set_size(200, 100)
self.loader.write(self.response.read())
self.loader.close()
self.image.set_from_pixbuf(self.loader.get_pixbuf())
self.window.add(self.image)
self.image.show()
self.window.show()

def main(self):
    gtk.main()
if __name__ == '__main__':
    MainWin().main()
Scale an image in GTK