Thumbnail Max Quality

imagejpeg($new_image, $thumbfile, 100);