- initial import
- initial import
git-svn-id: https://siedziba.pl:790/svn/repos/php-imlib/trunk@7 455248ca-bdda-0310-9134-f4ebb693071a
<?php
$im = imlib_load_image('test.jpg');
$im2 = imlib_clone_image($im);
imlib_apply_filter($im2,"colormod",array('contrast'=>2));
imlib_apply_filter($im,"bump_map_point",array('map'=>$im2,'depth'=>500,'x'=>100,'y'=>200,'z'=>20));
imlib_apply_filter($im,"colormod",array('brightness'=>0.3));
imlib_apply_filter($im,"php_tint",array('red'=>255,'green'=>0,'blue'=>0,'alpha'=>40));
Header('Content-type: image/jpeg');
imlib_dump_image($im);
imlib_free_image($im);
imlib_free_image($im2);
?>