Update php_image_magician.php

changed resizeImage:
added set height and width of original img size after resizing to avoid of incorrect padding calculations after resize