Last commit for examples/imlib_ext_filters.php: d0a9b9a03fc7ae74ef8a64593ac6b592526ec4d5

- initial import

pp [2004-05-19 04:59:31]
- 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);

?>
ViewGit