views:

26

answers:

2

Hi! In my web app users are allowed to upload images as their photos. How can I convert different image extensions to JPG? Input files are JPG, PNG or GIF.

A: 

You can use PHP GD.

Svisstack
A: 

Personally, I prefer Image Magick over GD. It's a lot better if you're dealing with large images too; you can run into memory allocation issues with GD.

BBonifield