In "image_utils.php" file, edit the following line
".$quality." -antialias -sample $width"."x"."$height \"$src\"
Change the word '-sample' to '-geometry'
".$quality." -antialias -geometry $width"."x"."$height \"$src\"
You will get brilliant quality.
Sam