Using the whole timthumb script, which being saved as sized.php file in the theme directory, you will be able to resize image.

Snippet Source/Credit: Binarymoon