There are several ways of doing it. The most common being using gd although the gd library is a tiny library that handles very few file formats. I would recommend using the imagick library and this can be viewed on the
php documentation.
Reputation Points: 410
Solved Threads: 258
Occupation: Genius
Offline 3,003 posts
since Sep 2007