check is case insensitive finallythe logo added to the bottom-right corner is meant to be just small markbut if the image is about the same size as the logo itselfthe result will look like figure - modify resizeandaddlogo py so that the image must be at least twice the width and height of the logo image before the logo is pasted otherwiseit should skip adding the logo figure - when the image isn' much larger than the logothe results look ugly identifying photo folders on the hard drive have bad habit of transferring files from my digital camera to temporary folders somewhere on the hard drive and then forgetting about these folders it would be nice to write program that could scan the entire hard drive and find these leftover "photo folders write program that goes through every folder on your hard drive and finds potential photo folders of coursefirst you'll have to define what you consider "photo folderto belet' say that it' any folder where more than half of the files are photos and how do you define what files are photosfirsta photo file must have the file extension png or jpg alsophotos are large imagesa photo file' width and height must both be larger than pixels this is safe betsince most digital camera photos are several thousand pixels in width and height as hinthere' rough skeleton of what this program might look like#python import modules and write comments to describe this program for foldernamesubfoldersfilenames in os walk(' :\\')numphotofiles numnonphotofiles for filename in filenamescheck if file extension isn' png or jpg manipulating images