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);
How useful was this post?
Click on a star to rate it!
Average rating / 5. Vote count:
No votes so far! Be the first to rate this post.
We are sorry that this post was not useful for you!
Let us improve this post!
Thanks for your feedback!