Page 1 of 1

from png | jpeg to jpg

Posted: Thu May 05, 2005 5:55 pm
by ddragas
Hi all

how to create from any file that was uploaded a file with jpg extension

if uploaded file has png or jpeg extension, save that file with jpg extension

if uploaded file has jpg extension, leave it as is

Posted: Thu May 05, 2005 9:50 pm
by John Cartwright
You might find imagecreatetruecolor usefull.