I know this is everyone's favorite topic
So here it goes, i need to create a thumbnail code that will convert all my images to smaller versions and to PNG's.
So far i have seen the getimagesize function in the manual that will get me the height and width of the image, but i can't find the function to actually create a new image from this one and then re-size it.
I have also seen imagecreatefrompng(), but this will only work if the image i want to re-size is .png