Get going quickly
Here are a few quick steps to get going with CImage and to get a basic understanding of how it works.
#Check out the test page
There is a test page with a set of examples. Try it out by pointing your browser to the test file
webroot/test/test.php. It will show example images processed in various ways and you can review how they are created.
#Process your first image
Try it yourself by opening up an image in your browser. Start with selecting an image with the mandatory
The try to resize the image to a thumbnail by adding the following options that define a width, height and crops the image to fit into the imaginary box, defined by the width and height options.
This is the basics. You start by selecting an image source and then apply options for resize and processing the image.
webroot/test contains a set of testcases that you can review to learn how to use CImage.
webroot/compare contains a compare tool you can use to visually compare images. Use this tool and overlay the images to find out how the processing options affect the image.
You can try out the compare tool through
It can look like this when you stack images over each other to make comparison easy.