Last change
on this file since 3079 was
3079,
checked in by nico, 12 years ago
|
Add php binding for functions:
pipi_dither_ordered_ext, pipi_dither_halftone, pipi_median_ext, pipi_median,
pipi_threshold, pipi_box_blur_ext, pipi_box_blur, pipi_get_command_list
Add sample program "examples/example1.php"
|
File size:
249 bytes
|
Rev | Line | |
---|
[3079] | 1 | <? |
---|
| 2 | //print_r(pipi_get_command_list()); |
---|
| 3 | |
---|
| 4 | $img = pipi_load_stock("random:128x128"); |
---|
| 5 | $img = pipi_gaussian_blur($img, 10); |
---|
| 6 | //$img = pipi_box_blur($img, 30); |
---|
| 7 | $img = pipi_contrast($img, 0.98); |
---|
| 8 | $img = pipi_tile($img, 256, 256); |
---|
| 9 | pipi_save($img, "out.png"); |
---|
Note: See
TracBrowser
for help on using the repository browser.