can use imagecreatefromjpeg for other image format in same time? jepg, gif, png ect.
AFAIK, it is not possible to create since the name of the function itself says that this function is only for JPEG. But still you have other different functions like imagecreatefromgif, imagecreatefrompng, imagecreatefromwbmp, etc. For others browse the PHP manual.