Use PHP to convert PNG to JPEG
<p>I have a website where users have been uploading a bunch of high quality PNG files. I want to use PHP to convert them to JPEG and re-size them to make them smaller in file size.</p>

<p>How can I do this when they upload the file? What is the process for doing this? Is a new image created or is it edited? </p>

<p>Thanks</p>
