gd_resize now uses both resize functions and compares the results.