I am using the functions
imagecreatetruecolor
imagecopyresized
to resize images that have been uploaded. But the images don't look right when they are re-sized.
What functions do you need to use to re-size the image so it looks like it has been re-sized in photoshop?