title: Fast loading and display of images in python (Utilizing Libjpeg Turbo in Python?)
body: <p>I am currently creating an image viewer in python using Tkinter and PIL, but I want the image loading to be quicker. Therefore I would like to know how I could install and utilize Libjpeg Turbo with Tkinter and PIL, or even if I should use a different GUI toolkit like pyQT or a different imaging library (I found something called OpenCV?).</p>
  
  <p>So essentially what is the best and fastest way I can load, resize, and display a large image in python?</p>
  
  <p>EDIT: 
  I believe the main bottleneck is image resizing, it is visible, but before that it is the image loading itself. I can not tell for sure though because I don't know how to measure such a thing as I am essentially a python newb.</p>
  
  <p>And what I am doing is basically a minimalistic image viewer. If you want to see my code it is here: <a href="http://pastebin.com/fwf8b0cU" rel="nofollow">http://pastebin.com/fwf8b0cU</a></p>
  
  <p>EDIT 2: I have run through cProfile a bunch and have fixed some code, and fixed some slowness. So now my question is essentially should I be using another GUI toolkit like pyQT or a different imaging library (I found something called OpenCV?).</p>