 Hey everyone! Welcome back to the Python Image Library Module video tutorial series. That never gets old to me, and in this video we're going to be checking out the transpose function. Now the transpose function lives inside of our image object, like just about all the functions we've been looking at, and what it does is it returns a flipped or rotated copy of the image that you're working with. Now this is kind of cool because you can flip the image horizontally or vertically, and it can rotate things 90 degrees or 80 degrees or whatever the case may be. You can use of course the rotate function, which we've seen before, to get things other than 90 degrees and 180 degrees, but if you just want simple static stuff you can use the transpose function. But remember the rotate function can do other angles than than simply those. So like I said the image transpose function will return a copy of the image you're working with, so if you want to kind of overwrite the image you're working with, you do have to set image to equal image dot transpose. Now okay, so the constants and the data that we need to pass to the function, the actual method, are kind of flags and constants that live in the image module. So I'm using the big capital I here, it's in the module itself. So let's try flip left right. These are all capital letters and separated by underscores, and what this does is of course flips the image horizontally. We can do the same thing with, let me get to top bottom, run this code. Now it's flipped upside down, flipped vertically, and of course we do have rotate 90, rotate 180, rotate 90, run this, you got that rotated image, and rotate 180, simple simple stuff. Oh I should remember to run the code, that would help. Here we go, and rotate 270. So cool. So that's all that it simply does. I find this kind of handy for the flip left and right and top and bottom though, because being able to quickly flip an image horizontally or vertically is kind of nifty, and that's all it takes to transpose function in the image library. So thanks for watching guys, hope you enjoyed this tutorial, super simple, super easy, and man that's all this library is. So thanks again guys, I'll see you in the next tutorial.