I think you make the best python tutorials on KZbin.
@emmanuelmtera59365 жыл бұрын
umepata ufunuo, i think you should make a class on python for android apps
@yuzhenwang81035 жыл бұрын
I think so. better than most I've watched
@veitkoch37844 жыл бұрын
@@emmanuelmtera5936 Lakini amepata ile ufunuo kutoka wapi?
@emmanuelmtera59364 жыл бұрын
@@veitkoch3784 well i dont know, but he teaches well
@veitkoch37844 жыл бұрын
@@emmanuelmtera5936 Na kweli, anaeleza safi kabisa. Ana sauti nzuri pia.
@Gigolas885 жыл бұрын
4 years later and it's still relevant. Thanks alot!
@nasifshah56913 ай бұрын
8 years*
@VasuDeo.S-dt4ts5 жыл бұрын
Awesome Video. Just a little rectification. The "L" mode that you used for converting your image into black and white, is actually for converting an image into greyscale. A black and white image only consists of 2 colors (Black & White) and the image that you converted had several shades of grey(0-255). For Converting an image into black and white you have to use "1" mode which stands for 1 bit per pixel which truly resembles a Black & White image, use that in disabled dither mode to actually see the black and white image otherwise you will see you image with grainy noise. You can sort of see this just by looking at the image, a black and white image should just contain black and white not any other color.
@user-ph2bc8kc6c5 жыл бұрын
I just love the super detailed explanations accompanied by writing the code. Really amazing work here Corey and I hope you'll make more videos about Python libraries and common misunderstanding developers have. Big thank you!
@krisbaek5 жыл бұрын
Came for Python stayed for the puppy
@Gamer01274 жыл бұрын
I was scrolling to the comments about to type the same exact sentence
@ksrajavel4 жыл бұрын
My mindvoice : What in Python does Corey Schafer doesn't know? Best Python instructor on KZbin. Hope you can start some Udemy courses, Corey. People will be flocking towards your course.
@ednawatirainarli7205 жыл бұрын
thanks God, I found your channel. Actually, I'm a beginner in python. Your explanation is simple and understandable. Thank you
@scorcism3 жыл бұрын
6 years also
@georgesd94 жыл бұрын
So this is what I do, I open one of Corey’s tutorials, hit like, then watch the video, thank you Corey for the great content you are providing, much appreciated
@ahmed6348996 жыл бұрын
I would like to thank you from the bottom of my heart for this tutorial
when I want to find some good knowledge about some python topic , the first thing i do is to find if Corey has it in his channel . so good
@lightninginmyhands48785 жыл бұрын
You will be a legend in Python history.
@lydiafritz56742 жыл бұрын
Excellent. Your pacing is terrific - direct and to the point.
@user-pt4vn5hr2z5 жыл бұрын
Cory, i love your videos. it help me a lot with my projects. in a few months i learned python.
@arceniocornejo67796 жыл бұрын
Simple and straight to the point. Thanks.
@smolboislayer83393 жыл бұрын
Best python tutorial on KZbin. You are simply amazing 😀
@scorpy19713 жыл бұрын
Fantastic. Crisp. Clear. Precise. Thank you!!
@SoSo118 ай бұрын
Straight forward and well explained Amazing video 👍👍
@salarghaffarian49144 жыл бұрын
You are the best instructor! Thanks for your valuable videos.
@GeorgeFoxRules Жыл бұрын
You are very good teacher by the way
@asma-pe3rx6 жыл бұрын
The best python teacher...
@queensofthedthrone82678 жыл бұрын
How are you running your command? Each time you do it you click off-screen and bang, the program works! I have to terminal each and every time. It seems like you're using Sublime Text, or something formateed very similar. Very interseted in this answer and in watching more of your videos because...this one was the best programming video I've ever seen yet.
@coreyms8 жыл бұрын
Hey there. I'm not clicking off screen, I'm just pressing Cmd+b. That is how you run code within Sublime Text. There are several other ways we could execute it via the terminal, but this is how I usually do it in my videos. Thanks for the question.
@donsanjino7 жыл бұрын
I'm using pycharm. It similarly uses Cmd+r to execute code. If you have to use terminal every time, you can maybe try out pycharm. There are two free versions: community (PC), and Education (PE).
@maheshrenganathan21275 жыл бұрын
Dear Corey Schafer, Thanks a lot for all of your Python tutorials. I am basically from science background, however, i am able to do python code in data analytics field. You are just amazing in teaching those. Then, I request you to make one video about HyperSpy and spectral python package's application.
@asmadja512 жыл бұрын
you have the blood of a genius! thank you man!
@Bangjamal19 күн бұрын
very informative video buddy highly appreciat your work
@gnypp455 жыл бұрын
A great video for me to get started with this library. Thanks!
@df61485 жыл бұрын
I like it. Going to have to learn more about the OS feature and how to loop through files and such without destroying my own directories lol but this looks like exactly what I will use when I have a better understanding of how that part works. Thank you
@coreyms5 жыл бұрын
I have a video on the OS module as well if you'd like to learn more about that in-depth. You can search for it on my channel
@df61485 жыл бұрын
@@coreyms Awesome Thanks a lot!
@qwe1237277 жыл бұрын
Corey, I wish you could talk about byte datatype and its usage at low level stuff(like windows/unix files). I think, your intro stuf with this series will avoid me reading "dive into python" book
@EduardoAndreePS Жыл бұрын
All your videos are amazing, thank you for making content like this!
@lydiafritz56742 жыл бұрын
Oh - and packed with terrific information.
@michaelmoore75682 жыл бұрын
good sir. Your videos are a gift from god
@xingnanzhou86283 жыл бұрын
thanks for sharing this. really help me learn the basic idea of coding!
@edchelstephens2 жыл бұрын
Excellent tutorial! Thanks Corey!🙏
@heshankumarasinghe31594 жыл бұрын
Thank you for the video..... This vid is entertaining and helpful at the same time......
@MatthewStidham5 жыл бұрын
Super helpful, thank you!
@tonyt33366 жыл бұрын
Excellent tutorial! Thank you!
@anwarroba65747 жыл бұрын
Clear and precise! thank you
@TheMarbo743 жыл бұрын
Great video.. as usual! I'm concerned about the following note found on the Pillow website: "Pillow and PIL cannot co-exist in the same environment. Before installing Pillow, please uninstall PIL." Is PIL pre-installed on the default Python installation? If yes, how do we do that? Thanks
@shahriarkeshvary14595 жыл бұрын
Great video but I have question. I looked around a lot to figure out a way to convert a 'jp2' image to something else. Apparently 'PIL' library does not support this format. I also tried the 'matplotlib' and that one did not work as well. do you have any recommendation to how convert a 'jp2' format to a 'mpeg' or 'Jpeg' using python? I really appreciate the help.
@HaguDeGozaru8 жыл бұрын
Thanks for this concise demonstration.
@nimrataneem91824 жыл бұрын
This is one of the best tutorials i came across and explanations are also very clear! I have a small problem though cuz when i tried to do the reverse, that is, convert png to jpg it wasn't working and was showing error. how to i solve that?
@BarziniNwa2 жыл бұрын
8:23 you had a chance to make a joke about the spartans
@TheMarbo743 жыл бұрын
Hi Corey, Any chance we would see some Open CV in the near future?
@krucy226 жыл бұрын
Really simple. easy to understand. Thanks a lot!
@iqbalhonnur44513 жыл бұрын
Nice tutorial, is there a way to highlight only certain words in pillow?
@Heloin426 жыл бұрын
fantastic tutorial, thank you!
@Polydipsic212 жыл бұрын
Corey not only knows how to make python tutorials fun to watch, he also singles out all the best tools a python programmer ever needs. I'm proud to live in an era in which I can watch guys like him. Good job bro. ☫
@OkyCapriatto2 жыл бұрын
accurate.
@RandomShowerThoughts6 жыл бұрын
its incredible how python makes our lives so much easier lol
@bjmaynard017 ай бұрын
Hey, not sure if you get these, but I would love for you to breakdown how to read documentation
@abrahamofek44853 жыл бұрын
Very very helpful, thank you very much !!!
@ashrafulatik89783 жыл бұрын
Hi. Thanks for sharing. Do you prefer Autoretouch, an AI-powered image editing tool to automate ghost mannequins, clipping path, background removal, etc. image editing process? I found it super cool and easy to operate. Need your opinion regarding this.
@hailyslone78173 жыл бұрын
Do you know why an image would have missing pixels when using PIL? and how I could fix this? thanks!!
@sheebastanley35534 жыл бұрын
when you added size_700, how did you change all three 300s at the same time?
@Infusca3 жыл бұрын
I am wondering the same thing
@osiris11023 жыл бұрын
Press alt while selecting
@JordanMQ256 жыл бұрын
I line for line have the exact same code and it will crop the image, but only along one axis. Original was 1024x768. New image is 300x200
@therabidpancake15 жыл бұрын
I am very appreciative that you are doing a tutorial on this but I am pretty sure you can do this without using other libraries. I could be wrong .
@LaunchpadMediaGroup14 жыл бұрын
do you know a way to create a new folder within the code as well? I want to create a template script I can use and generate a directory of folders in the process of creating the image variations. Another question is can you put a black or white background on a jpg being created from a transparent png?
@nulluser05 жыл бұрын
great tutorial, and i've seen many. cheers!
@cartoonjerk7 жыл бұрын
Thanks a lot for the detailed tutorial. I am wondering if you can do one on the Python 3 version as it is quite different than the one you showed here. Still regardless thanks a lot! It really helps as a start. Also I am using a windows platform, do I still need that os.listdir code? Thanks!
@DanielWeikert8 жыл бұрын
Great video. Is there a way to tell python to go to a webserver, login and enter the folder to change the files there or does this only work locally? Thanks
@coreyms8 жыл бұрын
I'm sure there are ways you can do that. Is this a webserver you have access to? If so, it may be worthwhile to install python on that server and maybe run a cron task to do what you want on a regular basis. I'm not sure of your usecase exactly, but we do things like that at my work a lot. Hope that helps. Thanks.
@richardfinney25486 жыл бұрын
Thank you so much!!! Awesome tutorial and very much appreciated :)
@DANJUMA98 жыл бұрын
Awesome, was looking for this. Thanks.
@lionpersia7 жыл бұрын
I looked up online but I couldn't find it. The method PIL.Image.getpixel(x, y) is 0-based or 1-based? I mean, do the coordinates start from 0 or do they start from 1? Thank you in advance.
@ziadawwad91007 жыл бұрын
0,0
@Dennis-gg9yv5 жыл бұрын
I used pip install and it's worked without any problem lol
@rpattnaik20006 жыл бұрын
Very Very helpful videos man .... Keep them coming :)
@ErnestGWilsonII6 жыл бұрын
Another great video, thank you for making this and sharing it with all of us! Following along this video and referencing another video that you made, would it be advisable to make a context method for doing image manipulation? One of your previous videos uses something you call a context method for opening and closing files, but in that video you mention a context method could be created for various other tasks, I am wondering if this image manipulation would be applicable?
@saidalkharusi78244 жыл бұрын
Thank you, sir!
@sameenashaikh_296 жыл бұрын
Hi, Can you do a video on using piexif library for images to geotag gps data to the images through python programming. Would really appreciate that. Your videos are clear and easy to understand.
@rahulrjb3 жыл бұрын
warning this in 2021, in the midst of a pandemic. who would have thought!
@hubertcombomarketing26934 жыл бұрын
Good as always. Thanks.
@jonasjeron14754 жыл бұрын
THANK YOU A LOT!
@satycse066 жыл бұрын
Hi Corey, Do you know how to take the partial screen shot of any image or any URL. How to crop?
@bilalshah89894 жыл бұрын
You explained each and every thing very well
@anilgupta-dy1oj6 жыл бұрын
thanks a lot , this is very helpful videos.
@lukabotic4 жыл бұрын
Thanks and you have a fine looking dog, and Im usually a cat fan
@gokulhbk3 жыл бұрын
How can I use PIL to create multiple PNG images as combinations of PNG images from a holder. You can imagine it as simple as a random avatar generator ( Face+Hat+Clothing+Shades)
@degenerationx125 жыл бұрын
Hey there, great tutorial! One small question: How did you manage to do the awesome trick just around 10:00, where you changed 300 to 700 but only some and not all of them?
@maxm15874 жыл бұрын
command + D if you are using macOS but it only works in some text editors
@jeffkirchoff144 жыл бұрын
U can do that if u r using VS code.........Just Click On the First Variable and Hold Alt and the click to the other.....
@florinracoveanu17728 жыл бұрын
Hi! What code shall I use, in Python when I have to check automatically like 400 high resolution photos(RGB,thermal,and daylight)? The program shall detect sub-milimmiter anomalies(like small cracks) inside of each photo,if any,if not should scan the next one,etc.Exemple of inspection:wind turbines,flare stacks,etc. Thanks in advance, Costel
@WesleySatelis8 жыл бұрын
+FLORIN RACOVEANU I guess you're gonna have to figure that out, isn't that what programming is supposed to be? pypi.python.org/pypi/PIL this might be a good way to start. Happy coding!
@SA-oj3bo3 жыл бұрын
from PIL import Image im = Image.open("photo.jpg") => not works on raspberry pi, Do you have any idea how to solve this? xli seems possible but the quality is terrible.. Thx!
@bradchen93173 жыл бұрын
this is an excellent tutorial!
@sapkotanischal10544 жыл бұрын
thanks brother, a lot of information :)
@slimyelow5 жыл бұрын
great intro Thanks !
@KaranSharmaIsHere7 жыл бұрын
Sir, how to change aspect ratio as well. thumbnail(size) only change size and that to a limit that don't change the aspect ratio of the image so, how can we ensure that all images have same aspect ratios and a uniform size(like 300 x 300 and not something like 300 x 250 )
@SamoanKiwi3 жыл бұрын
bro youve helped me so much. Cheers
@AmitMishra-bt9vu4 жыл бұрын
Can we make the image to reduce in specific kb.I mean reducing the file size?
@study_with_thor3 жыл бұрын
how clear is it!
@rutujamedhekar3274 жыл бұрын
I liked your video.I am struggling with filter,'ImageFilter.Color3DLUT'. Please provide me with an example
@pavanbavirisetty97244 жыл бұрын
If i gave a size (width,height) in (20,20) the frame is occupying a gray color at the borders
@iamgroot13282 жыл бұрын
I want to know how to open images which are in different directories C// dell /users like that it didn't work for me
@trikkee11 ай бұрын
Thank you !
@malcolmvanorder54535 жыл бұрын
I know it's out of scope for this video, but if someone were using windows and duplicated your steps exactly, the "/" wouldn't be correct. Since you've already imported os, you can use os.path.join() as a platform agnostic way of building the path to the files.
@jonathanarias27293 жыл бұрын
great! a great image editor!
@tapasrakshit62494 жыл бұрын
do you make 2nd video on pil, if so can you tell how can i blur a specific area of the pic. For Your pup pic i want to blur only the house, how can /I do that
@jbGraphics_7 жыл бұрын
Excellent tutorial, very clear. Thank you +
@bolusaniakhil3072 жыл бұрын
Would you please tell that where you running the code is it on jupyter notebook or any other
@pythonicd12393 жыл бұрын
Amazing tutorial! but I tried to change the size of an image ( image1.thumbnail(size_300).save('Resized_Image.png') ) it said that none type object has no attribute save
@olehdiatlenko44637 жыл бұрын
I guess it comes handy to make pics smaller. But rotation or color changing much better do with js on frontend part.
@coreyms7 жыл бұрын
That may be true, but I would argue there are use cases for modifying images in this way outside the context of a website.
@128Gigabytes7 жыл бұрын
Hey Corey is it possible to create new images using PIL instead of just editing?
@EfyaDiamond4224 жыл бұрын
Please if you’re using images in different location, how do you go about them?
@hadleytaylor69503 жыл бұрын
At around the 6:25 point in the video I get """ fname, fext = os.path.splittext(f) AttributeError: module 'ntpath' has no attribute 'splittext' """ In the shell window. Any ideas on what I have missed?
@hadleytaylor69503 жыл бұрын
2 t's in Splitext. oops
@borgyoh5 жыл бұрын
i keep getting a file not found error. i copy the direct path in my mac and the image still doesnt show up. help!
@accountmanager54075 жыл бұрын
same..., did you find out how to do it?
@psclip33094 жыл бұрын
can i make basic image editor in web using this phyton pil through django, image editor function image transform, snapping, adjustment