I'm working on a website that will handle image uploads so I need to verify for valid images, and I have two options, I either use PIL(Pillow) or the imghdr module.
My question is, which one should I use? Since PIL is not being mantained will imghdr module do the job? Which of them is secure and/or efficient?
Thanks.