I want to modify wordpress's core files to get a desired result for cropping and saving uploaded images. However, i can't find the function that handles the uploaded images and crops, renames and saves them.
I thought this function may have something to do with thumbnails :
Can anyone help me which file and function does this? Thank you