php Image processing (convert jpeg to png or gif or wbmp)
===

The situation is like this :
A server returns me a picture which is in jpeg format. Now I have to do some processing on the image (like writing caption on it,..). Since **my server does not support jpeg**, I want to convert it to a format that my server supports(png,gif and wbmp). How can I convert the image returned by the server into png/gif/wbmp format without using `imagecreatefromjpeg` ?