CodeIgniter Image Manipulation class lets us resize image, create thumbnail, crop, rotate and watermark images.
This tutorial shows a simple way to upload and watermark an image. Watermarking is only available using the GD/GD2 library.In addition, even though other libraries are supported, GD is required in order for the script to calculate the image properties. The image processing, however, will be performed with the library you specify.