ignore .pyc files
function to crop and resize images