tags:

views:

51

answers:

2

How can I convert from 3 different image format gif , png and bmp to single jpeg format using PHP?

Pls help.

+2  A: 

See the GD library.

Load the images using:

Save the image using:

Though, GD doesn't support BMP. You may also have a look at phpThumb() (particularly phpthumb.bmp).

Gregory Pakosz
+1  A: 

Hello Pranjali,

Have you checked google.com at all? After some looking on it I found several links that might help you.

http://us3.php.net/imagecreate

Is one of them. Try looking yourself :).

Younes