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: 286
Solved Threads: 216
Occupation: Genius
Offline 2,380 posts
since Sep 2007