- Simplified Chinese
- Traditional Chinese
iMageMaker is powerful image processor for php. The library can be implement in all frameworks, systems or scripts. Have alot of options and is design to be easy to use.
The code is extremly easy to read and write:
//First we include the library include '../imageMaker.class.php'; /* * Then initialize the class * Params: width, height, background_type, background_color, image_path * Then initialize the class */ $image = new ImageMaker(533, 400, 'solid', '#fff', '../images/flower.jpg'); //Build new image to create watermark. Param: image_path $image->new = $image->buildImage('../images/logo.png'); /* * Then position the new image somewhere in the main photo * Params: main_image, new_image, width, height, postion_array, from where to count the posiotion(bottom/top, left/right) * Then initialize the class */ $image->positionImage($image->image,$image->new,150,40, array(-5,-5),array('bottom','right')); //And finally show the image $image->show($image->image);
24 September 12
IE6, IE7, IE8, IE9, Firefox, Safari, Opera, Chrome
PHP 4.x, PHP 5.x, PHP 5.0 - 5.2, PHP 5.3, jQuery