This class can be used to perform several types of image manipulation operations.
It can:
- method hexColorValid #rgb #x #xx jms --> #rrggbb
- method map_PHPOCTHEX($input,'phparr|phphex|webhex|webrgb')
to convert and use several color description formats
php array, html rgb(r,g%,b)
- Load images from file or data string or object
- Rescale images to a given width and height
- Save manipulated images to a given path and image format
- Generate an HTML table mapping image pixels to table cells
- Crop an image from a given position and size
- Rotate an image by a given angle
- Draw a rectangle with a given size with a gradient between two colors
- Draw a radial with a gradient between two colors
- Convert image to color or grey scale